Runtime Error Messages |
A |
![]() |
Note - Only f77 is described in this Appendix. Information on f90 runtime error messages will be added.
CALL SYSTEM("rm /") END |
The following message is displayed:
rm: / directory |
Signal Handler Error Messages
Before beginning execution of a program, the Fortran library sets up a signal handler (sigdie) for signals that can cause termination of the program. sigdie prints a message that describes the signal, flushes any pending output, and generates a core image and a traceback.
CALL SUB() END SUBROUTINE SUB(I,J,K) I=J+K RETURN END |
The following error message results:
*** Segmentation violation |
I/O Error Messages (f77)
The error messages in this section are generated by the Fortran 77 I/O library. The error numbers are returned in the IOSTAT variable if the ERR return is taken.
WRITE( 6 ) 1 END |
and produces error messages like the following:
sue: [1003] unformatted io not allowed |
The following error messages are generated. These same messages are also documented at the end of the man page, perror(3f).
I/O Error Messages (f90)
This is a partial list of runtime I/O messages issued by f90 1.2 :