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

Record to file tracebcak info

Luis2
Beginner
393 Views

I planning to use a fortran program with a GUI built in another programming language, like java, python...

Using SIGNALQQ and IOSTAT I can handle most of the errors that may occur at run-time and record some message to a file, but I can't catch when an array is out of bounds.

One possible solution is to capture the error run-time message window and record it in a file. Is this possible?

Or, can I catch this this type of run-time error in some other way?

Luis

0 Kudos
1 Reply
Steven_L_Intel1
Employee
393 Views

Array bounds errors cannot be "caught" as signals at this time. I have a feature request in to enable that.

You can define the FOR_DIAGNOSTIC_LOG_FILE environment variable and this will write a copy of diagnostic messages to the named file.

0 Kudos
Reply