Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
Announcements
FPGA community forums and blogs have moved to the Altera Community. Existing Intel Community members can sign in with their current credentials.
29310 Discussions

Exception handling with mixed CVF and C codes

Intel_C_Intel
Employee
488 Views
I am trying to get the debugger to stop when a FPE occurs in a code that used to be Fortran, but now is called from a C wrapper. I have inserted the sample code calling SIGNALQQ(SIG$FPE, hand_fpe), then an intentional divide by zero, but it sails right past. Does the C main need to be compiled with something equivalent to the /fpe:0 option?

I'm working with CVF 6.6B.
0 Kudos
0 Replies
Reply