Ask Your Question

ERROR : File not found.

asked 2022-07-08 11:22:58 +0200

this post is marked as community wiki

This post is a wiki. Anyone with karma >5 is welcome to improve it.

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? C:\fakepath\


edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2022-07-08 16:05:13 +0200

andres gravatar image

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"
edit flag offensive delete link more


Thanks Andres. Indeed changing the directory works.

ify gravatar imageify ( 2022-07-08 17:13:39 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2022-07-08 11:22:58 +0200

Seen: 49 times

Last updated: Jul 08 '22