CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

fortran floating error

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 15, 2010, 22:07
Post fortran floating error
  #1
New Member
 
m.abdelmaaboud
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 .........

thanks
BoooDY is offline   Reply With Quote

Old   May 18, 2010, 15:37
Default
  #2
New Member
 
Patrick Godon
Join Date: Apr 2010
Posts: 19
Rep Power: 17
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
Default
  #3
New Member
 
Claudio
Join Date: May 2010
Location: Boston, MA
Posts: 28
Rep Power: 15
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, 03:20
Default Floating error
  #4
Member
 
Join Date: Jan 2012
Posts: 58
Rep Power: 14
sheikh nasir is on a distinguished road
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
sheikh nasir is offline   Reply With Quote

Old   February 9, 2012, 14:02
Default
  #5
Member
 
Join Date: Jul 2011
Posts: 59
Rep Power: 14
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

Reply


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


All times are GMT -4. The time now is 04:03.