exit

Date:

10-12-2011

NAME

EXIT - Terminates the execution of a Fortran program

SYNOPSIS

CALL EXIT ([[STATUS=]status])

IMPLEMENTATION

Cray Linux Environment (CLE)

STANDARDS

Fortran extension

DESCRIPTION

The EXIT intrinsic subroutine terminates program execution on the local processing element, closes all files, and returns control to the operating system. This subroutine accepts the following argument:

status

(Optional) Must be type integer of KIND=4 or KIND=8. Specifies the exit-status value to return to the operating system.

The name of this intrinsic cannot be passed as an argument.

EXAMPLES

CALL EXIT(0)
CALL EXIT(2)