CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Running, Solving & CFD (
-   -   openfoam spawning (may) extra processes (

LM4112 July 17, 2013 10:31

openfoam spawning (may) extra processes
Dear all,

I am trying to run a code using 32 cores (2x16 cores nodes). After roughly 50 steps the PBS system kills my job:

=>> PBS: job killed: ncpus 16.92 exceeded limit 16 (sum)
mpiexec: killing job...

I have tried to request 32 cores but use for example 26 cores and it doesn't fix the problem. My run script is:


#PBS -l walltime=24:30:00
#PBS -l select=2:ncpus=16:mem=20000mb

module load openfoam/2.1.0
module load intel-suite/10.1

cd /work/lm4112 #change to appropriate directory
cp -r 60mm $TMPDIR #copy case directory to temp folder
cd $TMPDIR/60mm #change directory to temp folder

decomposePar #split domain into 32 subdomains

#run case and re-direct output (log file) to /work directory for run-time checking
mpirun -np 32 simpleFoam -parallel >/work/lm4112/60mm/simulation.log

reconstructPar #put domain back together again

foamToVTK -latestTime #conversion to VTK format

cp -r 1000 VTK /work/lm4112/60mm #copy required files back to /work/case_directory


someone have dealt with the same kind of problem? Thank you

best regards


wyldckat August 16, 2013 08:48

FYI for future readers, this is being addressed here:

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