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

fork error OpenFOAM, child process, floating point exception

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 7, 2023, 21:58
Default fork error OpenFOAM, child process, floating point exception
  #1
Member
 
Anurag
Join Date: Feb 2023
Posts: 66
Rep Power: 3
anubasu is on a distinguished road
Hi all,

I am running a modified interFOam, angledDuct tut case with a pipe flow. When the mass flow rate at the inlet is sufficiently large, the case is running but when I reduce the inlet velocity or mass flow rate it is running for some time and killing itself and produced a error file called 'a call to fork system to create a child process'. I have pasted the entire error below. Any suggestions please on how to resolve this error. Thanks very much.
[6] #0 Foam::error:rintStack(Foam::Ostream&)--------------------------------------------------------------------------
A process has executed an operation involving a call to the
"fork()" system call to create a child process. Open MPI is currently
operating in a condition that could result in memory corruption or
other system errors; your job may hang, crash, or produce silent
data corruption. The use of fork() (or system() or other calls that
create child processes) is strongly discouraged.

The process that invoked fork was:

Local host: [[62800,1],6] (PID 228349)

If you are *absolutely sure* that your application will successfully
and correctly survive a call to fork(), you may disable this warning
by setting the mpi_warn_on_fork MCA parameter to 0.
--------------------------------------------------------------------------
at ??:?
[6] #1 Foam::sigFpe::sigHandler(int) at ??:?
[6] #2 ? in "/lib64/libc.so.6"
[6] #3 Foam::symGaussSeidelSmoother::smooth(Foam::word const&, Foam::Field<double>&, Foam::lduMatrix const&, Foam::Field<double> const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, unsigned char, int) at ??:?
[6] #4 Foam::symGaussSeidelSmoother::smooth(Foam::Field<d ouble>&, Foam::Field<double> const&, unsigned char, int) const at ??:?
[6] #5 Foam::smoothSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
[6] #6 Foam::fvMatrix<double>::solveSegregated(Foam::dict ionary const&) at ??:?
[6] #7 Foam::fvMatrix<double>::solve(Foam::dictionary const&) at ??:?
[6] #8 Foam::fvMatrix<double>::solve() at ??:?
[6] #9 Foam::SolverPerformance<double> Foam::solve<double>(Foam::tmp<Foam::fvMatrix<doubl e> > const&) at ??:?
[6] #10 Foam::RASModels::kEpsilon<Foam::IncompressibleTurb ulenceModel<Foam::transportModel> >::correct() at ??:?
[6] #11 ? at ??:?
[6] #12 __libc_start_main in "/lib64/libc.so.6"
[6] #13 ? at ??:?
[d8s4b1:228349] *** Process received signal ***
[d8s4b1:228349] Signal: Floating point exception (8)
[d8s4b1:228349] Signal code: (-6)
[d8s4b1:228349] Failing at address: 0x8a58400037bfd
[d8s4b1:228349] [ 0] /lib64/libc.so.6(+0x36400)[0x2b6b9def9400]
[d8s4b1:228349] [ 1] /lib64/libc.so.6(gsignal+0x37)[0x2b6b9def9387]
[d8s4b1:228349] [ 2] /lib64/libc.so.6(+0x36400)[0x2b6b9def9400]
[d8s4b1:228349] [ 3] /apps/applications/openfoam/7/1/intel-19.0.4/OpenFOAM-7/platforms/linux64IccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam22symGaussSeidelSmoother6sm oothERKNS_4wordERNS_5FieldIdEERKNS_9lduMatrixERKS5 _RKNS_10FieldFieldIS4_dEERKNS_8UPtrListIKNS_17lduI nterfaceFieldEEEhi+0x56a)[0x2b6b9cadfb7a]
[d8s4b1:228349] [ 4] /apps/applications/openfoam/7/1/intel-19.0.4/OpenFOAM-7/platforms/linux64IccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam22symGaussSeidelSmoother6s moothERNS_5FieldIdEERKS2_hi+0x26)[0x2b6b9cadf606]
[d8s4b1:228349] [ 5] /apps/applications/openfoam/7/1/intel-19.0.4/OpenFOAM-7/platforms/linux64IccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam12smoothSolver5solveERNS_5 FieldIdEERKS2_h+0x615)[0x2b6b9cad1e35]
[d8s4b1:228349] [ 6] /apps/applications/openfoam/7/1/intel-19.0.4/OpenFOAM-7/platforms/linux64IccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE15solveSegr egatedERKNS_10dictionaryE+0x4ec)[0x2b6b9979d97c]
[d8s4b1:228349] [ 7] interFoam(_ZN4Foam8fvMatrixIdE5solveERKNS_10dictio naryE+0x340)[0x512980]
[d8s4b1:228349] [ 8] interFoam(_ZN4Foam8fvMatrixIdE5solveEv+0x1a1)[0x512121]
[d8s4b1:228349] [ 9] /apps/applications/openfoam/7/1/intel-19.0.4/OpenFOAM-7/platforms/linux64IccDPInt32Opt/lib/libincompressibleTurbulenceModels.so(_ZN4Foam5solv eIdEENS_17SolverPerformanceIT_EERKNS_3tmpINS_8fvMa trixIS2_EEEE+0x2b)[0x2b6b982963eb]
[d8s4b1:228349] [10] /apps/applications/openfoam/7/1/intel-19.0.4/OpenFOAM-7/platforms/linux64IccDPInt32Opt/lib/libincompressibleTurbulenceModels.so(_ZN4Foam9RASM odels8kEpsilonINS_29IncompressibleTurbulenceModelI NS_14transportModelEEEE7correctEv+0x825)[0x2b6b98217cb5]
[d8s4b1:228349] [11] interFoam[0x43ce5b]
[d8s4b1:228349] [12] /lib64/libc.so.6(__libc_start_main+0xf5)[0x2b6b9dee5555]
[d8s4b1:228349] [13] interFoam[0x42f669]
[d8s4b1:228349] *** End of error message ***
--------------------------------------------------------------------------
Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun noticed that process rank 6 with PID 0 on node d8s4b1 exited on signal 8 (Floating point exception).
anubasu 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
[foam-extend.org] foam-extend 3.2 on Ubuntu 12.04, Floating point exception for tutorials arsalan.dryi OpenFOAM Installation 7 November 14, 2016 17:33
Help with solving floating point exception crash. rendagar Main CFD Forum 1 March 26, 2014 07:34
[snappyHexMesh] snappyHexMesh and cyclic boundaries Ruli OpenFOAM Meshing & Mesh Conversion 2 December 9, 2013 06:51
MPI Error - simpleFoam - Floating Point Exception scott OpenFOAM Running, Solving & CFD 3 April 13, 2012 16:34
[Gmsh] Gmsh and samplesurface touf OpenFOAM Meshing & Mesh Conversion 2 December 10, 2007 02:27


All times are GMT -4. The time now is 00:53.