PMI_Get_numpes_on_smp
PMI_Get_numpes_on_smp - Returns the number of processes in the local process group that are on the local node along with the local process
SYNOPSIS
C or C++ SYNOPSIS
#include <pmi.h>
int PMI_Get_numpes_on_smp(int *size);
IMPLEMENTATION
Cray Linux Environment (CLE)
DESCRIPTION
Returns the number of processes in the local process group that are on the local node along with the local process. This is a simple topology function to distinguish between processes that can communicate through IPC mechanisms (e.g., shared memory) and other network mechanisms. It behaves similarly to PMI_Get_numpes_in_app_on_smp() but does not limit itself to those ranks participating in the local application. This function replaces the deprecated PMI_Get_clique_size() function.
size
Pointer to an integer that receives the size of the clique.
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)