CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > 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

LinkBack Thread Tools Search this Thread Display Modes
Old   January 10, 2014, 11:34
Default Getting "Foam::sigFpe::sigHandler(int)" from custom code
Join Date: Sep 2011
Posts: 85
Rep Power: 11
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

 #0  Foam::error::printStack(Foam::Ostream&) in "/home/evangelos/OpenFOAM/OpenFOAM-2.2.1/platforms/linuxGccDPOpt/lib/"
#1  Foam::sigFpe::sigHandler(int) in "/home/evangelos/OpenFOAM/OpenFOAM-2.2.1/platforms/linuxGccDPOpt/lib/"
#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/"
 in "/home/evangelos/OpenFOAM/evangelos-2.2.1/platforms/linuxGccDPOpt/bin/NanoTher"
 in "/home/evangelos/OpenFOAM/evangelos-2.2.1/platforms/linuxGccDPOpt/bin/NanoTher"
 in "/home/evangelos/OpenFOAM/evangelos-2.2.1/platforms/linuxGccDPOpt/bin/NanoTher"
 in "/home/evangelos/OpenFOAM/evangelos-2.2.1/platforms/linuxGccDPOpt/bin/NanoTher"
 in "/home/evangelos/OpenFOAM/evangelos-2.2.1/platforms/linuxGccDPOpt/bin/NanoTher"
 in "/home/evangelos/OpenFOAM/evangelos-2.2.1/platforms/linuxGccDPOpt/bin/NanoTher"
 in "/home/evangelos/OpenFOAM/evangelos-2.2.1/platforms/linuxGccDPOpt/bin/NanoTher"
 at NanoTher.C:0
 in "/home/evangelos/OpenFOAM/evangelos-2.2.1/platforms/linuxGccDPOpt/bin/NanoTher"
#13  __libc_start_main in "/lib/i386-linux-gnu/"
 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 18:13. Reason: Added [CODE][/CODE]
Danath is offline   Reply With Quote

Old   January 10, 2014, 18:19
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,963
Blog Entries: 45
Rep Power: 123
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Danath,

Well, since you're building your own code, I suggest that you study this wiki page:

As for the output you're getting:
  1. Line #1 is telling you that a SIGFPE has been triggered:
  2. Line #3 is telling you more or less where the problem occurred.
Best regards,
songwukong and Dosin like this.
wyldckat is offline   Reply With Quote


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
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 11:44

All times are GMT -4. The time now is 14:46.