- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
we recognized a problem using the idb-Debugger with ifort.
We compile out Programs with the option -fpe0.
Here is a small example showing the problem.
program test
implicit none
real :: x,y
x= 3.0E-22
y=x**2
write(*,*) x,y
end program
When executing the program there is no problem.
Result: 2.9999999E-22 0.0000000E+00
But while debugging, the Debugger sends an "Thread received signal FPE"
With the Debugger Command ignore FPE the problem does not exist.
Is there any possibility to set this option by default?
Normally I would expect the Debugger to get the settings out of the program.
Greetings,
Hauke
we recognized a problem using the idb-Debugger with ifort.
We compile out Programs with the option -fpe0.
Here is a small example showing the problem.
program test
implicit none
real :: x,y
x= 3.0E-22
y=x**2
write(*,*) x,y
end program
When executing the program there is no problem.
Result: 2.9999999E-22 0.0000000E+00
But while debugging, the Debugger sends an "Thread received signal FPE"
With the Debugger Command ignore FPE the problem does not exist.
Is there any possibility to set this option by default?
Normally I would expect the Debugger to get the settings out of the program.
Greetings,
Hauke
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Maybe I'm missing something, but I thought the reason for setting -fpe0 is to enable exceptions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
fpe0 is there for enable exceptions but if there is a underflow exception the value should be set to 0.
In the shown example it works but the Debugger is the problem.
In the shown example it works but the Debugger is the problem.

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