mpi.cartdim.get: MPI_Cartdim_get

View source: R/Rmpi.R

mpi.cartdim.getR Documentation

MPI_Cartdim_get

Description

mpi.cartdim.get gets dim information about a Cartesian topology.

Usage

 mpi.cartdim.get(comm=3)

Arguments

comm

Communicator with Cartesian structure

Details

Can be used to provide other functions with the correct size of arrays.

Value

mpi.cartdim.get returns the number of dimensions of the Cartesian structure

Author(s)

Alek Hunchak and Hao Yu

References

https://www.open-mpi.org/

See Also

mpi.cart.get

Examples


#Need at least 9 slaves
#mpi.bcast.cmd(mpi.cart.create(1,c(3,3),c(F,T)))
#mpi.cart.create(1,c(3,3),c(F,T))
#mpi.cartdim.get(comm=3)


Rmpi documentation built on Sept. 23, 2024, 5:09 p.m.

Related to mpi.cartdim.get in Rmpi...