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

unset sigfpe

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By HPE

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 9, 2011, 12:18
Default unset sigfpe
  #1
Senior Member
 
Tarak
Join Date: Aug 2010
Location: State College, PA
Posts: 111
Rep Power: 15
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: 64
Rep Power: 14
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: 64
Rep Power: 14
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

Old   February 2, 2021, 10:27
Default
  #5
HPE
Senior Member
 
HPE's Avatar
 
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 932
Rep Power: 12
HPE is on a distinguished road
May help?

csh:

Code:
setenv FOAM_SIGFPE false
ksh/bash:

Code:
export FOAM_SIGFPE=false
HPE is offline   Reply With Quote

Old   April 3, 2023, 02:42
Default
  #6
B.V
New Member
 
Behnam
Join Date: Mar 2021
Posts: 4
Rep Power: 5
B.V is on a distinguished road
Quote:
Originally Posted by HPE View Post
May help?

csh:

Code:
setenv FOAM_SIGFPE false
ksh/bash:

Code:
export FOAM_SIGFPE=false
I would highly appreciate if you could explain the procedure with more detail? please clarify step by step procedure.
B.V is offline   Reply With Quote

Reply


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
SIGFPE in reactingFoam(LES) Hìr0 OpenFOAM Bugs 2 August 4, 2016 05:16
unset sigfpe Tarak OpenFOAM 0 June 8, 2011 20:10
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 08:05.