mpi.cartdim.get: MPI\_Cartdim\_get

Description Usage Arguments Details Value Author(s) References See Also Examples

View source: R/Rmpi.R

Description

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

Usage

1
 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

http://www.lam-mpi.org/, http://www-unix.mcs.anl.gov/mpi/www/www3/

See Also

mpi.cart.get

Examples

1
2
3
4
#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 May 29, 2017, 3:48 p.m.

Search within the Rmpi package
Search all R packages, documentation and source code