A postmortem report may be invoked by any of the following:
an error detected as a consequence of using the -CA, -CB, -CS, -CU, -CV or -C options
a call on abort
an allocation error
an invalid assigned label
an input-output error
an error reported by a mathematical procedure
a signal generated by a program error such as illegal instruction
an error reported by an intrinsic procedure
The following conventions are used in postmortem output:
A variable var declared in a module mod appears as mod.var.
A module procedure proc in module mod appears as mod$proc.
The fields of a variable var of derived data type are preceded by a line of the form var%.
In this example, the command line
prompt>ifc -CB -CU -d4 sample.f
is used to compile the program that follows. When the program is executed, the postmortem report (follows the program) is output, since the subscript m to array num is out of bounds.
1 module arith |
Run-Time Error 406: Array bounds exceeded |