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

Run-time Library Error Handling

Allen_Barnett
Beginner
382 Views

How to handle run-time library errors when an output file is not available.

0 Kudos
3 Replies
Allen_Barnett
Beginner
382 Views
How to handle run-time library errors when an output file is not available.
I am developing a FORTRAN library which will be invoked by a C++ program. All of the output from the library needs to be passed back to the C++ caller through a callback interface. This works OK except for FORTRAN library run-time errors which seem to be only written to a FORTRAN I/O unit. Is it possible to capture those in some way?
0 Kudos
Steven_L_Intel1
Employee
382 Views
Unfortunately, no. I have a feature request in to add this ability.
0 Kudos
Steven_L_Intel1
Employee
382 Views

In the next major release of the compiler, a public beta for which is available through the sticky thread in this forum, we have added a library routine ESTABLISHQQ that allows you to specify a user routine to be called when the run-time library detects an error.

0 Kudos
Reply