Break on underflow

Break on underflow

I seem to remember that it is possible to get CVF to break on the offending line when encountering an underflow, but I can't remember exactly how to do it. Can this be done?

6 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
Steve Lionel (Intel)'s picture

Project..Settings..Fortran. Under Floating Point, change Floating Point Exception Handling from 3 to 0. Under Run Time, check Floating Point Underflow.

Steve

Steve

Thanks Steve - you are a scholar and a gentleman.

Steve,

I finally got back around to implementing this, and it doesn't work. I get an error message regarding floating underflow, but it does not stop program execution and leave me on the offending line. Any other suggestions?

Steve Lionel (Intel)'s picture

Hmm. Ok, in the debugger, select Debug..Exceptions. Change the action for floating underflow to "Stop Always". Run program.

Steve

Steve

In case anyone else wants to use this valuable feature, you have to be interactively debugging a program for the "debug" button to appear.

Login to leave a comment.