CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Main CFD Forum (
-   -   fortran floating error (

BoooDY May 15, 2010 22:07

fortran floating error
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 .........


PGodon May 18, 2010 15:37

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.

Claudio May 21, 2010 10:12

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

sheikh nasir February 8, 2012 04:20

Floating error
i am getting floating error:invalid number. I am working on train travelling in tunnel. Can any body help me. My email is


rmh26 February 9, 2012 15:02

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.

All times are GMT -4. The time now is 02:31.