PMI_Barrier

PMI_Barrier - Generates a barrier across the processes in the local process group

SYNOPSIS

C or C++ SYNOPSIS

#include <pmi.h>
int PMI_Barrier(void);

IMPLEMENTATION

Cray Linux Environment (CLE)

DESCRIPTION

Generates a barrier across all the processes in the local process group. It does not involve any components of ALPS or possible PMI daemon processes. This function should only be invoked within a checkpoint critical region. The function will not return until all processes have called PMI_Barrer(). The return value is not guaranteed to be the same for all ranks in the job.

RETURN VALUES

PMI_SUCCESS

Operation completed successfully

PMI_FAIL

Operation failed

PMI_ERR_INIT

PMI not initialized

SEE ALSO

intro_pmi(3)