PMI_Bcast
PMI_Bcast - Performs a *Bcast* across the specified process group
SYNOPSIS
C or C++ SYNOPSIS
#include <pmi.h>
int PMI_Bcast(void *buffer, int len);
IMPLEMENTATION
Cray Linux Environment (CLE)
DESCRIPTION
This function is a collective call across all processes in the process group the local process belongs to. The process with PMI rank 0 is the root process. The root process treats buffer as input. All other processes treat buffer as output. Processes may return from PMI_Bcast asynchronously. The return value is not guaranteed to be the same across all ranks in the job.
buffer
Pointer to the beginning of the broadcast buffer.
len
Number of bytes to be broadcast.
RETURN VALUES
PMI_SUCCESS
Operation completed successfully
PMI_FAIL
Operation failed
PMI_ERR_INIT
PMI not initialized
PMI_ERR_RANK_FAIL_STOP
One or more ranks in the job is in a fail stop state
SEE ALSO
intro_pmi(3)