I have been able to run several scripts before. I upgraded my system to ubuntu 20.04 LTS and I checked the entire installation of openCARP (pulling recent versions, building and compiling dependencies, installing all the libraries). The installation process seemed to be finished without errors, except that I can't run my scripts anymore.
When I run the python script, I get this error:
application called MPI_Abort(MPI_COMM_WORLD, 50176059) - process 0
[unset]: write_line error; fd=-1 buf=:cmd=abort exitcode=50176059
system msg for write_line failure : Bad file descriptor
After this, I checked the petsc_error_log and I ran it again with option --platform marconi_debug. This gave me the following information:
Traceback (most recent call last):
File "./run_block.py", line 703, in <module>
File "/home/u0132269/Prog/openCARP/carputils/carputils/tools.py", line 509, in wrapped
File "/home/u0132269/Prog/openCARP/carputils/carputils/job/job.py", line 162, in submit
raise Exception('Must specify runtime when running on batch system')
Exception: Must specify runtime when running on batch system
It seems like in the source code, runtime = tpl.format(settings.cli.runtime), is being called and that this returns a NoneType object that is being used later and throws the error.
However, I cannot find in the documentation where and why I should specifiy the runtime. What can I do to fix this error?
Thank you in advance!