CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

MPI Error - simpleFoam - Floating Point Exception

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 25, 2010, 20:07
Default simpleFoam - Floating Point Exception
  #1
Member
 
Scott
Join Date: Sep 2009
Posts: 44
Rep Power: 16
scott is on a distinguished road
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:rintStack(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:perator*(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:rintStack(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:perator*(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

Last edited by scott; July 25, 2010 at 21:14. Reason: in Serial as well...
scott is offline   Reply With Quote

Old   July 25, 2010, 22:30
Default
  #2
Member
 
Scott
Join Date: Sep 2009
Posts: 44
Rep Power: 16
scott is on a distinguished road
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
scott is offline   Reply With Quote

Old   August 23, 2010, 02:14
Post Problem regarding MPI
  #3
New Member
 
Join Date: May 2010
Posts: 7
Rep Power: 15
Deevyendu is on a distinguished road
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.
Deevyendu is offline   Reply With Quote

Old   April 13, 2012, 16:34
Default
  #4
New Member
 
Join Date: Nov 2011
Posts: 13
Rep Power: 14
0.1 watts is on a distinguished road
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:atches. Worked fine after I deleted the nonexistent patch.
0.1 watts is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Floating point exception error Alan OpenFOAM Running, Solving & CFD 11 July 1, 2021 21:51
floating point exception? syd STAR-CCM+ 3 April 20, 2010 18:55
Floating point exception error with small DeltaT rassilon OpenFOAM Running, Solving & CFD 19 September 2, 2009 07:39
turbFoam floating point exception and k-epsilon Hectux OpenFOAM Running, Solving & CFD 4 April 28, 2009 07:10
[Gmsh] Gmsh and samplesurface touf OpenFOAM Meshing & Mesh Conversion 2 December 10, 2007 02:27


All times are GMT -4. The time now is 16:24.