exorad.utils.mpi module

gather(data, root=0)[source]
get_rank()[source]

Gets rank or returns 0 if mpi is not installed

Returns:

Rank of process or 0 if MPI is not installed

Return type:

int

nprocs()[source]

Gets number of processes or returns 1 if mpi is not installed

Returns:

Rank of process or 1 if MPI is not installed

Return type:

int

scatter(data, root=0)[source]