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/)
-   -   foamJob 'pimpleFoam' not found (OpenFOAM-v1812) (https://www.cfd-online.com/Forums/openfoam-solving/219883-foamjob-pimplefoam-not-found-openfoam-v1812.html)

SGWANG August 13, 2019 08:23

foamJob 'pimpleFoam' not found (OpenFOAM-v1812)
 
Hi everybody.

I have a problem submitting a mpirun mission to the cluster. I have installed openFoam-v1812 in centOS. Now I am trying to do a mpi running on the cluster.

I used the command in mpi.sh file
Code:

mpirun -v -machinefile $TMPDIR/machines -np 8 /home/cfd06/OpenFOAM/OpenFOAM-v1812/bin/foamJob pimpleFoam -parallel > log.pimpleFoam
And got the error 'pimpleFoam' not found.

But if I used the command directly on the shell
Code:

mpirun -np 8 pimpleFoam -parallel
It would work.


Update:

Well, I solved this error with a new one came.

/home/cfd06/OpenFOAM/OpenFOAM-v1812/platforms/linux64GccDPInt64Opt/bin/pimpleFoam: error while loading shared libraries: libmpi.so.1: cannot open shared object file: No such file or directory


Does any one have an idea ? I have been fighting for this error for a long time...

Thank you!

sufjanst August 14, 2019 03:40

When I start openFOAM on our cluster, I have to load the GCC-Compiler and the OpenMPI module before I load OpenFOAM.

Maybe you have to do that as well.


Second, depending on you PBS system you run-command can vary from the tutorials. On our cluster the run-command in the script is:



mpirun pimpleFoam -parallel > logfile


The machine specifications are taken from the PBS script automatically.


All times are GMT -4. The time now is 03:43.