- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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
- Marcas:
- Intel® Fortran Compiler
Link copiado
2 Respostas
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Maybe I'm missing something, but I thought the reason for setting -fpe0 is to enable exceptions.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
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.

Responder
Opções do tópico
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora