- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
5 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Project..Settings..Fortran. Under Floating Point, change Floating Point Exception Handling from 3 to 0. Under Run Time, check Floating Point Underflow.
Steve
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Steve - you are a scholar and a gentleman.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hmm. Ok, in the debugger, select Debug..Exceptions. Change the action for floating underflow to "Stop Always". Run program.
Steve
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In case anyone else wants to use this valuable feature, you have to be interactively debugging a program for the "debug" button to appear.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page