Function mpi::comm::world [] [src]

pub fn world() -> MPI_Comm

Gives MPI_COMM_WORLD.

Examples

let comm_world = comm::world();
let rank_in_world = comm::rank(world);