CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   MPI Error - simpleFoam - Floating Point Exception (http://www.cfd-online.com/Forums/openfoam-solving/78550-mpi-error-simplefoam-floating-point-exception.html)

scott July 25, 2010 20:07

simpleFoam - Floating Point Exception
 
Hi there,

I am simulating flow over a vehicle, simple geometry using komegaSST, about 4 million cells, on 4 cores with 8GB ram.

I am getting the following error in Serial and Parallel after just over 500 iterations.

Any ideas as to what could be causing the issue? I have tried a few times restarting from 500 its and it fails each time at 527 its. I am specifying velocity inlet, p=0 everywhere... Could someone please let me know what settings they are using for a similar problem using SST. I have symmetry on sidewalls and roof, moving ground, inlet and outlet.

Best Regards,

Scott

Parallel

linux@linux ~/Desktop/Test_4m $ mpirun -np 4 simpleFoam -parallel >Log2
[2] #0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam170/lib/linux64GccDPOpt/libOpenFOAM.so"
[2] #1 Foam::sigFpe::sigFpeHandler(int) in "/opt/openfoam170/lib/linux64GccDPOpt/libOpenFOAM.so"
[2] #2 in "/lib/libc.so.6"
[2] #3 Foam::multiply(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) in "/opt/openfoam170/lib/linux64GccDPOpt/libOpenFOAM.so"
[2] #4 Foam::operator*(Foam::tmp<Foam::Field<double> > const&, Foam::UList<double> const&) in "/opt/openfoam170/lib/linux64GccDPOpt/libOpenFOAM.so"
[2] #5 Foam::fvMatrix<double>::relax(double) in "/opt/openfoam170/lib/linux64GccDPOpt/libincompressibleRASModels.so"
[2] #6 Foam::incompressible::RASModels::kOmegaSST::correc t() in "/opt/openfoam170/lib/linux64GccDPOpt/libincompressibleRASModels.so"
[2] #7
[2] in "/opt/openfoam170/applications/bin/linux64GccDPOpt/simpleFoam"
[2] #8 __libc_start_main in "/lib/libc.so.6"
[2] #9
[2] in "/opt/openfoam170/applications/bin/linux64GccDPOpt/simpleFoam"
[linux:03538] *** Process received signal ***
[linux:03538] Signal: Floating point exception (8)
[linux:03538] Signal code: (-6)
[linux:03538] Failing at address: 0x3e800000dd2
[linux:03538] [ 0] /lib/libc.so.6(+0x33af0) [0x7fab2d233af0]
[linux:03538] [ 1] /lib/libc.so.6(gsignal+0x35) [0x7fab2d233a75]
[linux:03538] [ 2] /lib/libc.so.6(+0x33af0) [0x7fab2d233af0]
[linux:03538] [ 3] /opt/openfoam170/lib/linux64GccDPOpt/libOpenFOAM.so(_ZN4Foam8multiplyERNS_5FieldIdEERKN S_5UListIdEES6_+0xc1) [0x7fab2e202ba1]
[linux:03538] [ 4] /opt/openfoam170/lib/linux64GccDPOpt/libOpenFOAM.so(_ZN4FoammlERKNS_3tmpINS_5FieldIdEEE ERKNS_5UListIdEE+0x48) [0x7fab2e206058]
[linux:03538] [ 5] /opt/openfoam170/lib/linux64GccDPOpt/libincompressibleRASModels.so(_ZN4Foam8fvMatrixIdE 5relaxEd+0x753) [0x7fab2f5b52b3]
[linux:03538] [ 6] /opt/openfoam170/lib/linux64GccDPOpt/libincompressibleRASModels.so(_ZN4Foam14incompress ible9RASModels9kOmegaSST7correctEv+0x1b23) [0x7fab2f5f02c3]
[linux:03538] [ 7] simpleFoam() [0x416855]
[linux:03538] [ 8] /lib/libc.so.6(__libc_start_main+0xfd) [0x7fab2d21ec4d]
[linux:03538] [ 9] simpleFoam() [0x414269]
[linux:03538] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 2 with PID 3538 on node linux exited on signal 8 (Floating point exception).
--------------------------------------------------------------------------

Serial

simpleFoam >LogSerial
#0 Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam170/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::sigFpe::sigFpeHandler(int) in "/opt/openfoam170/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 in "/lib/libc.so.6"
#3 Foam::multiply(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) in "/opt/openfoam170/lib/linux64GccDPOpt/libOpenFOAM.so"
#4 Foam::operator*(Foam::tmp<Foam::Field<double> > const&, Foam::UList<double> const&) in "/opt/openfoam170/lib/linux64GccDPOpt/libOpenFOAM.so"
#5 Foam::fvMatrix<double>::relax(double) in "/opt/openfoam170/lib/linux64GccDPOpt/libincompressibleRASModels.so"
#6 Foam::incompressible::RASModels::kOmegaSST::correc t() in "/opt/openfoam170/lib/linux64GccDPOpt/libincompressibleRASModels.so"
#7
in "/opt/openfoam170/applications/bin/linux64GccDPOpt/simpleFoam"
#8 __libc_start_main in "/lib/libc.so.6"
#9
in "/opt/openfoam170/applications/bin/linux64GccDPOpt/simpleFoam"
Floating point exception

scott July 25, 2010 22:30

I'm just going to check this using a known K-E setup that I have used before, so I'll see what happens and might need to look into my SST setup in a bit more detail...

Could it be something in the discretisation schemes etc that I have set incorrectly? I am using all of the defaults.

If anyone has had a similar problem and has sorted it out, or has an SST setup for a similar external aero problem then your help would be greatly appreciated!

Regards,

Scott

Deevyendu August 23, 2010 02:14

Problem regarding MPI
 
hii to all .. i had installed OPENMPI in my mandriva linux . i am able to compile the MPI program but unable to run the program . I am using DUAL core processor. of intel. during giving command as mpirun -np 2 'filename' , i am getting an error like
error while loading shared libraries: libmpi_f90.so.0: cannot open shared object file: No such file or directory

so anyone con help me regarding this.

0.1 watts April 13, 2012 16:34

I had the same error occur due to a patch which I had deleted from the CAD model but accidentally left a reference to it in controlDict::functions::forces::patches. Worked fine after I deleted the nonexistent patch.


All times are GMT -4. The time now is 17:11.