|
[Sponsors] |
Foam::error::printStack(Foam::Ostream&) with simpleFoam -parallel |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#21 | |
Senior Member
|
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:
|
||
![]() |
![]() |
![]() |
![]() |
#22 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 52 ![]() ![]() |
Quote:
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
__________________
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 |
||
![]() |
![]() |
![]() |
![]() |
#23 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 129 ![]() ![]() ![]() ![]() ![]() ![]() |
Quote:
![]()
__________________
|
||
![]() |
![]() |
![]() |
![]() |
#24 | |||||||||
Senior Member
|
Quote:
right now I think you are right in someways. here are my K and epsilon boundary conditions: For Processor0: k Quote:
Quote:
k Quote:
Quote:
Quote:
controlDict Quote:
Quote:
Quote:
|
||||||||||
![]() |
![]() |
![]() |
![]() |
#25 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 129 ![]() ![]() ![]() ![]() ![]() ![]() |
@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:
As for the following line: Code:
value nonuniform 0(); Best regards, Bruno
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#26 | |
Senior Member
|
Quote:
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 |
||
![]() |
![]() |
![]() |
![]() |
#27 |
New Member
M Bay
Join Date: Jun 2013
Location: Germany
Posts: 10
Rep Power: 13 ![]() |
Hi everybody,
I m having as it seems the same Probleme ![]() 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 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 Last edited by wyldckat; August 17, 2013 at 09:16. Reason: Added [CODE][/CODE] |
|
![]() |
![]() |
![]() |
![]() |
#28 |
Member
Alpesh
Join Date: Jan 2011
Location: Germany
Posts: 52
Rep Power: 16 ![]() |
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. Kind Regards Last edited by wyldckat; August 19, 2013 at 13:44. Reason: Added [CODE][/CODE] |
|
![]() |
![]() |
![]() |
![]() |
#29 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 129 ![]() ![]() ![]() ![]() ![]() ![]() |
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
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#30 | |
New Member
Carl Liu
Join Date: Apr 2014
Posts: 3
Rep Power: 12 ![]() |
Quote:
Similar problem happens in my case (ubuntu 12.04, OF 230, pimpleDyMFoam/propeller). It also solved my problem! Thank you so much! |
||
![]() |
![]() |
![]() |
![]() |
#31 |
New Member
Ehsan
Join Date: Aug 2010
Location: QC, Canada
Posts: 29
Rep Power: 16 ![]() |
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 |
|
![]() |
![]() |
![]() |
![]() |
#32 |
Member
AJAY BHANDARI
Join Date: Jul 2015
Location: INDIA
Posts: 57
Rep Power: 11 ![]() |
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: ![]() #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: ![]() #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 |
|
![]() |
![]() |
![]() |
![]() |
#33 | |
New Member
Ehsan
Join Date: Aug 2010
Location: QC, Canada
Posts: 29
Rep Power: 16 ![]() |
Hi AJAY,
Do you have same error in serial mode or just in parallel mode? Quote:
|
||
![]() |
![]() |
![]() |
![]() |
#34 |
Member
AJAY BHANDARI
Join Date: Jul 2015
Location: INDIA
Posts: 57
Rep Power: 11 ![]() |
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... |
|
![]() |
![]() |
![]() |
![]() |
#35 | |
New Member
Ehsan
Join Date: Aug 2010
Location: QC, Canada
Posts: 29
Rep Power: 16 ![]() |
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:
|
||
![]() |
![]() |
![]() |
![]() |
#36 |
Senior Member
Guilherme
Join Date: Apr 2017
Posts: 246
Rep Power: 10 ![]() |
"The costume code works in serial mode but not in parallel"
I'm having the same problem to run problems in parallel. Would anyone know the source of this error ?! Error: Code:
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 5.x | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 5.x-197d9d3bf20a Exec : simpleFoam -parallel Date : Apr 29 2018 Time : 14:00:07 Host : "user" PID : 5944 I/O : uncollated Case : /home/user/RUN/mesh_RANS/teste nProcs : 6 Slaves : 5 ( "user.5945" "user.5946" "user.5947" "user.5948" "user.5949" ) Pstream initialized with: floatTransfer : 0 nProcsSimpleSum : 0 commsType : nonBlocking polling iterations : 0 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Create mesh for time = 0 SIMPLE: convergence criteria field p tolerance 1e-08 field U tolerance 1e-07 field k tolerance 1e-07 Reading field p Reading field U Reading/calculating face flux field phi Selecting incompressible transport model Newtonian Selecting turbulence model type RAS Selecting RAS turbulence model kOmegaSST Selecting patchDistMethod meshWave RAS { RASModel kOmegaSST; turbulence on; printCoeffs on; alphaK1 0.85; alphaK2 1; alphaOmega1 0.5; alphaOmega2 0.856; gamma1 0.555556; gamma2 0.44; beta1 0.075; beta2 0.0828; betaStar 0.09; a1 0.31; b1 1; c1 10; F3 false; } No MRF models present Creating finite volume options from "constant/fvOptions" Selecting finite volume options model type meanVelocityForce Source: momentumSource - selecting all cells - selected 37485 cell(s) with volume 6.39912e-06 Initial pressure gradient = 0 Starting time loop [0] #0 Foam::error::printStack(Foam::Ostream&) at ??:? [0] #1 Foam::sigFpe::sigHandler(int) at ??:? [0] #2 ? in "/lib/x86_64-linux-gnu/libc.so.6" [0] #3 Foam::polyMeshTetDecomposition::findSharedBasePoint(Foam::polyMesh const&, int, Foam::Vector<double> const&, double, bool) at ??:? [0] #4 Foam::polyMeshTetDecomposition::findFaceBasePts(Foam::polyMesh const&, double, bool) at ??:? [0] #5 Foam::polyMesh::tetBasePtIs() const at ??:? [0] #6 Foam::polyMesh::findCell(Foam::Vector<double> const&, Foam::polyMesh::cellDecomposition) const at ??:? [0] #7 Foam::probes::findElements(Foam::fvMesh const&) at ??:? [0] #8 Foam::probes::read(Foam::dictionary const&) at ??:? [0] #9 Foam::probes::probes(Foam::word const&, Foam::Time const&, Foam::dictionary const&) at ??:? [0] #10 Foam::functionObject::adddictionaryConstructorToTable<Foam::probes>::New(Foam::word const&, Foam::Time const&, Foam::dictionary const&) at ??:? [0] #11 Foam::functionObject::New(Foam::word const&, Foam::Time const&, Foam::dictionary const&) at ??:? [0] #12 Foam::functionObjects::timeControl::timeControl(Foam::word const&, Foam::Time const&, Foam::dictionary const&) at ??:? [0] #13 Foam::functionObjectList::read() at ??:? [0] #14 Foam::Time::loop() at ??:? [0] #15 Foam::simpleControl::loop() at ??:? [0] #16 ? at ??:? [0] #17 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" [0] #18 ? at ??:? [user:05944] *** Process received signal *** [user:05944] Signal: Floating point exception (8) [user:05944] Signal code: (-6) [user:05944] Failing at address: 0x3e800001738 [user:05944] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x354b0)[0x7f6d861584b0] [user:05944] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7f6d86158428] [user:05944] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x354b0)[0x7f6d861584b0] [user:05944] [ 3] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam24polyMeshTetDecomposition19findSharedBasePointERKNS_8polyMeshEiRKNS_6VectorIdEEdb+0x193)[0x7f6d875763d3] [user:05944] [ 4] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam24polyMeshTetDecomposition15findFaceBasePtsERKNS_8polyMeshEdb+0x36b)[0x7f6d8757918b] [user:05944] [ 5] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam8polyMesh11tetBasePtIsEv+0x109)[0x7f6d875947f9] [user:05944] [ 6] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZNK4Foam8polyMesh8findCellERKNS_6VectorIdEENS0_17cellDecompositionE+0xd5)[0x7f6d875954d5] [user:05944] [ 7] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libsampling.so(_ZN4Foam6probes12findElementsERKNS_6fvMeshE+0x100)[0x7f6d87bd1660] [user:05944] [ 8] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libsampling.so(_ZN4Foam6probes4readERKNS_10dictionaryE+0x182)[0x7f6d87bd3062] [user:05944] [ 9] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libsampling.so(_ZN4Foam6probesC2ERKNS_4wordERKNS_4TimeERKNS_10dictionaryE+0x343)[0x7f6d87bd39f3] [user:05944] [10] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libsampling.so(_ZN4Foam14functionObject31adddictionaryConstructorToTableINS_6probesEE3NewERKNS_4wordERKNS_4TimeERKNS_10dictionaryE+0x32)[0x7f6d87beb522] [user:05944] [11] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam14functionObject3NewERKNS_4wordERKNS_4TimeERKNS_10dictionaryE+0x52c)[0x7f6d873b85cc] [user:05944] [12] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam15functionObjects11timeControlC1ERKNS_4wordERKNS_4TimeERKNS_10dictionaryE+0x24a)[0x7f6d873cbfba] [user:05944] [13] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam18functionObjectList4readEv+0xab6)[0x7f6d873bbcd6] [user:05944] [14] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so(_ZN4Foam4Time4loopEv+0x115)[0x7f6d873d0625] [user:05944] [15] /opt/openfoam5/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so(_ZN4Foam13simpleControl4loopEv+0x14d)[0x7f6d89bb3afd] [user:05944] [16] simpleFoam[0x423a26] [user:05944] [17] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf0)[0x7f6d86143830] [user:05944] [18] simpleFoam[0x426fe9] [user:05944] *** End of error message *** -------------------------------------------------------------------------- mpirun noticed that process rank 0 with PID 5944 on node user exited on signal 8 (Floating point exception). -------------------------------------------------------------------------- Last edited by wyldckat; April 30, 2018 at 08:56. Reason: Replaced Ubuntu Pastebin for actual output |
|
![]() |
![]() |
![]() |
![]() |
#37 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 129 ![]() ![]() ![]() ![]() ![]() ![]() |
Quick answer: My guess is that the "probes" entry in "controlDict" has positions in the wrong places. Notice that checkMesh has reported that the overall domain has around 6 mm of length in each direction.
__________________
|
|
![]() |
![]() |
![]() |
![]() |
#38 |
New Member
Join Date: Jun 2018
Posts: 1
Rep Power: 0 ![]() |
Hello!
I am trying to run my code and this is the error coming: 0 Foam::error: ![]() #1 Foam::sigFpe::sigHandler(int) at ??:? #2 ? in "/lib/x86_64-linux-gnu/libc.so.6" #3 Foam: ![]() #4 Foam: ![]() ![]() #5 Foam::lduMatrix: ![]() ![]() #6 Foam::lduMatrix: ![]() #7 Foam::PCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const at ??:? #8 Foam::fvMatrix<double>::solveSegregated(Foam::dict ionary const&) at ??:? #9 Foam::fvMatrix<double>::solve(Foam::dictionary const&) at ??:? #10 ? at ??:? #11 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #12 ? at ??:? Floating point exception can you please guide me if i send you my code? |
|
![]() |
![]() |
![]() |
![]() |
#39 |
New Member
Maheandar
Join Date: Oct 2017
Posts: 11
Rep Power: 9 ![]() |
Hallo,
I am doing simulation in openfoam as xifoam solver. I got the same error, how I clear this error. Thanks and expecting your favourable reply. Foam::error: ![]() #1 Foam::sigFpe::sigHandler(int) at ??:? #2 ? in "/lib/x86_64-linux-gnu/libc.so.6" #3 Foam::sqrt(Foam::Field<double>&, Foam::UList<double> const&) at ??:? #4 Foam::tmp<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> > Foam::sqrt<Foam::fvPatchField, Foam::volMesh>(Foam::tmp<Foam::GeometricField<doub le, Foam::fvPatchField, Foam::volMesh> > const&) at ??:? #5 ? at ??:? #6 __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6" #7 ? at ??:? <double>&, Foam::UList<double> const&) at ??:? bash: syntax error near unexpected token `Foam::Field' [1]+ Floating point exception(core dumped) XiFoam > Result |
|
![]() |
![]() |
![]() |
![]() |
#40 |
Member
AJAY BHANDARI
Join Date: Jul 2015
Location: INDIA
Posts: 57
Rep Power: 11 ![]() |
Hi mahendra,
As you can see in first line terminal is showing sigFpe error. This type of error comes when openFOAM is encountring 0/0 form somewhere in the calculations. You need to check your variable values which you might have created in the createfields.H file. (Check there values in 0 folder). Also, this type of error can also come when your boundary conditions are not correct. So check your BC as well on the patches. Best Ajay |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
SimpleFoam run in Parallel | jayrup | OpenFOAM | 9 | July 26, 2019 01:00 |
Script to Run Parallel Jobs in Rocks Cluster | asaha | OpenFOAM Running, Solving & CFD | 12 | July 4, 2012 23:51 |
Error running simpleFoam in parallel | skabilan | OpenFOAM Running, Solving & CFD | 2 | August 29, 2008 10:42 |
Own boundary condition modified simpleFoam erorr in parallel execution | sponiar | OpenFOAM Running, Solving & CFD | 1 | August 27, 2008 10:16 |
Parallel Computing Classes at San Diego Supercomputer Center Jan. 20-22 | Amitava Majumdar | Main CFD Forum | 0 | January 5, 1999 13:00 |