tutorials icon indicating copy to clipboard operation
tutorials copied to clipboard

Improve error when executing `run.sh` from wrong directory

Open BenjaminRodenberg opened this issue 1 year ago • 2 comments

I think for every (?) run.sh file it is necessary to run it from the folder of the participant (e.g. partitioned-heat-conduction/dirichlet-fenics). Running ./dirichlet-fenics/run.sh from partitioned-heat-conduction is incorrect and results in the error:

ERROR: Could not open requirements file: [Errno 2] No such file or directory: '../solver-fenics/requirements.txt'

Is it possible to improve this error? Basically we have to make sure that we always execute run.sh from its parent directory.

BenjaminRodenberg avatar Dec 12 '24 10:12 BenjaminRodenberg