PMI_Get_nid

PMI_Get_nid - Returns the integer nid (Network endpointID) value of the requested process

SYNOPSIS

C or C++ SYNOPSIS

#include <pmi.h>
int PMI_Get_nid(int rank, int *nid);

IMPLEMENTATION

Cray Linux Environment (CLE)

DESCRIPTION

This function returns the integer nid (Network endpointID) value of the requested process.

rank

The integer value of the PE.

nid

Pointer to an integer that receives the NID value

RETURN VALUES

PMI_SUCCESS

Operation completed successfully

PMI_FAIL

Operation failed

PMI_ERR_INIT

PMI not initialized

PMI_ERR_INVALID_ARG

Invalid argument

SEE ALSO

intro_pmi(3)