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

Repeating a case for second time and it crashes

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 7, 2020, 08:11
Default Repeating a case for second time and it crashes
  #1
Member
 
X
Join Date: Jan 2019
Posts: 63
Rep Power: 7
mcfdma is on a distinguished road
Hello.

So I ran a case (modified solver:interFoam + EHD) on OF231 parallel with 32 processor.
The simulation ran for the first time smoothly with no error.

I made some tweaks in the velocity(x component) and ran again and started getting an error.

I resubmitted my original case and now the original case also crashes. I have attached the error log.
Code:
 You must now run the following command to complete the setup:

    source $foamDotFile

[7] --------------------------------------------------------------------------
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:          [[22450,1],7] (PID 405000)

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.
--------------------------------------------------------------------------
#0  Foam::error::printStack(Foam::Ostream&) at ??:?
[7] #1  Foam::sigFpe::sigHandler(int) at ??:?
[7] #2   in "/lib64/libc.so.6"
[7] #3  Foam::GAMGSolver::scale(Foam::Field<double>&, Foam::Field<double>&, Foam::lduMatrix const&, Foam::FieldField<Foam::Field, double> const&, Foam::UPtrList<Foam::lduInterfaceField const> const&, Foam::Field<double> const&, unsigned char) const at ??:?
[7] #4  Foam::GAMGSolver::Vcycle(Foam::PtrList<Foam::lduMatrix::smoother> const&, Foam::Field<double>&, Foam::Field<double> const&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::Field<double>&, Foam::PtrList<Foam::Field<double> >&, Foam::PtrList<Foam::Field<double> >&, unsigned char) const at ??:?
[7] #5  Foam::GAMGSolver::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
[7] #6  Foam::fvMatrix<double>::solveSegregated(Foam::dictionary const&) at ??:?
[7] #7  Foam::fvMatrix<double>::solve(Foam::dictionary const&) at ??:?
[7] #8  
[7]  at ??:?
[7] #9  __libc_start_main in "/lib64/libc.so.6"
[7] #10  
[7]  at ??:?
[node914:405000:0:405000] Caught signal 8 (Floating point exception: tkill(2) or tgkill(2))
==== backtrace ====
    0  /opt/apps/libs/ucx/1.5.0/lib/libucs.so.0(+0x1b960) [0x2b7b53171960]
    1  /opt/apps/libs/ucx/1.5.0/lib/libucs.so.0(+0x1bcd3) [0x2b7b53171cd3]
    2  /lib64/libc.so.6(+0x35270) [0x2b7b39cc2270]
    3  /lib64/libc.so.6(gsignal+0x37) [0x2b7b39cc21f7]
    4  /lib64/libc.so.6(+0x35270) [0x2b7b39cc2270]
    5  /opt/apps/apps/gcc/openfoam/2.3.1/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam10GAMGSolver5scaleERNS_5FieldIdEES3_RKNS_9lduMatrixERKNS_10FieldFieldIS1_dEERKNS_8UPtrListIKNS_17lduInterfaceFieldEEERKS2_h+0x9d) [0x2b7b38c2d0fd]
    6  /opt/apps/apps/gcc/openfoam/2.3.1/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam10GAMGSolver6VcycleERKNS_7PtrListINS_9lduMatrix8smootherEEERNS_5FieldIdEERKS8_S9_S9_S9_S9_S9_RNS1_IS8_EESD_h+0x20ba) [0x2b7b38c3174a]
    7  /opt/apps/apps/gcc/openfoam/2.3.1/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam10GAMGSolver5solveERNS_5FieldIdEERKS2_h+0x656) [0x2b7b38c32a06]
    8  /opt/apps/apps/gcc/openfoam/2.3.1/OpenFOAM-2.3.1/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE15solveSegregatedERKNS_10dictionaryE+0x15d) [0x2b7b36f9246d]
    9  new1interFoam(_ZN4Foam8fvMatrixIdE5solveERKNS_10dictionaryE+0x12c) [0x4a75cc]
   10  new1interFoam() [0x43a1b9]
   11  /lib64/libc.so.6(__libc_start_main+0xf5) [0x2b7b39caec05]
   12  new1interFoam() [0x43efb1]
===================
--------------------------------------------------------------------------
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 7 with PID 0 on node node914 exited on signal 8 (Floating point exception).
--------------------------------------------------------------------------
I understand it is my linear solver but why was it able to run normally for the first time without any error? This is getting confusing.

Any help?
mcfdma is offline   Reply With Quote

Reply

Tags
ehd, error


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



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