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

IMSL error codes

Andrew_Smith
Valued Contributor I
355 Views

When an IMSL routine fails it generally sets a status flag which can be foundwith function N1RTY(). Once the calling program has handled the error, it needs to be able to reset the code to zero so that further error status enquiries do not continue to flag up an error condition. How can we reset the error flag?

I found a workaround by calling a well behaved IMSL function that will have no error and then the error code will get re-set but this takes too much CPU time if repeated many times.

0 Kudos
0 Replies
Reply