PMI_Get_nicaddr_to_nid
PMI_Get_nicaddr_to_nid - Returns the NID identifier given a NIC (network interface controller) address
SYNOPSIS
C or C++ SYNOPSIS
#include <pmi.h>
int PMI_Get_nicaddr_to_nid(pmi_nic_addr nicaddr, pmi_nid_t *nid);
IMPLEMENTATION
Cray Linux Environment (CLE)
DESCRIPTION
Looks up in an in-memory table the NID of the node that has the specified NIC address. Replaces the deprecated PMI_nicaddr_to_nid() function.
nicaddr
A single nic_addr_t object. The NIC address.
nid
The Network endpoint ID (NID) of the node hosting the associated NIC.
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)