First time here? Checkout the FAQ!
0 votes
by (160 points)


I generated a dynamic Courtemanche model to run tissue simulations. After restoring the prepacing state and running a new pacing protocol I get the following error:

Saving state at time 2279.000000 in file: 2021-01-26_PEERP/point_7830/beat_0/state.2279.0.roe

Error, failed to open file: "2021-01-26_PEERP/point_7830/beat_0/state.2279.0.roe"!

No such file or directory


Primary job  terminated normally, but 1 process returned

a non-zero exit code. Per user-direction, the job has been aborted.



mpiexec detected that one or more processes exited with non-zero status, thus causing

the job to be terminated. The first process to do so was:

  Process name: [[13503,1],1]

  Exit code:    1


Would you please be so kind as to help me solve this error? 

Thank you so much for your support.

Best wishes,


1 Answer

0 votes
by (1.3k points)


Does the directory


exist when you run the simulation?

by (160 points)
Hi Aurel,

Yes, the folder is there but no file is created.
by (1.3k points)
I see. The issue is, that you provide a path relative to your working directory. openCARP expects a path that is either absolute, or relative to the output directory (i.e. what you specified in simID). As such, it tries to open the path


With the latest commit (cd8119b8), I have changed the error reporting to always display the *absolute* path of the file that openCARP failed to open. That way this kinds of errors should be easier to detect.
Welcome to openCARP Q&A. Ask questions and receive answers from other members of the community. For best support, please use appropriate TAGS!
architecture, carputils, documentation, experiments, installation-containers-packages, limpet, slimfem, website, governance