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

run-time error M6203

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

LinkBack Thread Tools Display Modes
Old   May 19, 2005, 09:34
Default run-time error M6203
Posts: n/a
Dear all,

I keep getting the error message given above. I know it's because some argument of exp becomes too large and the result is Infinity (or another problem with the result being NaN).

I do not know how to debug this problem because the simulation I'm running is relatively long and I cannot just check every line where the exp function is called.

What could I do for debugging? I already switched on the traceback function in the Run time category. But I do not know how to get the line number and to stop at the position where the error occurs.

Thanks for any help!!
  Reply With Quote

Old   May 20, 2005, 07:51
Default Re: run-time error M6203
Posts: n/a
If you work with MS Visual Studio then you should set Float Point Exception Handling (FPE) option to 0 in your project. Project->Settings...->Fortran then in combobox "category" choose Floating Foint and set Float Point Exception Handling to zero.

By default this option is 3. This means that all floation point exceptions (divide by 0 and others) are ignored and results are replaced by NaNs.

Or just set /fpe:0 option in you compile line.

If this option is 0 then you program will stop with corresponding messages when FPE happens.

  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
TimeVaryingMappedFixedValue irishdave OpenFOAM Running, Solving & CFD 29 May 3, 2017 08:59
Run time Selection Mechanism - Some help required to understand jaswi OpenFOAM Programming & Development 3 October 29, 2015 14:42
batch command to run fluent from nth time step solomon FLUENT 13 August 25, 2015 20:05
Estimating 3d run time from 2d run time. Sam Main CFD Forum 2 February 10, 2009 13:42
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09

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