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

Getting "Foam::sigFpe::sigHandler(int)" from custom code

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

Like Tree2Likes
  • 2 Post By wyldckat

Reply
 
LinkBack Thread Tools Display Modes
Old   January 10, 2014, 12:34
Default Getting "Foam::sigFpe::sigHandler(int)" from custom code
  #1
Member
 
Evangelos
Join Date: Sep 2011
Posts: 82
Rep Power: 7
Danath is on a distinguished road
Hello Foamers!

I developed my code and i run serial . For 2 paricles my code run very well !

when i put 3 particles and above my code halt with errors

Code:
 #0  Foam::error::printStack(Foam::Ostream&) in "/home/evangelos/OpenFOAM/OpenFOAM-2.2.1/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#1  Foam::sigFpe::sigHandler(int) in "/home/evangelos/OpenFOAM/OpenFOAM-2.2.1/platforms/linuxGccDPOpt/lib/libOpenFOAM.so"
#2  Uninterpreted: 
#3  Foam::ParamagneticForce<Foam::KinematicCloud<Foam::Cloud<Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > > > >::calcNonCoupled(Foam::CollidingParcel<Foam::KinematicParcel<Foam::particle> > const&, double, double, double, double) const in "/home/evangelos/OpenFOAM/OpenFOAM-2.2.1/platforms/linuxGccDPOpt/lib/liblagrangianIntermediate.so"
#4  
 in "/home/evangelos/OpenFOAM/evangelos-2.2.1/platforms/linuxGccDPOpt/bin/NanoTher"
#5  
 in "/home/evangelos/OpenFOAM/evangelos-2.2.1/platforms/linuxGccDPOpt/bin/NanoTher"
#6  
 in "/home/evangelos/OpenFOAM/evangelos-2.2.1/platforms/linuxGccDPOpt/bin/NanoTher"
#7  
 in "/home/evangelos/OpenFOAM/evangelos-2.2.1/platforms/linuxGccDPOpt/bin/NanoTher"
#8  
 in "/home/evangelos/OpenFOAM/evangelos-2.2.1/platforms/linuxGccDPOpt/bin/NanoTher"
#9  
 in "/home/evangelos/OpenFOAM/evangelos-2.2.1/platforms/linuxGccDPOpt/bin/NanoTher"
#10  
 in "/home/evangelos/OpenFOAM/evangelos-2.2.1/platforms/linuxGccDPOpt/bin/NanoTher"
#11  
 at NanoTher.C:0
#12  
 in "/home/evangelos/OpenFOAM/evangelos-2.2.1/platforms/linuxGccDPOpt/bin/NanoTher"
#13  __libc_start_main in "/lib/i386-linux-gnu/libc.so.6"
#14  
 in "/home/evangelos/OpenFOAM/evangelos-2.2.1/platforms/linuxGccDPOpt/bin/NanoTher"
Εξαίρεση κινητής υποδιαστολής (core dumped)
Could someone please help me to understand the reason for the error to my code ?

Last edited by wyldckat; January 10, 2014 at 19:13. Reason: Added [CODE][/CODE]
Danath is offline   Reply With Quote

Old   January 10, 2014, 19:19
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 9,743
Blog Entries: 39
Rep Power: 103
wyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of lightwyldckat is a glorious beacon of light
Greetings Danath,

Well, since you're building your own code, I suggest that you study this wiki page: http://openfoamwiki.net/index.php/HowTo_debugging

As for the output you're getting:
  1. Line #1 is telling you that a SIGFPE has been triggered: http://en.wikipedia.org/wiki/SIGFPE#SIGFPE
  2. Line #3 is telling you more or less where the problem occurred.
Best regards,
Bruno
songwukong and Dosin like this.
__________________
wyldckat 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
general ARCHITECTURAL structure of the code of a CFD code mecobio Main CFD Forum 0 August 12, 2013 08:04
Small 3-D code Zdravko Stojanovic Main CFD Forum 2 July 19, 2010 10:11
source code for inert heating custom law mat27x FLUENT 0 October 23, 2009 18:33
Adding Custom Tab in FLUENT using Scheme Code dhimans Fluent UDF and Scheme Programming 0 September 14, 2009 15:10
public CFD Code development Heinz Wilkening Main CFD Forum 38 March 5, 1999 12:44


All times are GMT -4. The time now is 20:53.