CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   foamlog error while batch submission (https://www.cfd-online.com/Forums/openfoam-solving/166738-foamlog-error-while-batch-submission.html)

akuma February 16, 2016 01:21

foamlog error while batch submission
 
Hi everyone!

I am a beginner to OpenFOAM and I wanted to run a sample case in batch mode (in university supercomputer).

I loaded the relevant modules and also loaded swak4FOAM for the case to be run and the job file was edited appropriately.

However my job terminated almost immediately giving out this error.

/opt/torque/4.2.9/spool/mom_priv/jobs/229371.master.cluster.SC: line 33: foamLog: command not found


Any insight on this error will be appreciated.


The job script file main content is as follows:

### run simpleFoam - steady RANS solver
mpirun -np $PBS_NP simpleFoam -parallel 2>&1 | tee log.simpleFoam
foamLog log.simpleFoam


All times are GMT -4. The time now is 00:53.