Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Run-time error control

jmteuler
Beginner
434 Views
Dear Linux Intel Fortran users,

Sorry if it is a FAQ...

Is there a way to control the behaviour of the Fortran
run-time in presence of an error.

Here is the purpose of my question: I am debugging a
large application with the "-C" checking option.
Each time an error is detected, the execution stops and I have to correct the error and resubmit.

It would be more convenient if I could, still while having the error message, continue execution to collect as many errors as possible before recompiling,

Regards,

Jean-Marie Teuler
0 Kudos
1 Reply
Martyn_C_Intel
Employee
434 Views
I'm not aware of anything specific to the -C runtime checking, (except for -d to control the diagnostic level). What sort of error are we talking about? Continuing after an addressing-type error doesn't necessarily make much sense.
There is a -WB option to convert array out-of-bounds errors to warnings, but I suspect that is only at compile time, not runtime.

Martyn
0 Kudos
Reply