Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference

ID 767251
Date 7/13/2023
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

Runtime Default Error Processing

The Intel® Fortran runtime system processes a number of errors that can occur during program execution. A default action is defined for each error recognized by the Intel® Fortran runtime system. The default actions described throughout this section occur unless overridden by explicit error-processing methods.

The way in which the Intel® Fortran runtime system actually processes errors depends upon the following factors:

  • The severity of the error. For instance, the program usually continues executing when an error message with a severity level of warning or info (informational) is detected.

  • For certain errors associated with I/O statements, whether or not an I/O error-handling specifier was specified.

  • For certain errors, whether or not the default action of an associated signal was changed.

  • For certain errors related to arithmetic operations (including floating-point exceptions), compilation options can determine whether the error is reported and the severity of the reported error.

How arithmetic exception conditions are reported and handled depends on the cause of the exception and how the program was compiled. Unless the program was compiled to handle exceptions, the exception might not be reported until after the instruction that caused the exception condition.