ERROR : File not found

Hello Everyone,

I encountered this error whenever I try to used CROCO-Nesting run. I already created the necessary files for the simulation without any problem. When I tested the run ./croco > croco.out interactively it works fine. I could see the run going smoothly.

However, since the simulation might take a bit of time, I have to place my simulation on a job scheduler. Using a bash script (see below), I bump into this error:

ERROR : File not found.

Perhaps indicating that the model I used couldn’t find the file This file is located in my run directory and as I said earlier, when run inteactively for testing purpose, works well.

Has anymore encountered this problem? It is a problem from my machine (I attached by job submission script below) or a potential bug?


I think the problem is that the job scheduler “is not” in your working directory. Please try this


### PBS job name

echo "working in $PBS_O_WORKDIR"

# submit your job

./croco > ${PBS_O_WORKDIR}/croco.out


echo "Finish Job"

Thanks Andres. Indeed changing the directory works.

Writing test