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

what is this error?and what should I do?

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 21, 2013, 07:04
Unhappy what is this error?and what should I do?
  #1
New Member
 
liuke
Join Date: Apr 2013
Posts: 17
Rep Power: 4
liuke870915 is on a distinguished road
[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).
liuke870915 is offline   Reply With Quote

Old   May 21, 2013, 10:51
Default
  #2
Senior Member
 
HECKMANN Frédéric
Join Date: Jul 2010
Posts: 236
Rep Power: 7
fredo490 is on a distinguished road
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: How to give enough info to get help
fredo490 is offline   Reply With Quote

Old   May 21, 2013, 19:41
Default thank you!
  #3
New Member
 
liuke
Join Date: Apr 2013
Posts: 17
Rep Power: 4
liuke870915 is on a distinguished road
Quote:
Originally Posted by fredo490 View Post
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: How to give enough info to get help
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 !!
liuke870915 is offline   Reply With Quote

Old   May 22, 2013, 00:19
Default
  #4
Senior Member
 
HECKMANN Frédéric
Join Date: Jul 2010
Posts: 236
Rep Power: 7
fredo490 is on a distinguished road
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.
fredo490 is offline   Reply With Quote

Old   May 22, 2013, 05:39
Default
  #5
Senior Member
 
Tushar Chourushi
Join Date: Jul 2009
Location: IIT-Indore, India
Posts: 318
Blog Entries: 1
Rep Power: 8
Tushar@cfd is on a distinguished road
Quote:
Originally Posted by liuke870915 View Post
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.
Tushar@cfd is offline   Reply With Quote

Old   May 22, 2013, 07:01
Default
  #6
New Member
 
liuke
Join Date: Apr 2013
Posts: 17
Rep Power: 4
liuke870915 is on a distinguished road
Quote:
Originally Posted by Tushar@cfd View Post
Try pasting the screen shot here without giving a parallel run.
thank you!!
liuke870915 is offline   Reply With Quote

Old   May 22, 2013, 07:08
Default
  #7
New Member
 
liuke
Join Date: Apr 2013
Posts: 17
Rep Power: 4
liuke870915 is on a distinguished road
Quote:
Originally Posted by fredo490 View Post
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!
liuke870915 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
GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM 300 October 29, 2014 19:00
c++ libraries and solver compiling vaina74 OpenFOAM Installation 13 February 3, 2012 18:43
Saving ParaFoam views and case sail OpenFOAM Paraview & paraFoam 9 November 25, 2011 16:46
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51
user defined function cfduser CFX 0 April 29, 2006 10:58


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