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/)
-   -   Running OpenFOAM on LSF platform (https://www.cfd-online.com/Forums/openfoam-solving/190841-running-openfoam-lsf-platform.html)

DominicTNC July 24, 2017 05:32

Running OpenFOAM on LSF platform
 
3 Attachment(s)
Dear Foamers,

Currently I am trying to run OpenFoam on LSF platform. Even though I have read many reference materials, but I still can't make it works. I really need help on this. Would anyone shed some light on this? Any comments are appreciated. Thank you.

My script is shown below:
<<<<<<<<<<<<<<<<<snappy.lsf>>>>>>>>>>>>>>>
Code:

#! /bin/bash
#BSUB -n 264
#BSUB -q model_queue_high
#BSUB -e openmpi_%J.err
#BSUB -o openmpi_%J.out
#BSUB -R "span[ptile=8]"

export PATH="/usr/mpi/gcc/openmpi-1.3.2/bin:$PATH"
export LD_LIBRARY_PATH="/usr/mpi/gcc/openmpi-1.3.2/lib64:$LD_LIBRARY_PATH"

for i in $LSB_HOSTS
do echo $i >> machineFile
done

source /prod_model/home/R2test/OpenFOAM/OpenFOAM-2.4.0/etc/bashrc

mpirun -np 264 --hostfile machineFile snappyHexMesh -overwrite -parallel > Smesh.log

--------------------------------------------------------------------

And I type
Code:

bsub < snappy.lsf
to submit the job.

All the output message are attached here as reference.
Attachment 57388

Attachment 57389

Attachment 57390

Any ideas? Many Thanks!


All times are GMT -4. The time now is 15:52.