CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

Foam::error::printStack(Foam::Ostream&) with simpleFoam -parallel

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree5Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   March 11, 2013, 15:19
Default
  #21
Senior Member
 
Mojtaba.a's Avatar
 
Mojtaba Amiraslanpour
Join Date: Jun 2011
Location: Zanjan, Iran
Posts: 287
Rep Power: 8
Mojtaba.a is on a distinguished road
Send a message via Skype™ to Mojtaba.a
Hi Gschaider and Bruno,
I have problems solving my case in parallel. my case doesn't have any problems solving in serial.
Here is what i get when I am trying to solve it in parallel:
(FYI: Ubuntu 12.10, OF 2.1, simpleFoam)

Quote:
[0] #0 [1] #0 [2] Foam::error:: printStack(Foam::Ostream&)Foam::error:: printStack(Foam::Ostream&)#0 Foam::error:: printStack(Foam::Ostream&) at ??:?
[0] #1 Foam::sigFpe::sigHandler(int) at ??:?
[2] #1 Foam::sigFpe::sigHandler(int) at ??:?
[1] #1 Foam::sigFpe::sigHandler(int) at ??:?
[0] #2 at ??:?
[2] # at ??:?
[1] #2 2 in "/lib/x86_64-linux-gnu/libc.so.6"
[0] #3 Foam:: dILUPreconditioner::calcReciprocalD(Foam::Field<do uble>&, Foam::lduMatrix const&) in "/lib/x86_64-linux-gnu/libc.so.6"
[2] #3 Foam:: dILUPreconditioner::calcReciprocalD(Foam::Field<do uble>&, Foam::lduMatrix const&) in "/lib/x86_64-linux-gnu/libc.so.6"
[1] #3 Foam:: dILUPreconditioner::calcReciprocalD(Foam::Field<do uble>&, Foam::lduMatrix const&) at ??:?
[0] #4 Foam:: dILUPreconditioner:: dILUPreconditioner(Foam::lduMatrix::solver const&, Foam:: dictionary const&) at ??:?
[2] #4 Foam:: dILUPreconditioner:: dILUPreconditioner(Foam::lduMatrix::solver const&, Foam:: dictionary const&) at ??:?
[1] #4 Foam:: dILUPreconditioner:: dILUPreconditioner(Foam::lduMatrix::solver const&, Foam:: dictionary const&) at ??:?
[0] #5 Foam::lduMatrix:: preconditioner::addasymMatrixConstructorToTable<Fo am:: dILUPreconditioner>::New(Foam::lduMatrix::solver const&, Foam:: dictionary const&) at ??:?
[2] #5 Foam::lduMatrix:: preconditioner::addasymMatrixConstructorToTable<Fo am:: dILUPreconditioner>::New(Foam::lduMatrix::solver const&, Foam:: dictionary const&) at ??:?
[1] #5 Foam::lduMatrix:: preconditioner::addasymMatrixConstructorToTable<Fo am:: dILUPreconditioner>::New(Foam::lduMatrix::solver const&, Foam:: dictionary const&) at ??:?
[0] #6 Foam::lduMatrix:: preconditioner::New(Foam::lduMatrix::solver const&, Foam:: dictionary const&) at ??:?
[1] #6 Foam::lduMatrix:: preconditioner::New(Foam::lduMatrix::solver const&, Foam:: dictionary const&) at ??:?
[2] #6 Foam::lduMatrix:: preconditioner::New(Foam::lduMatrix::solver const&, Foam:: dictionary const&) at ??:?
[0] #7 Foam:: pBiCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
[1] #7 Foam:: pBiCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
[2] #7 Foam:: pBiCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:?
[1] #8 Foam::fvMatrix<double>::solve(Foam:: dictionary const&) at ??:?
[0] #8 Foam::fvMatrix<double>::solve(Foam:: dictionary const&) at ??:?
[2] #8 Foam::fvMatrix<double>::solve(Foam:: dictionary const&) at ??:?
[0] #9 Foam::fvMatrix<double>::solve() at ??:?
[1] #9 Foam::fvMatrix<double>::solve() at ??:?
[2] #9 Foam::fvMatrix<double>::solve() at ??:?
[2] #10 Foam::lduMatrix::solverPerformance Foam::solve<double>(Foam::tmp<Foam::fvMatrix<doubl e> > const&) at ??:?
[1] #10 Foam::lduMatrix::solverPerformance Foam::solve<double>(Foam::tmp<Foam::fvMatrix<doubl e> > const&) at ??:?
[0] #10 Foam::lduMatrix::solverPerformance Foam::solve<double>(Foam::tmp<Foam::fvMatrix<doubl e> > const&) at ??:?
[2] #11 Foam::incompressible::RASModels::kEpsilon::correct () at ??:?
[1] #11 Foam::incompressible::RASModels::kEpsilon::correct () at ??:?
[0] #11 Foam::incompressible::RASModels::kEpsilon::correct () at ??:?
[1] #12 at ??:?
[2] #12 at ??:?
[0] #12

[2] at ??:?
[2] #13 __libc_start_main[1] at ??:?
[1] #13 __libc_start_main
in "/lib/x86_64-linux-gnu/libc.so.6"
[1] #14 in "/lib/x86_64-linux-gnu/libc.so.6"
[2] #14 [0] at ??:?
[0] #13 __libc_start_main

in "/lib/x86_64-linux-gnu/libc.so.6"
[0] #14[2] at ??:?
[onixa-Aspire-V3-571G:17077] *** Process received signal ***
[onixa-Aspire-V3-571G:17077] Signal: Floating point exception (8)
[onixa-Aspire-V3-571G:17077] Signal code: (-6)
[onixa-Aspire-V3-571G:17077] Failing at address: 0x3e8000042b5
[1] at ??:?
[onixa-Aspire-V3-571G:17076] *** Process received signal ***
[onixa-Aspire-V3-571G:17076] Signal: Floating point exception (8)
[onixa-Aspire-V3-571G:17076] Signal code: (-6)
[onixa-Aspire-V3-571G:17076] Failing at address: 0x3e8000042b4
[onixa-Aspire-V3-571G:17076] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f9bbd9814a0]
[onixa-Aspire-V3-571G:17076] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7f9bbd981425]
[onixa-Aspire-V3-571G:17076] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f9bbd9814a0]
[onixa-Aspire-V3-571G:17076] [ 3] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam18DILUPreconditioner15calcR eciprocalDERNS_5FieldIdEERKNS_9lduMatrixE+0xa3) [0x7f9bbe9ed293]
[onixa-Aspire-V3-571G:17076] [ 4] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam18DILUPreconditionerC2ERKNS _9lduMatrix6solverERKNS_10dictionaryE+0x66) [0x7f9bbe9ed3e6]
[onixa-Aspire-V3-571G:17076] [ 5] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam9lduMatrix14preconditioner3 1addasymMatrixConstructorToTableINS_18DILUPrecondi tionerEE3NewERKNS0_6solverERKNS_10dictionaryE+0x3c ) [0x7f9bbe9ed54c]
[onixa-Aspire-V3-571G:17076] [ 6] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam9lduMatrix14preconditioner3 NewERKNS0_6solverERKNS_10dictionaryE+0x312) [0x7f9bbe9e2202]
[onixa-Aspire-V3-571G:17076] [ 7] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam5PBiCG5solveERNS_5FieldIdE ERKS2_h+0x60a) [0x7f9bbe9e656a]
[onixa-Aspire-V3-571G:17076] [ 8] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE5solveERKNS _10dictionaryE+0x10b) [0x7f9bbfb2badb]
[onixa-Aspire-V3-571G:17076] [ 9] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so(_ZN4Foam8fvMatrixIdE 5solveEv+0x91) [0x7f9bc0801911]
[onixa-Aspire-V3-571G:17076] [10] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so(_ZN4Foam5solveIdEENS _9lduMatrix17solverPerformanceERKNS_3tmpINS_8fvMat rixIT_EEEE+0x2c) [0x7f9bc08019ec]
[onixa-Aspire-V3-571G:17076] [11] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so(_ZN4Foam14incompress ible9RASModels8kEpsilon7correctEv+0x3f2) [0x7f9bc07fd202]
[onixa-Aspire-V3-571G:17076] [12] simpleFoam() [0x41fc7a]
[onixa-Aspire-V3-571G:17076] [13] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f9bbd96c76d]
[onixa-Aspire-V3-571G:17076] [14] simpleFoam() [0x421e8d]
[onixa-Aspire-V3-571G:17076] *** End of error message ***
[onixa-Aspire-V3-571G:17077] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f24953ea4a0]
[onixa-Aspire-V3-571G:17077] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7f24953ea425]
[onixa-Aspire-V3-571G:17077] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f24953ea4a0]
[onixa-Aspire-V3-571G:17077] [ 3] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam18DILUPreconditioner15calcR eciprocalDERNS_5FieldIdEERKNS_9lduMatrixE+0xa3) [0x7f2496456293]
[onixa-Aspire-V3-571G:17077] [ 4] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam18DILUPreconditionerC2ERKNS _9lduMatrix6solverERKNS_10dictionaryE+0x66) [0x7f24964563e6]
[onixa-Aspire-V3-571G:17077] [ 5] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam9lduMatrix14preconditioner3 1addasymMatrixConstructorToTableINS_18DILUPrecondi tionerEE3NewERKNS0_6solverERKNS_10dictionaryE+0x3c ) [0x7f249645654c]
[onixa-Aspire-V3-571G:17077] [ 6] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZN4Foam9lduMatrix14preconditioner3 NewERKNS0_6solverERKNS_10dictionaryE+0x312) [0x7f249644b202]
[onixa-Aspire-V3-571G:17077] [ 7] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam5PBiCG5solveERNS_5FieldIdE ERKS2_h+0x60a) [0x7f249644f56a]
[onixa-Aspire-V3-571G:17077] [ 8] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE5solveERKNS _10dictionaryE+0x10b) [0x7f2497594adb]
[onixa-Aspire-V3-571G:17077] [ 9] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so(_ZN4Foam8fvMatrixIdE 5solveEv+0x91) [0x7f249826a911]
[onixa-Aspire-V3-571G:17077] [10] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so(_ZN4Foam5solveIdEENS _9lduMatrix17solverPerformanceERKNS_3tmpINS_8fvMat rixIT_EEEE+0x2c) [0x7f249826a9ec]
[onixa-Aspire-V3-571G:17077] [11] /home/onixa/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libincompressibleRASModels.so(_ZN4Foam14incompress ible9RASModels8kEpsilon7correctEv+0x3f2) [0x7f2498266202]
[onixa-Aspire-V3-571G:17077] [12] simpleFoam() [0x41fc7a]
[onixa-Aspire-V3-571G:17077] [13] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f24953d576d]
[onixa-Aspire-V3-571G:17077] [14] simpleFoam() [0x421e8d]
[onixa-Aspire-V3-571G:17077] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 1 with PID 17076 on node onixa-Aspire-V3-571G exited on signal 8 (Floating point exception).
--------------------------------------------------------------------------
Thank you.
Mojtaba.a is offline   Reply With Quote

Old   March 11, 2013, 18:12
Default
  #22
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 3,934
Rep Power: 41
gschaider will become famous soon enoughgschaider will become famous soon enough
Quote:
Originally Posted by Mojtaba.a View Post
Hi Gschaider and Bruno,
I have problems solving my case in parallel. my case doesn't have any problems solving in serial.
Here is what i get when I am trying to solve it in parallel:
(FYI: Ubuntu 12.10, OF 2.1, simpleFoam)



Thank you.
Don't know why you're addressing me about this. It doesn't fall into my field of expertise.

Looks like k is 0 somewhere. Check k and epsilon in the decomposed cases. See if the tutorial cases for simpleFoam fail in the same way. If they don't check what is different to your case

That is all I can say about this
wyldckat and Mojtaba.a like this.
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   March 11, 2013, 18:15
Default
  #23
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,658
Blog Entries: 39
Rep Power: 99
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Quote:
Originally Posted by Mojtaba.a View Post
Hi Gschaider and Bruno,
I have problems solving my case in parallel. my case doesn't have any problems solving in serial.
Here is what i get when I am trying to solve it in parallel:
(FYI: Ubuntu 12.10, OF 2.1, simpleFoam)
What are the boundary conditions, "fvSchemes", "fvSolution" and "controlDict" you are using for your case?
Mojtaba.a likes this.
__________________
wyldckat is offline   Reply With Quote

Old   March 12, 2013, 04:15
Default
  #24
Senior Member
 
Mojtaba.a's Avatar
 
Mojtaba Amiraslanpour
Join Date: Jun 2011
Location: Zanjan, Iran
Posts: 287
Rep Power: 8
Mojtaba.a is on a distinguished road
Send a message via Skype™ to Mojtaba.a
Quote:
Originally Posted by gschaider View Post
Don't know why you're addressing me about this. It doesn't fall into my field of expertise.

Looks like k is 0 somewhere. Check k and epsilon in the decomposed cases. See if the tutorial cases for simpleFoam fail in the same way. If they don't check what is different to your case

That is all I can say about this
Thank you gschaider, I will try that.
right now I think you are right in someways. here are my K and epsilon boundary conditions:

For Processor0:

k
Quote:
velocity_inlet.2
{
type fixedValue;
value uniform 1;
}
epsilon
Quote:
velocity_inlet.2
{
type fixedValue;
value uniform 1;
}
For Processor1:

k
Quote:
velocity_inlet.2
{
type fixedValue;
value nonuniform 0();
}
epsilon
Quote:
velocity_inlet.2
{
type fixedValue;
value nonuniform 0();
}
Quote:
Originally Posted by wyldckat View Post
What are the boundary conditions, "fvSchemes", "fvSolution" and "controlDict" you are using for your case?
Dear bruno here are my "fvSchemes", "fvSolution" and "controlDict":

controlDict
Quote:
application simpleFoam;

startFrom latestTime;

startTime 0;

stopAt endTime;

endTime 10000;

deltaT 1;

writeControl timeStep;

writeInterval 50;

purgeWrite 0;

writeFormat ascii;

writePrecision 6;

writeCompression off;

timeFormat general;

timePrecision 6;

runTimeModifiable true;

libs (
"libOpenFOAM.so"
"libsimpleSwakFunctionObjects.so"
"libswakFunctionObjects.so"
"libgroovyBC.so"
);
fvSchemes
Quote:
ddtSchemes
{
default steadyState;
}

gradSchemes
{
default Gauss linear;
grad(p) Gauss linear;
grad(U) Gauss linear;
}

divSchemes
{
default none;
div(phi,U) Gauss upwind;
div(phi,k) Gauss upwind;
div(phi,epsilon) Gauss upwind;
div(phi,R) Gauss upwind;
div(R) Gauss linear;
div(phi,nuTilda) Gauss upwind;
div((nuEff*dev(T(grad(U))))) Gauss linear;
}

laplacianSchemes
{
default none;
laplacian(nuEff,U) Gauss linear corrected;
laplacian((1|A(U)),p) Gauss linear corrected;
laplacian(DkEff,k) Gauss linear corrected;
laplacian(DepsilonEff,epsilon) Gauss linear corrected;
laplacian(DREff,R) Gauss linear corrected;
laplacian(DnuTildaEff,nuTilda) Gauss linear corrected;
}

interpolationSchemes
{
default linear;
interpolate(U) linear;
}

snGradSchemes
{
default corrected;
}

fluxRequired
{
default no;
p ;
}
fvSolution
Quote:
solvers
{
p
{
solver PCG;
preconditioner DIC;
tolerance 1e-06;
relTol 0.01;
}

U
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}

k
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}

epsilon
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}

R
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}

nuTilda
{
solver PBiCG;
preconditioner DILU;
tolerance 1e-05;
relTol 0.1;
}
}

SIMPLE
{
nNonOrthogonalCorrectors 0;

residualControl
{
p 1e-2;
U 1e-3;
"(k|epsilon|omega)" 1e-3;
}
}

relaxationFactors
{
fields
{
p 0.3;
}
equations
{
U 0.7;
k 0.7;
epsilon 0.7;
R 0.7;
nuTilda 0.7;
}
}
Thank you in advance.
Mojtaba.a is offline   Reply With Quote

Old   March 18, 2013, 17:56
Default
  #25
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,658
Blog Entries: 39
Rep Power: 99
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
@Mojtaba: Unfortunately, this isn't enough information. Without knowing more about the complete information about the "k" and "epsilon" fields, it's almost impossible to diagnose what might be wrong.

In addition, it could be related to:
  • The mesh, if it has bad cells/faces, which are somehow handled OK in serial, but not in parallel. To check this, run:
    Code:
    checkMesh -allTopology -allGeometry
  • Having cyclic patches can lead to issues as well, specially in parallel.
  • Knowing what was the output right before the crash, can tell a lot about the error itself!


As for the following line:
Code:
value           nonuniform 0();
This is normal in decomposed cases. It indicates an empty list of values, because this patch is not present in this processor.


Best regards,
Bruno
Mojtaba.a likes this.
__________________
wyldckat is offline   Reply With Quote

Old   March 19, 2013, 10:02
Default
  #26
Senior Member
 
Mojtaba.a's Avatar
 
Mojtaba Amiraslanpour
Join Date: Jun 2011
Location: Zanjan, Iran
Posts: 287
Rep Power: 8
Mojtaba.a is on a distinguished road
Send a message via Skype™ to Mojtaba.a
Quote:
Originally Posted by wyldckat View Post
@Mojtaba: Unfortunately, this isn't enough information. Without knowing more about the complete information about the "k" and "epsilon" fields, it's almost impossible to diagnose what might be wrong.

In addition, it could be related to:
  • The mesh, if it has bad cells/faces, which are somehow handled OK in serial, but not in parallel. To check this, run:
    Code:
    checkMesh -allTopology -allGeometry
  • Having cyclic patches can lead to issues as well, specially in parallel.
  • Knowing what was the output right before the crash, can tell a lot about the error itself!


As for the following line:
Code:
value           nonuniform 0();
This is normal in decomposed cases. It indicates an empty list of values, because this patch is not present in this processor.


Best regards,
Bruno
Thank you so much bruno,
well I tried checkMesh utility before and I got no error. everything was fine. but while I was trying to solve the case, k & epsilon residuals had some strange behaviors. so I tried decreasing relaxation factors from 0.7 to 0.3 for both of them and it solved the problem.
anyway thanks, I didn't know about cyclic patches and 0 values in decomposed cases.

Bests
mojtaba
wyldckat likes this.
Mojtaba.a is offline   Reply With Quote

Old   August 5, 2013, 09:24
Default
  #27
New Member
 
M Bay
Join Date: Jun 2013
Location: Germany
Posts: 10
Rep Power: 5
mbay101 is on a distinguished road
Hi everybody,

I m having as it seems the same Probleme . I m using chtMultiRegionSimpleFoam in OP 2.2.0 to simulate a solid Region and a Fluid Region Tempratur Transfer. The Boundary Condition were taking from the OF example HeatTransfert and i did the same with the Files in system. I m using Salome to create my mesh after that i use mappedWall in Boundary to connect the Region.

Code:
#0 Foam::error::printStack(Foam::Ostream&) in "/cax/sw/OPENFOAM/LINUX_x86_64/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#1 Foam::sigSegv::sigHandler(int) in "/cax/sw/OPENFOAM/LINUX_x86_64/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#2 
at sigaction.c:0
#3 Foam::polyMeshTetDecomposition::findFaceBasePts(Foam::polyMesh const&, double, bool) in "/cax/sw/OPENFOAM/LINUX_x86_64/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#4 Foam::polyMesh::tetBasePtIs() const in "/cax/sw/OPENFOAM/LINUX_x86_64/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
#5 Foam::mappedPatchBase::facePoints(Foam::polyPatch const&) const in "/cax/sw/OPENFOAM/LINUX_x86_64/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib/libmeshTools.so"
#6 Foam::mappedPatchBase::calcMapping() const in "/cax/sw/OPENFOAM/LINUX_x86_64/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib/libmeshTools.so"
#7 void Foam::mappedPatchBase::distribute<double>(Foam::List<double>&) const in "/cax/sw/OPENFOAM/LINUX_x86_64/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#8 Foam::compressible::turbulentTemperatureCoupledBaffleMixedFvPatchScalarField::updateCoeffs() in "/cax/sw/OPENFOAM/LINUX_x86_64/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib/libcompressibleTurbulenceModel.so"
#9 Foam::mixedFvPatchField<double>::evaluate(Foam::UPstream::commsTypes) in "/cax/sw/OPENFOAM/LINUX_x86_64/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
#10 Foam::mixedEnergyFvPatchScalarField::updateCoeffs() in "/cax/sw/OPENFOAM/LINUX_x86_64/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib/libfluidThermophysicalModels.so"
#11 Foam::fvMatrix<double>::fvMatrix(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&) in "/cax/sw/OPENFOAM/LINUX_x86_64/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/bin/chtMultiRegionSimpleFoam"
#12 
in "/cax/sw/OPENFOAM/LINUX_x86_64/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/bin/chtMultiRegionSimpleFoam"
#13 
in "/cax/sw/OPENFOAM/LINUX_x86_64/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/bin/chtMultiRegionSimpleFoam"
#14 __libc_start_main in "/lib64/libc.so.6"
#15 
in "/cax/sw/OPENFOAM/LINUX_x86_64/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/bin/chtMultiRegionSimpleFoam"
./solve: line 5: 10011 Segmentation fault (core dumped) chtMultiRegionSimpleFoam
I attached to this message my system and my 0 directory.
Please!! Please!! take a look at them and if you have any idea what so ever that can help me understand the reason then please shared with me.

In working a Project and i don t have any support from my Team. This is my only option for me to get same Tipps and Help.

Thank you!!
best Regards
Attached Files
File Type: zip 0.zip (4.4 KB, 2 views)
File Type: zip system.zip (6.4 KB, 1 views)

Last edited by wyldckat; August 17, 2013 at 08:16. Reason: Added [CODE][/CODE]
mbay101 is offline   Reply With Quote

Old   August 19, 2013, 11:42
Default Problem in parallel running..
  #28
Member
 
Alpesh Vora
Join Date: Jan 2011
Location: Cottbus, Germany
Posts: 47
Rep Power: 7
alvora is on a distinguished road
Hello everyone,

I implemented multiregion solver with new boundary condition..
But, I have problems solving my case in parallel. my case doesn't have any problems solving in serial.
Here is what I got when I was trying to solve in parallel...

Code:
[6] #0  Foam::error::printStack(Foam::Ostream&)[5] #0  Foam::error::printStack(Foam::Ostream&) in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/lib/libOpenFOAM.so"
 in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/lib/libOpenFOAM.so"
[5] #1  Foam::sigSegv::sigHandler(int)[6] #1  Foam::sigSegv::sigHandler(int) in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/lib/libOpenFOAM.so"
 in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/lib/libOpenFOAM.so"
[5] #2  [6] #2  __restore_rt__restore_rt at sigaction.c:0
[6] #3  Foam::thermionicFieldEmissionFvPatchScalarField::updateCoeffs() at sigaction.c:0
[5] #3  Foam::thermionicFieldEmissionFvPatchScalarField::updateCoeffs() in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/lib/libcompressibleTurbulenceModel.so"
[6] #4   in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/lib/libcompressibleTurbulenceModel.so"
[5] #4  Foam::fvMatrix<double>::fvMatrix(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&)Foam::fvMatrix<double>::fvMatrix(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::dimensionSet const&) in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/bin/TestingFoam"
[6] #5  Foam::fv::gaussConvectionScheme<double>::fvmDiv(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) const in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/bin/TestingFoam"
[5] #5  Foam::fv::gaussConvectionScheme<double>::fvmDiv(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) const in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/lib/libfiniteVolume.so"
 in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/lib/libfiniteVolume.so"
[5] #6  [6] #6  Foam::tmp<Foam::fvMatrix<double> > Foam::fvm::div<double>(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&)Foam::tmp<Foam::fvMatrix<double> > Foam::fvm::div<double>(Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/bin/TestingFoam"
[5] #7   in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/bin/TestingFoam"
[6] #7  mainmain in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/bin/TestingFoam"
[6] #8  __libc_start_main in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/bin/TestingFoam"
[5] #8  __libc_start_main in "/lib64/libc.so.6"
 in "/lib64/libc.so.6"
[6] #9  [5] #9  Foam::regIOobject::writeObject(Foam::IOstream::streamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType) constFoam::regIOobject::writeObject(Foam::IOstream::streamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType) const in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/bin/TestingFoam"
 in "/home/vora/OpenFOAM/OpenFOAM-2.1.0/platforms/linux64Gcc46DPOpt/bin/TestingFoam"
./start_calc.sh: line 3: 18701 Segmentation fault      TestingFoam -case $PWD -parallel > output.txt
PSIlogger: Child with rank 5 exited with status 139.
./start_calc.sh: line 3: 18698 Segmentation fault      TestingFoam -case $PWD -parallel > output.txt
PSIlogger: Child with rank 6 exited with status 139.
Error seems to be similar as discussed in this thread, so I posted here with a hope to get some reply.

Kind Regards

Last edited by wyldckat; August 19, 2013 at 12:44. Reason: Added [CODE][/CODE]
alvora is offline   Reply With Quote

Old   August 25, 2013, 07:45
Default
  #29
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,658
Blog Entries: 39
Rep Power: 99
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings to all!

mbay101's problem is being addressed here: http://www.cfd-online.com/Forums/ope...egionfoam.html


@alvora: You're not providing enough information to work with. It could be due to bad schemes, bad mesh, bad decomposition, bad boundary conditions...
Please provide more information about your case, as explained here: How to give enough info to get help

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   May 29, 2014, 22:02
Smile
  #30
New Member
 
Carl Liu
Join Date: Apr 2014
Posts: 3
Rep Power: 4
gohome is on a distinguished road
Quote:
Originally Posted by Mojtaba.a View Post
Thank you so much bruno,
well I tried checkMesh utility before and I got no error. everything was fine. but while I was trying to solve the case, k & epsilon residuals had some strange behaviors. so I tried decreasing relaxation factors from 0.7 to 0.3 for both of them and it solved the problem.
anyway thanks, I didn't know about cyclic patches and 0 values in decomposed cases.

Bests
mojtaba
“I tried decreasing relaxation factors from 0.7 to 0.3 for both of them and it solved the problem”

Similar problem happens in my case (ubuntu 12.04, OF 230, pimpleDyMFoam/propeller). It also solved my problem!
Thank you so much!
gohome is offline   Reply With Quote

Old   May 19, 2016, 15:38
Default The costume code works in serial mode but not in parallel
  #31
New Member
 
Ehsan
Join Date: Aug 2010
Location: QC, Canada
Posts: 28
Rep Power: 8
ehsan_am86 is on a distinguished road
Hi everyone,

I am experiencing the same bug which was discussed earlier here but I could not manage to overcome the floating bus in parallel.

In fact, I have recently developed my solver (Add a class to original twoPhaseEulerFoam (populationBalance class) in OF 2.3.0). My solver works in serial mode properly but when I want to use that with mpirun or mpiexec it is crashed. Any idea or comments for debugging, even short ones will be pretty much useful and appreciated. Thanks in advance.

P.S: This is short version of log file (complete one is attached):

Code:
[10]  in "/home/ehsanam/OpenFOAM/ehsanam-2.3.0/platforms/linux64GccDPOpt/bin/twoPhaseEulerCMFoam"
[cp0233:26984] *** Process received signal ***
[cp0233:26984] Signal: Floating point exception (8)
[cp0233:26984] Signal code:  (-6)
[cp0233:26984] Failing at address: 0x2e5f5200006968
[cp0233:26984] [ 0] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26984] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x3565a32625]
[cp0233:26984] [ 2] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26984] [ 3] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam5PBiCG5solveERNS_5FieldIdEERKS2_h+0xaa8) [0x2b2df41df6a8]
[cp0233:26984] [ 4] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE15solveSegregatedERKNS_10dictionaryE+0x11f) [0x2b2df2dc6e2f]
[cp0233:26984] [ 5] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveERKNS_10dictionaryE+0xf7) [0x45c8e7]
[cp0233:26984] [ 6] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveEv+0x80) [0x45cb30]
[cp0233:26984] [ 7] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libcompressibleTwoPhaseSystem3.so(_ZN4Foam11classMethod7correctEv+0x123b) [0x2b2df1ea287b]
[cp0233:26984] [ 8] twoPhaseEulerCMFoam() [0x4881ce]
[cp0233:26984] [ 9] /lib64/libc.so.6(__libc_start_main+0xfd) [0x3565a1ed5d]
[cp0233:26984] [10] twoPhaseEulerCMFoam() [0x4349a9]
[cp0233:26984] *** End of error message ***

[8]  in "/home/ehsanam/OpenFOAM/ehsanam-2.3.0/platforms/linux64GccDPOpt/bin/twoPhaseEulerCMFoam"
[cp0233:26982] *** Process received signal ***
[cp0233:26982] Signal: Floating point exception (8)
[cp0233:26982] Signal code:  (-6)
[cp0233:26982] Failing at address: 0x2e5f5200006966
[cp0233:26982] [ 0] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26982] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x3565a32625]
[cp0233:26982] [ 2] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26982] [ 3] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam5PBiCG5solveERNS_5FieldIdEERKS2_h+0xaa8) [0x2b4704ab96a8]
[cp0233:26982] [ 4] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE15solveSegregatedERKNS_10dictionaryE+0x11f) [0x2b47036a0e2f]
[cp0233:26982] [ 5] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveERKNS_10dictionaryE+0xf7) [0x45c8e7]
[cp0233:26982] [ 6] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveEv+0x80) [0x45cb30]
[cp0233:26982] [ 7] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libcompressibleTwoPhaseSystem3.so(_ZN4Foam11classMethod7correctEv+0x123b) [0x2b470277c87b]
[cp0233:26982] [ 8] twoPhaseEulerCMFoam() [0x4881ce]
[cp0233:26982] [ 9] /lib64/libc.so.6(__libc_start_main+0xfd) [0x3565a1ed5d]
[cp0233:26982] [10] twoPhaseEulerCMFoam() [0x4349a9]
[cp0233:26982] *** End of error message ***
[22]  in "/home/ehsanam/OpenFOAM/ehsanam-2.3.0/platforms/linux64GccDPOpt/bin/twoPhaseEulerCMFoam"
[cp0233:26996] *** Process received signal ***
[cp0233:26996] Signal: Floating point exception (8)
[cp0233:26996] Signal code:  (-6)
[cp0233:26996] Failing at address: 0x2e5f5200006974
[cp0233:26996] [ 0] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26996] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x3565a32625]
[cp0233:26996] [ 2] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26996] [ 3] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam5PBiCG5solveERNS_5FieldIdEERKS2_h+0xaa8) [0x2ad914abd6a8]
[cp0233:26996] [ 4] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE15solveSegregatedERKNS_10dictionaryE+0x11f) [0x2ad9136a4e2f]
[cp0233:26996] [ 5] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveERKNS_10dictionaryE+0xf7) [0x45c8e7]
[cp0233:26996] [ 6] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveEv+0x80) [0x45cb30]
[cp0233:26996] [ 7] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libcompressibleTwoPhaseSystem3.so(_ZN4Foam11classMethod7correctEv+0x123b) [0x2ad91278087b]
[cp0233:26996] [ 8] twoPhaseEulerCMFoam() [0x4881ce]
[cp0233:26996] [ 9] /lib64/libc.so.6(__libc_start_main+0xfd) [0x3565a1ed5d]
[cp0233:26996] [10] twoPhaseEulerCMFoam() [0x4349a9]
[cp0233:26996] *** End of error message ***
[16]  in "/home/ehsanam/OpenFOAM/ehsanam-2.3.0/platforms/linux64GccDPOpt/bin/twoPhaseEulerCMFoam"
[cp0233:26990] *** Process received signal ***
[cp0233:26990] Signal: Floating point exception (8)
[cp0233:26990] Signal code:  (-6)
[cp0233:26990] Failing at address: 0x2e5f520000696e
[cp0233:26990] [ 0] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26990] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x3565a32625]
[cp0233:26990] [ 2] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26990] [ 3] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam5PBiCG5solveERNS_5FieldIdEERKS2_h+0xaa8) [0x2b6109d8f6a8]
[cp0233:26990] [ 4] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE15solveSegregatedERKNS_10dictionaryE+0x11f) [0x2b6108976e2f]
[cp0233:26990] [ 5] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveERKNS_10dictionaryE+0xf7) [0x45c8e7]
[cp0233:26990] [ 6] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveEv+0x80) [0x45cb30]
[cp0233:26990] [ 7] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libcompressibleTwoPhaseSystem3.so(_ZN4Foam11classMethod7correctEv+0x123b) [0x2b6107a5287b]
[cp0233:26990] [ 8] twoPhaseEulerCMFoam() [0x4881ce]
[cp0233:26990] [ 9] /lib64/libc.so.6(__libc_start_main+0xfd) [0x3565a1ed5d]
[cp0233:26990] [10] twoPhaseEulerCMFoam() [0x4349a9]
[cp0233:26990] *** End of error message ***
[19]  in "/home/ehsanam/OpenFOAM/ehsanam-2.3.0/platforms/linux64GccDPOpt/bin/twoPhaseEulerCMFoam"
[cp0233:26993] *** Process received signal ***
[cp0233:26993] Signal: Floating point exception (8)
[cp0233:26993] Signal code:  (-6)
[cp0233:26993] Failing at address: 0x2e5f5200006971
[cp0233:26993] [ 0] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26993] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x3565a32625]
[cp0233:26993] [ 2] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26993] [ 3] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam5PBiCG5solveERNS_5FieldIdEERKS2_h+0xaa8) [0x2b63ca79b6a8]
[cp0233:26993] [ 4] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE15solveSegregatedERKNS_10dictionaryE+0x11f) [0x2b63c9382e2f]
[cp0233:26993] [ 5] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveERKNS_10dictionaryE+0xf7) [0x45c8e7]
[cp0233:26993] [ 6] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveEv+0x80) [0x45cb30]
[cp0233:26993] [ 7] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libcompressibleTwoPhaseSystem3.so(_ZN4Foam11classMethod7correctEv+0x123b) [0x2b63c845e87b]
[cp0233:26993] [ 8] twoPhaseEulerCMFoam() [0x4881ce]
[cp0233:26993] [ 9] /lib64/libc.so.6(__libc_start_main+0xfd) [0x3565a1ed5d]
[cp0233:26993] [10] twoPhaseEulerCMFoam() [0x4349a9]
[cp0233:26993] *** End of error message ***
[6]  in "/home/ehsanam/OpenFOAM/ehsanam-2.3.0/platforms/linux64GccDPOpt/bin/twoPhaseEulerCMFoam"
[cp0233:26980] *** Process received signal ***
[cp0233:26980] Signal: Floating point exception (8)
[cp0233:26980] Signal code:  (-6)
[cp0233:26980] Failing at address: 0x2e5f5200006964
[cp0233:26980] [ 0] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26980] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x3565a32625]
[cp0233:26980] [ 2] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26980] [ 3] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam5PBiCG5solveERNS_5FieldIdEERKS2_h+0xaa8) [0x2b31916f46a8]
[cp0233:26980] [ 4] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE15solveSegregatedERKNS_10dictionaryE+0x11f) [0x2b31902dbe2f]
[cp0233:26980] [ 5] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveERKNS_10dictionaryE+0xf7) [0x45c8e7]
[cp0233:26980] [ 6] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveEv+0x80) [0x45cb30]
[cp0233:26980] [ 7] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libcompressibleTwoPhaseSystem3.so(_ZN4Foam11classMethod7correctEv+0x123b) [0x2b318f3b787b]
[cp0233:26980] [ 8] twoPhaseEulerCMFoam() [0x4881ce]
[cp0233:26980] [ 9] /lib64/libc.so.6(__libc_start_main+0xfd) [0x3565a1ed5d]
[cp0233:26980] [10] twoPhaseEulerCMFoam() [0x4349a9]
[cp0233:26980] *** End of error message ***
[3]  in "/home/ehsanam/OpenFOAM/ehsanam-2.3.0/platforms/linux64GccDPOpt/bin/twoPhaseEulerCMFoam"
[cp0233:26977] *** Process received signal ***
[cp0233:26977] Signal: Floating point exception (8)
[cp0233:26977] Signal code:  (-6)
[cp0233:26977] Failing at address: 0x2e5f5200006961
[cp0233:26977] [ 0] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26977] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x3565a32625]
[cp0233:26977] [ 2] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26977] [ 3] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam5PBiCG5solveERNS_5FieldIdEERKS2_h+0xaa8) [0x2b309cb346a8]
[cp0233:26977] [ 4] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE15solveSegregatedERKNS_10dictionaryE+0x11f) [0x2b309b71be2f]
[cp0233:26977] [ 5] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveERKNS_10dictionaryE+0xf7) [0x45c8e7]
[cp0233:26977] [ 6] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveEv+0x80) [0x45cb30]
[cp0233:26977] [ 7] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libcompressibleTwoPhaseSystem3.so(_ZN4Foam11classMethod7correctEv+0x123b) [0x2b309a7f787b]
[cp0233:26977] [ 8] twoPhaseEulerCMFoam() [0x4881ce]
[cp0233:26977] [ 9] /lib64/libc.so.6(__libc_start_main+0xfd) [0x3565a1ed5d]
[cp0233:26977] [10] twoPhaseEulerCMFoam() [0x4349a9]
[cp0233:26977] *** End of error message ***
[20]  in "/home/ehsanam/OpenFOAM/ehsanam-2.3.0/platforms/linux64GccDPOpt/bin/twoPhaseEulerCMFoam"
[cp0233:26994] *** Process received signal ***
[cp0233:26994] Signal: Floating point exception (8)
[cp0233:26994] Signal code:  (-6)
[cp0233:26994] Failing at address: 0x2e5f5200006972
[cp0233:26994] [ 0] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26994] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x3565a32625]
[cp0233:26994] [ 2] /lib64/libc.so.6() [0x3565a326a0]
[cp0233:26994] [ 3] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam5PBiCG5solveERNS_5FieldIdEERKS2_h+0xaa8) [0x2ab939a6d6a8]
[cp0233:26994] [ 4] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE15solveSegregatedERKNS_10dictionaryE+0x11f) [0x2ab938654e2f]
[cp0233:26994] [ 5] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveERKNS_10dictionaryE+0xf7) [0x45c8e7]
[cp0233:26994] [ 6] twoPhaseEulerCMFoam(_ZN4Foam8fvMatrixIdE5solveEv+0x80) [0x45cb30]
[cp0233:26994] [ 7] /home/ehsanam/OpenFOAM/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/lib/libcompressibleTwoPhaseSystem3.so(_ZN4Foam11classMethod7correctEv+0x123b) [0x2ab93773087b]
[cp0233:26994] [ 8] twoPhaseEulerCMFoam() [0x4881ce]
[cp0233:26994] [ 9] /lib64/libc.so.6(__libc_start_main+0xfd) [0x3565a1ed5d]
[cp0233:26994] [10] twoPhaseEulerCMFoam() [0x4349a9]
[cp0233:26994] *** End of error message ***
--------------------------------------------------------------------------
mpiexec noticed that process rank 5 with PID 26979 on node cp0233 exited on signal 8 (Floating point exception).
--------------------------------------------------------------------------
[cp0233:26973] 23 more processes have sent help message help-mpi-runtime.txt / mpi_init:warn-fork
[cp0233:26973] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
Attached Files
File Type: txt logfile.txt (62.1 KB, 0 views)
ehsan_am86 is offline   Reply With Quote

Old   May 24, 2016, 02:37
Post Foam::error::printStack(Foam::Ostream&) at ??:?
  #32
Member
 
AJAY BHANDARI
Join Date: Jul 2015
Location: INDIA
Posts: 41
Rep Power: 3
AJAY BHANDARI is on a distinguished road
HI all,

I think my post best fits here. I am getting the same error as above posts. My solver is compiling with no error but when i am solving my case with the solver this error comes..

#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::sigFpe::sigHandler(int) at ??:?
#2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) at ??:?
#4 void Foam::divide<Foam::fvPatchField, Foam::volMesh>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:?
#5 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam:perator/<Foam::fvPatchField, Foam::volMesh>(Foam::tmp<Foam::GeometricField<doub le, Foam::fvPatchField, Foam::volMesh> > const&, Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > const&) at ??:?
#6 ? at ??:?
#7 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#8 ? at ??:?
Floating point exception (core dumped)

THe equation that i am solving is


solve
(
fvm::ddt(C)
+ (1/por)*fvm::div(phi, C)
- fvm::laplacian(D, C)
+ fvm::Sp((1/por)*(((hc*sapuv*(vfp-p-orc*(pop-ifpop)))*(1-orl))/((Foam::exp((hc*sapuv*(vfp-p-orc*(pop-ifpop)))*(1-orl)/ktrans))-1)), C)
+ fvm::Sp((lfc/por)*(p-lp), C)
+ fvm::Sp((krel/por), C)
==
(((hc*sapuv*(vfp-p-orc*(pop-ifpop)))*(1-orl))*Cp) + (Cp*(((hc*sapuv*(vfp-p-orc*(pop-ifpop)))*(1-orl))/((Foam::exp((hc*sapuv*(vfp-p-orc*(pop-ifpop)))*(1-orl)/ktrans))-1)))

);
I know that sigFpe error comes because of 0/0 form but i have checked all my variables.
I am not able to find error. Any help will be appreciated. Any further information needed kindly tell.

Regards
Ajay
AJAY BHANDARI is offline   Reply With Quote

Old   May 24, 2016, 09:52
Default
  #33
New Member
 
Ehsan
Join Date: Aug 2010
Location: QC, Canada
Posts: 28
Rep Power: 8
ehsan_am86 is on a distinguished road
Hi AJAY,

Do you have same error in serial mode or just in parallel mode?

Quote:
Originally Posted by AJAY BHANDARI View Post
HI all,

I think my post best fits here. I am getting the same error as above posts. My solver is compiling with no error but when i am solving my case with the solver this error comes..

#0 Foam::error:rintStack(Foam::Ostream&) at ??:?
#1 Foam::sigFpe::sigHandler(int) at ??:?
#2 ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3 Foam::divide(Foam::Field<double>&, Foam::UList<double> const&, Foam::UList<double> const&) at ??:?
#4 void Foam::divide<Foam::fvPatchField, Foam::volMesh>(Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&) at ??:?
#5 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam:perator/<Foam::fvPatchField, Foam::volMesh>(Foam::tmp<Foam::GeometricField<doub le, Foam::fvPatchField, Foam::volMesh> > const&, Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > const&) at ??:?
#6 ? at ??:?
#7 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#8 ? at ??:?
Floating point exception (core dumped)

THe equation that i am solving is


solve
(
fvm::ddt(C)
+ (1/por)*fvm::div(phi, C)
- fvm::laplacian(D, C)
+ fvm::Sp((1/por)*(((hc*sapuv*(vfp-p-orc*(pop-ifpop)))*(1-orl))/((Foam::exp((hc*sapuv*(vfp-p-orc*(pop-ifpop)))*(1-orl)/ktrans))-1)), C)
+ fvm::Sp((lfc/por)*(p-lp), C)
+ fvm::Sp((krel/por), C)
==
(((hc*sapuv*(vfp-p-orc*(pop-ifpop)))*(1-orl))*Cp) + (Cp*(((hc*sapuv*(vfp-p-orc*(pop-ifpop)))*(1-orl))/((Foam::exp((hc*sapuv*(vfp-p-orc*(pop-ifpop)))*(1-orl)/ktrans))-1)))

);
I know that sigFpe error comes because of 0/0 form but i have checked all my variables.
I am not able to find error. Any help will be appreciated. Any further information needed kindly tell.

Regards
Ajay
ehsan_am86 is offline   Reply With Quote

Old   May 24, 2016, 12:14
Smile
  #34
Member
 
AJAY BHANDARI
Join Date: Jul 2015
Location: INDIA
Posts: 41
Rep Power: 3
AJAY BHANDARI is on a distinguished road
Thanks ehsan for your quick reply. But i was able to solve it today.

Actually in my code the variable orl value was wrongly input by me as 1 which made the denominator term zero. thats why sigFpe error was coming.

But i corrected it and solver ran successfully. But thanks for your reply...
AJAY BHANDARI is offline   Reply With Quote

Old   May 24, 2016, 12:30
Default
  #35
New Member
 
Ehsan
Join Date: Aug 2010
Location: QC, Canada
Posts: 28
Rep Power: 8
ehsan_am86 is on a distinguished road
You are welcome,

So it means that your code was in serial mode?

I asked if it is in serial or parallel mode because I have the same bug as u had.

But the strange thing for this is the fact that, my costume solver works properly in serial mode but it does not work in parallel mode (please see my last post above) and after few iterations it is stopped.



Quote:
Originally Posted by AJAY BHANDARI View Post
Thanks ehsan for your quick reply. But i was able to solve it today.

Actually in my code the variable orl value was wrongly input by me as 1 which made the denominator term zero. thats why sigFpe error was coming.

But i corrected it and solver ran successfully. But thanks for your reply...
ehsan_am86 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Script to Run Parallel Jobs in Rocks Cluster asaha OpenFOAM Running, Solving & CFD 12 July 4, 2012 22:51
SimpleFoam run in Parallel jayrup OpenFOAM 8 November 25, 2010 01:43
Error running simpleFoam in parallel skabilan OpenFOAM Running, Solving & CFD 2 August 29, 2008 09:42
Own boundary condition modified simpleFoam erorr in parallel execution sponiar OpenFOAM Running, Solving & CFD 1 August 27, 2008 09:16
Parallel Computing Classes at San Diego Supercomputer Center Jan. 20-22 Amitava Majumdar Main CFD Forum 0 January 5, 1999 13:00


All times are GMT -4. The time now is 05:18.