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

Send array out of bounds errors to my error handler?

Nick2
New Contributor I
942 Views

Hello,

I have a C++ program calling the Fortran dll. The C++ program has a statement,

_set_se_translator( trans_func );

(And other miscellaneous things). So I am handling floating point errors and operations just the way I want them.

However, for array-out-of-bounds errors, those are caught by IVF runtime, and shown as a Windowsmessage box.

Is there any way to catch array-out-of-bounds errors inside my trans_func in C++ instead of showing the Windows message box?

Nick

0 Kudos
2 Replies
Steven_L_Intel1
Employee
942 Views

No, sorry. This is a feature request made earlier - I'll add you to the list.
0 Kudos
Steven_L_Intel1
Employee
942 Views

In our next major release, with compiler version 14.0, we have added a new library routine ESTABLISHQQ which allows you to declare a handler routine to be called when any run-time library detected error occurs, including array bounds. You can join the public beta of this version - see the sticky thread in this forum.

0 Kudos
Reply