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

Trapping run-time errors

lklawrie
Beginner
628 Views

Can IVF do the subject trapping? If so, please point me to latest documentation and/or example source files.

Linda

0 Kudos
2 Replies
Steven_L_Intel1
Employee
628 Views

Linda,

What kinds of errors and what do you mean by "trapping"? What do you want the program to do when an error occurs? Have you read the "Error Handling" chapter of the Building Applications manual, in particular the last parts of the chapter?

0 Kudos
lklawrie
Beginner
628 Views

That is the pointer I was looking for. Particularly the "advanced exception" handling.

I have two problems. 1) unexpected crashes in released code. I would like a little better way of exiting.

2) same unexpected crashes in the DLL version -- there, it really needs to be able to tell the program that called the DLL (not of our authorship) that something bad has happened.

Thanks.

Linda

0 Kudos
Reply