CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   parallel processing Error (http://www.cfd-online.com/Forums/openfoam/124777-parallel-processing-error.html)

AmirBaqa1987 October 12, 2013 18:31

parallel processing Error
 
Hi Dear All
I can not run my case in parallel while I've run the case in serial with no problem.
the geometry is pipe with length and diameter equal to 4m and 0.025m in order.

the Error :
Code:

[1] #0  Foam::error::printStack(Foam::Ostream&)[3] #0  Foam::error::printStack(Foam::Ostream&)[2] #0  [4] #0  Foam::error::printStack(Foam::Ostream&)Foam::error::printStack(Foam::Ostream&)[0] #0  [5] #0  Foam::error::printStack(Foam::Ostream&)Foam::error::printStack(Foam::Ostream&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[4] #1  Foam::sigFpe::sigHandler(int) in "/opt/openfoam211/p in "/opt/openfoam211/platforms/llatforms/linux64GccDPOptinux64GccDPOpt/lib/libOpenFOAM.so"
[1] #1/lib/libOpenFOAM.so"
[3] #1    Foam::sigFpe::sigHandler(int)Foam::sigFpe::sigHandler(int) in  in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so""/opt/openfoam211/platforms/l
[0] #1  inux64GccDPOpt/lib/libOpenFOAM.so"
Foam::sigFpe::sigHandler(int)[5] #1  Foam::sigFpe::sigHandler(int) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[2] #1  Foam::sigFpe::sigHandler(int) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[3] #2  in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[1] #2  in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[5] #2  in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[4] #2  in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[0] #2  in "/lib/x86_64-linux-gnu/libc.so.6" in "/opt/openf
[3] #3  Foam::PBiCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) constoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[2] #2  in "/lib/x86_64-linux-gnu/libc.so.6"
[1] #3  Foam::PBiCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/lib/x86_64-linux-gnu/libc.so.6"
[5] #3  Foam::PBiCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/lib/x86_64-linux-gnu/libc.so.6"
[4] #3  Foam::PBiCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/lib/x86_64-linux-gnu/libc.so.6"
[2] #3  Foam::PBiCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/lib/x86_64-linux-gnu/libc.so.6"
[0] #3  Foam::PBiCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[3] #4  Foam::fvMatrix<double>::solve(Foam::dictionary const&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[5] #4  Foam::fvMatrix<double>::solve(Foam::dictionary const&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
 in "[1] #4  Foam::fvMatrix<double>::solve(Foam::dictionary const&)/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[4] #4  Foam::fvMatrix<double>::solve(Foam::dictionary const&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[2] #4  Foam::fvMatrix<double>::solve(Foam::dictionary const&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[0] #4  Foam::fvMatrix<double>::solve(Foam::dictionary const&) in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
[1] #5  in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
[3] #5  in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
[5] #5  in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
[2] #5  in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
[4] #5  Foam::fvMatrix<double>::solve()Foam::fvMatrix<double>::solve()Foam::fvMatrix<double>::solve()Foam::fvMatrix<double>::solve() in "/opt/openfoam211/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
[0] #5  Foam::fvMatrix<double>::solve() in "/home/amir/OpenFOAM/amir-2.1.1/platforms/linux64GccDPOpt/bin/nanoHeatSimpleFoam"
[1] #6  in "/home/amir/OpenFOAM/amir-2.1.1/platforms/linux64GccDPOpt/bin/nanoHeatSimpleFoam"
[4] #6  Foam::fvMatrix<double>::solve() in "/home/amir/OpenFOAM/amir-2.1.1/platforms/linux64GccDPOpt/bin/nanoHeatSimpleFoam"
[3] #6  in "/home/amir/OpenFOAM/amir-2.1.1/platforms/linux64GccDPOpt/bin/nanoHeatSimpleFoam"
[5] #6  in "/home/amir/OpenFOAM/amir-2.1.1/platforms/linux64GccDPOpt/bin/nanoHeatSimpleFoam"
[2] #6 


 in "/home/amir/OpenFOAM/amir-2.1.1/platforms/linux64GccDPOpt/bin/nanoHeatSimpleFoam"
[0] #6 

[5]  in "/home/amir/OpenFOAM/amir-2.1.1/platforms/linux64GccDPOpt/bin/nanoHeatSimpleFoam"
[5] #7  __libc_start_main[1]  in "/home/amir/OpenFOAM/amir-2.1.1/platforms/linux64GccDPOpt/bin/nanoHeatSimpleFoam"
[1] #7  __libc_start_main
[3]  in "/home/amir/OpenFOAM/amir-2.1.1/platforms/li[4]  in "/home/amir/Opnux64GccDPOpt/bin/nanoHeatSimpleFoam"
[3] #7  __libc_start_mainenFOAM/amir-2.1.1/platforms/linux64GccDPOpt/bin/nanoHeatSimpleFoam"
[4] #7  __libc_start_main[2]  in "/home/amir/OpenFOAM/amir-2.1.1/platforms/linux64GccDPOpt/bin/nanoHeatSimpleFoam"
[2] #7  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
[5] #8  in "/lib/x86_64-linux-gnu/libc.so.6"
[4] #8  [0]  in "/home/amir/OpenFOAM/amir-2.1.1/platforms/linux64GccDPOpt/bin/nanoHeatSimpleFoam"
[0] #7  __libc_start_main
 in "/lib/x86_64-linux-gnu/libc.so.6"
[1] #8  in "/lib/x86_64-linux-gnu/libc.so.6"
[2] #8  in "/lib/x86_64-linux-gnu/libc.so.6"
[3] #8  in "/lib/x86_64-linux-gnu/libc.so.6"
[0] #8 

[5]  in "/home/amir/OpenFOAM/amir-2.1.1/platforms/linux64GccDPOpt/bin/nanoHeatSimpleFoam"
[amir-VPCF22CFX:14344] *** Process received signal ***
[amir-VPCF22CFX:14344] Signal: Floating point exception (8)
[amir-VPCF22CFX:14344] Signal code:  (-6)
[amir-VPCF22CFX:14344] Failing at address: 0x3e800003808
[amir-VPCF22CFX:14344] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7fd753b934a0]
[amir-VPCF22CFX:14344] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7fd753b93425]
[amir-VPCF22CFX:14344] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7fd753b934a0]
[amir-VPCF22CFX:14344] [ 3] /opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam5PBiCG5solveERNS_5FieldIdEERKS2_h+0xd95) [0x7fd754bc5e55]
[amir-VPCF22CFX:14344] [ 4] /opt/openfoam211/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE5solveERKNS_10dictionaryE+0x137) [0x7fd755c59307]
[amir-VPCF22CFX:14344] [ 5] nanoHeatSimpleFoam(_ZN4Foam8fvMatrixIdE5solveEv+0xdb) [0x428d1b]
[amir-VPCF22CFX:14344] [ 6] nanoHeatSimpleFoam() [0x419f7b]
[amir-VPCF22CFX:14344] [ 7] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fd753b7e76d]
[amir-VPCF22CFX:14344] [ 8] nanoHeatSimpleFoam() [0x41c73d]
[amir-VPCF22CFX:14344] *** End of error message ***
[3]  in "/home/amir/OpenFOAM/amir-2.1.1/platforms/linux64GccDPOpt/bin/nanoHeatSimpleFoam"
[amir-VPCF22CFX:14342] *** Process received signal ***
[amir-VPCF22CFX:14342] Signal: Floating point exception (8)
[amir-VPCF22CFX:14342] Signal code:  (-6)
[amir-VPCF22CFX:14342] Failing at address: 0x3e800003806

[2]  in "/home/amir/OpenFOAM/amir-2.1.1/platforms/linux64GccDPOpt/bin/nanoHeatSimpleFoam"

[amir-VPCF22CFX:14342] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7fab381b44a0]
[amir-VPCF22CFX:14342] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7fab381b4425]
[amir-VPCF22CFX:14342] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7fab381b44a0]
[amir-VPCF22CFX:14342] [ 3] /opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam5PBiCG5solveERNS_5FieldIdEERKS2_h+0xd95) [0x7fab391e6e55]
[amir-VPCF22CFX:14342] [ 4] /opt/openfoam211/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE5solveERKNS_10dictionaryE+0x137) [0x7fab3a27a307]
[amir-VPCF22CFX:14342] [ 5] nanoHeatSimpleFoam(_ZN4Foam8fvMatrixIdE5solveEv+0xdb) [0x428d1b]
[amir-VPCF22CFX:14342] [ 6] nanoHeatSimpleFoam() [0x419f7b]
[amir-VPCF22CFX:14342] [ 7] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7fab3819f76d]
[amir-VPCF22CFX:14342] [ 8] nanoHeatSimpleFoam() [0x41c73d]
[amir-VPCF22CFX:14342] *** End of error message ***
[amir-VPCF22CFX:14341] *** Process received signal ***
[amir-VPCF22CFX:14341] Signal: Floating point exception (8)
[amir-VPCF22CFX:14341] Signal code:  (-6)
[amir-VPCF22CFX:14341] Failing at address: 0x3e800003805

[amir-VPCF22CFX:14341] [ 0] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f4e0d4914a0]
[amir-VPCF22CFX:14341] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x35) [0x7f4e0d491425]
[amir-VPCF22CFX:14341] [ 2] /lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f4e0d4914a0]
[amir-VPCF22CFX:14341] [ 3] /opt/openfoam211/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam5PBiCG5solveERNS_5FieldIdEERKS2_h+0xd95) [0x7f4e0e4c3e55]
[amir-VPCF22CFX:14341] [ 4] /opt/openfoam211/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE5solveERKNS_10dictionaryE+0x137) [0x7f4e0f557307]
[amir-VPCF22CFX:14341] [ 5] nanoHeatSimpleFoam(_ZN4Foam8fvMatrixIdE5solveEv+0xdb) [0x428d1b]
[amir-VPCF22CFX:14341] [ 6] nanoHeatSimpleFoam() [0x419f7b]
[amir-VPCF22CFX:14341] [ 7] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f4e0d47c76d]
[amir-VPCF22CFX:14341] [ 8] nanoHeatSimpleFoam() [0x41c73d]
[amir-VPCF22CFX:14341] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 3 with PID 14342 on node amir-VPCF22CFX exited on signal 8 (Floating point exception).
--------------------------------------------------------------------------
2 total processes killed (some possibly by mpirun during cleanup)

maybe the problem is that some where division by zero is happen because of poor mesh quality.I've generated the mesh in following manner:
(110 10 10)

your help is appreciated.
Thanks
Arjang

fumiya October 12, 2013 21:01

Hi,

Are you able to successfully run your solver in parallel if you change the decomposition method?

Fumiya

AmirBaqa1987 October 13, 2013 04:18

Quote:

Originally Posted by fumiya (Post 456587)
Hi,

Are you able to successfully run your solver in parallel if you change the decomposition method?

Fumiya

Hi Dear Fumiya

no, I've changed the decomposition method , once I've selected simple method and another time hierarchical method but I was not successful .

AmirBaqa1987 October 15, 2013 14:18

nobody can help !!!

wyldckat October 15, 2013 17:09

Greetings to all!

@Arjang: Well... it's possible to help you, but not with just this little amount of information :(. To understand what I mean, read this: http://www.cfd-online.com/Forums/ope...-get-help.html

Because from the output you provided, the only thing that can be seen is that:
  1. There was a SIGFPE: http://en.wikipedia.org/wiki/SIGFPE#SIGFPE
  2. It occurred in:
    Code:

    Foam::PBiCG::solve
And that's it. There is nothing else that can be deduced from this output!


So, given the amount of available information, the only suggestion I can make is this - read this page: http://openfoamwiki.net/index.php/HowTo_debugging

Best regards,
Bruno

AmirBaqa1987 November 5, 2013 02:48

Thanks Dear Bruno
I've solved the problem by using your tip.

the problem was with mesh quality.

best regards.
Arjang


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