PMI_Get_appnum

PMI_Get_appnum - Obtains the application number

SYNOPSIS

C or C++ SYNOPSIS

#include <pmi.h>
int PMI_Get_appnum( int *appnum );

IMPLEMENTATION

Cray Linux Environment (CLE)

DESCRIPTION

Returns the application number associated with the local process according to the underlying process manager, if the process manager supports the operation.

appnum

Pointer to an integer that receives the application number of the local process.

RETURN VALUES

PMI_SUCCESS

Operation completed successfully

PMI_FAIL

Operation failed

PMI_ERR_INIT

PMI not initialized

SEE ALSO

intro_pmi(3)