pxffastexit

Date:

10-20-2011

NAME

PXFFASTEXIT - Terminates a Fortran program

SYNOPSIS

SUBROUTINE PXFFASTEXIT(istatus)
INTEGER istatus

IMPLEMENTATION

Cray Linux Environment (CLE)

STANDARDS

IEEE standard interface for FORTRAN 77

DESCRIPTION

The PXFFASTEXIT subroutine uses _exit() to terminate a process. PXFFASTEXIT ends the execution of a Fortran program.

The following is the valid argument for this routine:

istatus

A default integer input variable containing the status to be returned to the parent process of the terminated process.

When using the Cray Fortran compiler, all arguments must be of default kind unless documented otherwise. The default kind is KIND=4 for integer, real, complex, and logical arguments.

NOTES

Replace the subroutine reference to EXIT or _exit() with a subroutine call to PXFFASTEXIT.

EXAMPLES

      PROGRAM PXFTEST
      INTEGER ISTATUS
      IERROr = 2
      CALL PXFFASTEXIT(ISTATUS)
!
!  PRINT should not be executed if the call to PXFFASTEXIT
!  is successful.
!
      PRINT *,'FAILED: PXFFASTEXIT CALL RETURNED'
      END