PMI_Allgatherv

PMI_Allgatherv - Performs an *allgatherv* across the specified process group

SYNOPSIS

C or C++ SYNOPSIS

#include <pmi.h>
int PMI_Allgatherv(void *in, int len, void *out, int *all_lens);

IMPLEMENTATION

Cray Linux Environment (CLE)

DESCRIPTION

This function is a collective call across all processes in the local process group. It will not return until all the processes have called PMI_Allgatherv(). The data supplied through the output buffer will not necessarily be in rank order. The return value is not guaranteed to be the same across all ranks in the job.

in

Pointer to the beginning of the input buffer.

out

Pointer to the beginning of the output buffer.

len

Number of bytes to be sent from the input buffer.

all_len

Integer array that contains the lengths (in bytes) to be gathered from each process in the process group. Data must be in process rank order.

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)