|
[Sponsors] |
June 9, 2011, 13:18 |
unset sigfpe
|
#1 |
Senior Member
Tarak
Join Date: Aug 2010
Location: State College, PA
Posts: 111
Rep Power: 16 |
Hii,
Can someone let me know how I can unset sigfpe? Thank, Tarak |
|
June 13, 2011, 16:03 |
|
#2 |
Member
ak
Join Date: May 2011
Posts: 64
Rep Power: 15 |
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 |
|
June 13, 2011, 20:16 |
|
#3 |
Member
ak
Join Date: May 2011
Posts: 64
Rep Power: 15 |
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. |
|
October 26, 2011, 18:00 |
|
#4 |
New Member
Drew
Join Date: Oct 2011
Posts: 1
Rep Power: 0 |
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. |
|
February 2, 2021, 11:27 |
|
#5 |
Senior Member
Herpes Free Engineer
Join Date: Sep 2019
Location: The Home Under The Ground with the Lost Boys
Posts: 931
Rep Power: 13 |
May help?
csh: Code:
setenv FOAM_SIGFPE false Code:
export FOAM_SIGFPE=false
__________________
The OpenFOAM community is the biggest contributor to OpenFOAM: User guide/Wiki-1/Wiki-2/Code guide/Code Wiki/Journal Nilsson/Guerrero/Holzinger/Holzmann/Nagy/Santos/Nozaki/Jasak/Primer Governance Bugs/Features: OpenFOAM (ESI-OpenCFD-Trademark) Bugs/Features: FOAM-Extend (Wikki-FSB) Bugs: OpenFOAM.org How to create a MWE New: Forkable OpenFOAM mirror |
|
April 3, 2023, 03:42 |
|
#6 |
New Member
Behnam
Join Date: Mar 2021
Posts: 4
Rep Power: 5 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SIGFPE in reactingFoam(LES) | Hìr0 | OpenFOAM Bugs | 2 | August 4, 2016 06:16 |
unset sigfpe | Tarak | OpenFOAM | 0 | June 8, 2011 21:10 |
Error Message sigFpe | AlpAc | OpenFOAM Running, Solving & CFD | 1 | April 12, 2011 04:41 |
ICC compiler and sigFpe for sample utility | cfdmarkus | OpenFOAM Installation | 3 | June 25, 2010 15:31 |
chtMultiFoam sigFpe | HendrikR | OpenFOAM | 6 | April 2, 2010 11:40 |