PMI2_Init

PMI2_Init - Initializes the Process Manager Interface for this process group

SYNOPSIS

C or C++ SYNOPSIS

#include <pmi.h>
int PMI2_Init(int *spawned, int *size, int *rank, int *appnum);

IMPLEMENTATION

Cray Linux Environment (CLE)

DESCRIPTION

Initializes the Process Manager Interface for this process group. The value of spawned returned will be zero because spawning currently is not supported. This function replaces the deprecated PMI_Init() function.

spawned

Spawned flag. (Ignored, not set.)

size

Number of processes in the job.

rank

Rank of this process in the job.

appnum

Application number of this process in the job.

RETURN VALUES

PMI_SUCCESS

Operation completed successfully

PMI_FAIL

Operation failed.

SEE ALSO

intro_pmi(3)