CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

unset sigfpe

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

Reply
 
LinkBack Thread Tools Display Modes
Old   June 9, 2011, 12:18
Default unset sigfpe
  #1
Senior Member
 
Tarak
Join Date: Aug 2010
Location: State College, PA
Posts: 105
Rep Power: 6
Tarak is on a distinguished road
Hii,

Can someone let me know how I can unset sigfpe?

Thank,
Tarak
Tarak is offline   Reply With Quote

Old   June 13, 2011, 15:03
Default
  #2
Member
 
ak
Join Date: May 2011
Posts: 71
Rep Power: 6
newOFuser is on a distinguished road
Hi

I'd also like to know.

'I tried "unset FOAM_SIGFPE" in the .bashrc file, but when I run the case, I still get the following before the simulation starts:
SigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).

I tried "export FOAM_SIGFPE=false" as well but that didn't work either.

ak
newOFuser is offline   Reply With Quote

Old   June 13, 2011, 19:16
Default
  #3
Member
 
ak
Join Date: May 2011
Posts: 71
Rep Power: 6
newOFuser is on a distinguished road
After typing . $HOME/.bashrc, do we have to run ./Allwmake in the top-level source directory $WM_PROJECT_DIR as well?

Can anyone who has successfully unset sigFpe provide the details?

Thanks so much.
newOFuser is offline   Reply With Quote

Old   October 26, 2011, 17:00
Default
  #4
New Member
 
Drew
Join Date: Oct 2011
Posts: 1
Rep Power: 0
DrewT is on a distinguished road
I have been getting the floating point errors too. I didn't know how to apply the "unset FOAM_SIGFPE" command either, so I performed this search on the tutorial folder:

find /opt/openfoam201/ * -exec grep -l unset {} \;

This led me to a few cases, including the TJunctionFan in pimpleFoam, which just runs the command in the Allrun file as below:

# Creating patches 'out of nothing' so will get undefined value which
# might cause floating point error
unset FOAM_SIGFPE
unset FOAM_SETNAN

You should be able to just run the unset FOAM_SIGFPE at the command line. I haven't tried it yet, but will soon.
DrewT 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
unset sigfpe Tarak OpenFOAM 0 June 8, 2011 20:10
SIGFPE in reactingFoam(LES) Hr0 OpenFOAM Bugs 1 June 6, 2011 09:08
Error Message sigFpe AlpAc OpenFOAM Running, Solving & CFD 1 April 12, 2011 03:41
ICC compiler and sigFpe for sample utility cfdmarkus OpenFOAM Installation 3 June 25, 2010 14:31
chtMultiFoam sigFpe HendrikR OpenFOAM 6 April 2, 2010 10:40


All times are GMT -4. The time now is 06:42.