TABLE OF CONTENTS
- 1. /CallStack
- 1.1. CallStack/TRACEBACK
/CallStack [ Modules ]
NAME
module CallStack
PURPOSE
implement a wrapper around the ifort routine TRACEBACKQQ, so it can be used also when compiling with other compilers
CallStack/TRACEBACK [ Subroutines ]
[ Top ] [ CallStack ] [ Subroutines ]
NAME
subroutine TRACEBACK(string,user_exit_code)
PURPOSE
write out the call stack of the program in case ifort is used for compiling.
INPUTS
- character*(*), optional :: string -- header line to write
- integer, optional :: user_exit_code -- code whether return or stop program
- By specifying a user exit code of -1, control returns to the calling program. Specifying a user exit code with a positive value requests that specified value be returned to the operating system. The default value is 0, which causes the application to abort execution.
NOTES
This is a wrapper for the IFORT routine TRACEBACKQQ. See also the documentation there.