|
[Sponsors] |
divide by zero FPE issue in OpenFOAM 141 MingW port |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 3, 2008, 16:18 |
Hi, All,
I am running a mod
|
#1 |
New Member
Allen Zhao
Join Date: Mar 2009
Location: Westmont, IL, USA
Posts: 26
Rep Power: 17 |
Hi, All,
I am running a modified version of OpenFOAM 1.4.1 cross-compiled with MingW compiler on Windows, and we have a runtime error like: forrtl: error (73): floating divide by zero On Windows (MingW port) his error will get triggered with or without FOAM_SIGFPE being set. The same source code compiled with Linux/gcc can run when FOAM_SIGFPE is NOT set, but will crash in the same location when FOAM_SIGFPE is set in the env. So obviously, this is an issue with the Foam::sigFpe::set() implementation. Is there any special gcc switch used in the Linux compilation that allows more tolerance to division by zero? Any suggestions? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM 15x MinGW Windows Port | gocarts | OpenFOAM Installation | 1 | April 17, 2009 10:41 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 19:08 |
Port OpenFOAM to IBM Cell BE | mgarcia | OpenFOAM Installation | 2 | November 1, 2007 07:33 |
OpenFOAM Cygwin port updated to 13 | brooksmoses | OpenFOAM Installation | 29 | November 30, 2006 05:49 |
OpenFOAM FreeBSD port upgraded to 13 | thierry | OpenFOAM Installation | 4 | April 1, 2006 18:25 |