CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   Naca0012 k-e mpirun gives fpe whereas simpleFoam not (http://www.cfd-online.com/Forums/openfoam/68443-naca0012-k-e-mpirun-gives-fpe-whereas-simplefoam-not.html)

Pierpaolo September 20, 2009 11:07

Naca0012 k-e mpirun gives fpe whereas simpleFoam not
 
Hi all,
I am running into this weird hitch when trying to run simpleFoam parallel on a NACA 0012 subsonic airfoil
for an AoA different from 0:

1) mpirun -np 2 simpleFoam > log &
stops with error at the fifth iteration apparently with a fpe:

mpirun -np 2 simpleFoam -parallel > log
[0] #[1] #0 Foam::error::printStack(Foam::Ostream&)0 Foam::error::printStack(Foam::Ostream&) in "/home/pier/Open in "/home/pier/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libOpenFOAM.so"
[1] #1 Foam::sigFpe::sigFpeHandler(int)FOAM/OpenFOAM-1.5/lib/linu in "/home/pier/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/lixGccDPOpt/libOpenFOAM.so"
[0] #1 Foam::sigFpe::sigFpeHandler(int)bOpenFOAM.so"
[1] #2 Uninterpreted: [0xffffe400]

... snip ...

[localhost:24755] [10] /home/pier/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libincompressibleRASModels.so(_ZNK4Foam14incompres sible9RASModels8kEpsilon10divDevReffERNS_14Geometr icFieldINS_6VectorIdEENS_12fvPatchFieldENS_7volMes hEEE+0xf6) [0xb7e295f6]
[localhost:24755] [11] simpleFoam [0x805aaa7]
[localhost:24755] [12] /lib/libc.so.6(__libc_start_main+0xdc) [0xb6b6260c]
[localhost:24755] [13] simpleFoam(_ZN4Foam11regIOobject14readIfModifiedEv +0x1e9) [0x8059e01]
[localhost:24755] *** End of error message ***
mpirun noticed that job rank 0 with PID 24755 on node localhost exited on signal 8 (Floating point exception).

2) simpleFoam > log &
runs smoothly without a problem.

Initial U conditions:
... snip ...
internalField uniform (9.9756 0.6976 0);

boundaryField
{
wall
{
type fixedValue;
value uniform (0 0 0);
}
pressure-far-field-1
{
type fixedValue;
value uniform (9.9756 0.6976 0);
}
... snip ...

Thanks for any hint on this,
Pier

aerodung May 8, 2010 03:08

-parallel OF
 
U should write:
mpirun -np 2 simpleFoam -parallel > log &
or
nohup mpirun -np 2 simpleFoam -parallel > log &


All times are GMT -4. The time now is 04:02.