|
[Sponsors] |
May 15, 2010, 22:07 |
fortran floating error
|
#1 |
New Member
m.abdelmaaboud
Join Date: May 2010
Posts: 1
Rep Power: 0 |
Hello friends,
when i run the program this error appear 0xC0000090: Float Invalid Operation and i make a debug for it and locate the were the error but i found that equation correct not divide to zero and all variables correct what can i do ......... thanks |
|
May 18, 2010, 15:37 |
|
#2 |
New Member
Patrick Godon
Join Date: Apr 2010
Posts: 19
Rep Power: 17 |
I would suggest to just keep on checking/debugging as it could be anything... FORTRAN is notorious for giving error messages without much explanation. But for sure somewhere there must be a little error, or typo, or wrong input format,... it also depends if it is a linux or unix compiler (I don't think the microsoft FORTRAN is still around or has any support).
good luck. |
|
May 21, 2010, 10:12 |
|
#3 |
New Member
Claudio
Join Date: May 2010
Location: Boston, MA
Posts: 28
Rep Power: 15 |
I would remove all of the optimizations and try to compile with the option "-check all" (work for the Intel compiler, but sure there's something similar in all). I found most of the times it gives better clues as to where the error is
|
|
February 8, 2012, 03:20 |
Floating error
|
#4 |
Member
Join Date: Jan 2012
Posts: 58
Rep Power: 14 |
Hello
i am getting floating error:invalid number. I am working on train travelling in tunnel. Can any body help me. My email is sheikhnasir39@gmail.com thanks |
|
February 9, 2012, 14:02 |
|
#5 |
Member
Join Date: Jul 2011
Posts: 59
Rep Power: 14 |
You guys really need to be more specific on this stuff, Ie include a code fragment, what compiler/ compliler flags. I know GCC/GFortran has a -ffast-math flag that assumes all the numbers are valid which speeds up the runtime but doesn't include checks for infs or nans which can cause weird issues.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Compile problem | ivanyao | OpenFOAM Running, Solving & CFD | 1 | October 12, 2012 09:31 |
UDF: DEFINE_CG_MOTION for vertical jump motion of an electrode! | alban | Fluent UDF and Scheme Programming | 2 | June 8, 2010 18:54 |
Problem with compile the setParabolicInlet | ivanyao | OpenFOAM Running, Solving & CFD | 6 | September 5, 2008 20:50 |
user subroutine error | CFDUSER | CFX | 2 | December 9, 2006 06:31 |
user defined function | cfduser | CFX | 0 | April 29, 2006 10:58 |