CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Programming & Development (http://www.cfd-online.com/Forums/openfoam-programming-development/)
-   -   what is this error?and what should I do? (http://www.cfd-online.com/Forums/openfoam-programming-development/118110-what-error-what-should-i-do.html)

liuke870915 May 21, 2013 07:04

what is this error?and what should I do?
 
:confused:[1] #0 Foam::error:: printStack(Foam::Ostream&)[0] #0 Foam::error:: printStack(Foam::Ostream&) in "/opt/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[1] #1 Foam::sigFpe::sigHandler(int) in "/opt/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[0] #1 Foam::sigFpe::sigHandler(int) in "/opt/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[0] #2
in "/opt/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[1] #2
[1] at sigaction.c:0
[1] #3 Foam::PCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const[0] at sigaction.c:0
[0] #3 Foam::PCG::solve(Foam::Field<double>&, Foam::Field<double> const&, unsigned char) const in "/opt/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[0] #4 Foam::fvMatrix<double>::solve(Foam::dictionary const&) in "/opt/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so"
[1] #4 Foam::fvMatrix<double>::solve(Foam::dictionary const&) in "/opt/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
[0] #5 in "/opt/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libfiniteVolume.so"
[1] #5 Foam::fvMatrix<double>::solve()Foam::fvMatrix<doub le>::solve() in "/root/OpenFOAM/root-2.1.1/platforms/linux64GccDPOpt/bin/electronicmagneticprojectionFoam"
[0] #6 in "/root/OpenFOAM/root-2.1.1/platforms/linux64GccDPOpt/bin/electronicmagneticprojectionFoam"
[1] #6
[0] in "/root/OpenFOAM/root-2.1.1/platforms/linux64GccDPOpt/bin/electronicmagneticprojectionFoam"
[0] #7 __libc_start_main[1] in "/root/OpenFOAM/root-2.1.1/platforms/linux64GccDPOpt/bin/electronicmagneticprojectionFoam"
[1] #7 __libc_start_main in "/lib64/libc.so.6"
[0] #8 in "/lib64/libc.so.6"
[1] #8
[1] in "/root/OpenFOAM/root-2.1.1/platforms/linux64GccDPOpt/bin/electronicmagneticprojectionFoam"
[dell:12378] *** Process received signal ***
[dell:12378] Signal: Floating point exception (8)
[dell:12378] Signal code: (-6)
[dell:12378] Failing at address: 0x305a
[dell:12378] [ 0] /lib64/libc.so.6() [0x332d432920]
[dell:12378] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x332d4328a5]
[dell:12378] [ 2] /lib64/libc.so.6() [0x332d432920]
[dell:12378] [ 3] /opt/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam3PCG5solveERNS_5FieldIdEER KS2_h+0xa51) [0x7f5b37afc9b1]
[dell:12378] [ 4] /opt/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE5solveERKNS _10dictionaryE+0x153) [0x7f5b365abe43]
[dell:12378] [ 5] electronicmagneticprojectionFoam(_ZN4Foam8fvMatrix IdE5solveEv+0xea) [0x465d7a]
[dell:12378] [ 6] electronicmagneticprojectionFoam() [0x4233c1]
[dell:12378] [ 7] /lib64/libc.so.6(__libc_start_main+0xfd) [0x332d41ecdd]
[dell:12378] [ 8] electronicmagneticprojectionFoam() [0x420ae9]
[dell:12378] *** End of error message ***
[0] in "/root/OpenFOAM/root-2.1.1/platforms/linux64GccDPOpt/bin/electronicmagneticprojectionFoam"
[dell:12377] *** Process received signal ***
[dell:12377] Signal: Floating point exception (8)
[dell:12377] Signal code: (-6)
[dell:12377] Failing at address: 0x3059
[dell:12377] [ 0] /lib64/libc.so.6() [0x332d432920]
[dell:12377] [ 1] /lib64/libc.so.6(gsignal+0x35) [0x332d4328a5]
[dell:12377] [ 2] /lib64/libc.so.6() [0x332d432920]
[dell:12377] [ 3] /opt/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libOpenFOAM.so(_ZNK4Foam3PCG5solveERNS_5FieldIdEER KS2_h+0xa51) [0x7f2ba8bd39b1]
[dell:12377] [ 4] /opt/OpenFOAM/OpenFOAM-2.1.1/platforms/linux64GccDPOpt/lib/libfiniteVolume.so(_ZN4Foam8fvMatrixIdE5solveERKNS _10dictionaryE+0x153) [0x7f2ba7682e43]
[dell:12377] [ 5] electronicmagneticprojectionFoam(_ZN4Foam8fvMatrix IdE5solveEv+0xea) [0x465d7a]
[dell:12377] [ 6] electronicmagneticprojectionFoam() [0x4233c1]
[dell:12377] [ 7] /lib64/libc.so.6(__libc_start_main+0xfd) [0x332d41ecdd]
[dell:12377] [ 8] electronicmagneticprojectionFoam() [0x420ae9]
[dell:12377] *** End of error message ***
--------------------------------------------------------------------------
mpirun noticed that process rank 0 with PID 12377 on node dell exited on signal 8 (Floating point exception).
:confused:

fredo490 May 21, 2013 10:51

If you don't tell us how you got this message, nobody will never come to help you ! We don't even know what you are running...

Ps: http://www.cfd-online.com/Forums/ope...-get-help.html

liuke870915 May 21, 2013 19:41

thank you!
 
Quote:

Originally Posted by fredo490 (Post 428930)
If you don't tell us how you got this message, nobody will never come to help you ! We don't even know what you are running...

Ps: http://www.cfd-online.com/Forums/ope...-get-help.html

I wrote a MHD solver,when i running this slover with B , strength of the magnetic fields,and its uniform number (0 0 0),there is not error,but when i running this slover with B and its uniform number (1 0 0),this error emerge after loop 85 times.
thank you !!

fredo490 May 22, 2013 00:19

Your report shows a Floating point exception that means that a calculation error happened (typically a division by 0 or any other mathematical nonsense). Your solver probably diverge or is unstable. Plot the residuals to check which variable messed up.

Tushar@cfd May 22, 2013 05:39

Quote:

Originally Posted by liuke870915 (Post 429036)
I wrote a MHD solver,when i running this slover with B , strength of the magnetic fields,and its uniform number (0 0 0),there is not error,but when i running this slover with B and its uniform number (1 0 0),this error emerge after loop 85 times.
thank you !!

Try pasting the screen shot here without giving a parallel run.

liuke870915 May 22, 2013 07:01

Quote:

Originally Posted by Tushar@cfd (Post 429148)
Try pasting the screen shot here without giving a parallel run.

thank you!!

liuke870915 May 22, 2013 07:08

Quote:

Originally Posted by fredo490 (Post 429082)
Your report shows a Floating point exception that means that a calculation error happened (typically a division by 0 or any other mathematical nonsense). Your solver probably diverge or is unstable. Plot the residuals to check which variable messed up.

thank you!
I try to amend the mesh and then have a try too!


All times are GMT -4. The time now is 19:57.