CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Bugs (http://www.cfd-online.com/Forums/openfoam-bugs/)
-   -   forces. (http://www.cfd-online.com/Forums/openfoam-bugs/83344-forces.html)

paka December 24, 2010 01:28

forces.
 
There is some strange happening. It already happened few times in my simulations, I'm not sure what is going on. It only happens when I submit my job in parallel. Any input on this?

Below please find the output on exit:

[0] #0 Foam::error::printStack(Foam::Ostream&) in "/mnt/work/pkgs/UH/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libOpenFOAM.so"
[0] #1 Foam::sigFpe::sigFpeHandler(int) in "/mnt/work/pkgs/UH/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libOpenFOAM.so"
[0] #2 __restore_rt at sigaction.c:0
[0] #3 void Foam::MULES::limiter<Foam::geometricOneField, Foam::zeroField, Foam::zeroField>(Foam::Field<double>&, Foam::geometricOneField const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::zeroField const&, Foam::zeroField const&, double, double, int) in "/mnt/work/pkgs/UH/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libfiniteVolume.so"
[0] #4 void Foam::MULES::explicitSolve<Foam::geometricOneField , Foam::zeroField, Foam::zeroField>(Foam::geometricOneField const&, Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh>&, Foam::zeroField const&, Foam::zeroField const&, double, double) in "/mnt/work/pkgs/UH/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libfiniteVolume.so"
[0] #5 Foam::MULES::explicitSolve(Foam::GeometricField<do uble, Foam::fvPatchField, Foam::volMesh>&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh> const&, Foam::GeometricField<double, Foam::fvsPatchField, Foam::surfaceMesh>&, double, double) in "/mnt/work/pkgs/UH/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libfiniteVolume.so"
[0] #6 ?? in "/mnt/work/pkgs/UH/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linux64GccDPOpt/interFoam"
[0] #7 __libc_start_main in "/lib64/libc.so.6"
[0] #8 Foam::regIOobject::writeObject(Foam::IOstream::str eamFormat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType) const in "/mnt/work/pkgs/UH/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linux64GccDPOpt/interFoam"
[r02n03:25671] *** Process received signal ***
[r02n03:25671] Signal: Floating point exception (8)
[r02n03:25671] Signal code: (-6)
[r02n03:25671] Failing at address: 0x22c00006447
[r02n03:25671] [ 0] /lib64/libc.so.6 [0x33d40302d0]
[r02n03:25671] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x33d4030265]
[r02n03:25671] [ 2] /lib64/libc.so.6 [0x33d40302d0]
[r02n03:25671] [ 3] /mnt/work/pkgs/UH/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libfiniteVolume.so(_ZN4Foam5MULES7limiterINS_17geo metricOneFieldENS_9zeroFieldES3_EEvRNS_5FieldIdEER KT_RKNS_14GeometricFieldIdNS_12fvPatchFieldENS_7vo lMeshEEERKNSA_IdNS_13fvsPatchFieldENS_11surfaceMes hEEESK_RKT0_RKT1_ddi+0x10f5) [0x2ae1e8268d45]
[r02n03:25671] [ 4] /mnt/work/pkgs/UH/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libfiniteVolume.so(_ZN4Foam5MULES13explicitSolveIN S_17geometricOneFieldENS_9zeroFieldES3_EEvRKT_RNS_ 14GeometricFieldIdNS_12fvPatchFieldENS_7volMeshEEE RKNS7_IdNS_13fvsPatchFieldENS_11surfaceMeshEEERSE_ RKT0_RKT1_dd+0x296) [0x2ae1e826bb76]
[r02n03:25671] [ 5] /mnt/work/pkgs/UH/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libfiniteVolume.so(_ZN4Foam5MULES13explicitSolveER NS_14GeometricFieldIdNS_12fvPatchFieldENS_7volMesh EEERKNS1_IdNS_13fvsPatchFieldENS_11surfaceMeshEEER S8_dd+0x24) [0x2ae1e825aa54]
[r02n03:25671] [ 6] interFoam [0x426893]
[r02n03:25671] [ 7] /lib64/libc.so.6(__libc_start_main+0xf4) [0x33d401d994]
[r02n03:25671] [ 8] interFoam(_ZNK4Foam11regIOobject11writeObjectENS_8 IOstream12streamFormatENS1_13versionNumberENS1_15c ompressionTypeE+0xf1) [0x41fc89]
[r02n03:25671] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 0 with PID 25671 on node r02n03.local exited on signal 8 (Floating point exception).
--------------------------------------------------------------------------

cjm April 19, 2011 02:57

Hej Paka,

I have the same error running an interFoam calculation on 4 Processors.
Did you get any answer to your question or did you solve it yourself?

Regards, Cjm

paka April 19, 2011 19:14

I don't remember at this point. There could be few things.

Make sure your controlDict points to the libraries. For example, I work on Mac, but cluster runs on Unix system. One of the systems has libraries defined as *.dylib, the other one *.lib.so.

Sometimes, the trouble is in your mesh. I cannot really explain it, but small change in your meshing software might make it work (happened to me few times).

However, usually, the trouble is in the mesh decomposition. No particular error, just how your domain in decomposeParDict i defined. Wether the partition is 4 by 4 or 2 by 8 etc. This one really depends on the shape of your domain.

I hope those tips will help you.


All times are GMT -4. The time now is 06:14.