PMI_Get_numpes_in_app_on_smp

PMI_Get_numpes_in_app_on_smp - Returns the number of processes in the local process group that are in the local application and on the same node as the local process

SYNOPSIS

C or C++ SYNOPSIS

#include <pmi.h>
int PMI_Get_numpes_in_app_on_smp(int *size);

IMPLEMENTATION

Cray Linux Environment (CLE)

DESCRIPTION

This function returns the number of processes in the local process group that are in the local application and on the same node as the local process. It behaves similarly to PMI_Get_numpes_on_smp() but limits itself only to those ranks participating in the local application. For an SPMD process group, the size returned by PMI_Get_numpes_in_app_on_smp() is the same as that returned by PMI_Get_numpes_on_smp().

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_INVALID_ARG

Invalid argument

SEE ALSO

intro_pmi(3)