CFD Online Logo CFD Online URL
Home > Forums > Main CFD Forum

fortran floating error

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   May 15, 2010, 22:07
Post fortran floating error
New Member
Join Date: May 2010
Posts: 1
Rep Power: 0
BoooDY is on a distinguished road
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 .........

BoooDY is offline   Reply With Quote

Old   May 18, 2010, 15:37
New Member
Patrick Godon
Join Date: Apr 2010
Posts: 19
Rep Power: 10
PGodon is on a distinguished road
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.
PGodon is offline   Reply With Quote

Old   May 21, 2010, 10:12
New Member
Join Date: May 2010
Location: Boston, MA
Posts: 28
Rep Power: 9
Claudio is on a distinguished road
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
Claudio is offline   Reply With Quote

Old   February 8, 2012, 04:20
Default Floating error
Join Date: Jan 2012
Posts: 58
Rep Power: 7
sheikh nasir is on a distinguished road
i am getting floating error:invalid number. I am working on train travelling in tunnel. Can any body help me. My email is

sheikh nasir is offline   Reply With Quote

Old   February 9, 2012, 15:02
Join Date: Jul 2011
Posts: 59
Rep Power: 8
rmh26 is on a distinguished road
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.
rmh26 is offline   Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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 07:31
user defined function cfduser CFX 0 April 29, 2006 10:58

All times are GMT -4. The time now is 00:22.