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 ......... thanks |
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. |
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
|
Floating error
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 |
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 15:39. |