Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

mpi.cart.get

MPI\_Cart\_get


Description

mpi.cart.get provides the user with information on the Cartesian topology associated with a comm.

Usage

mpi.cart.get(comm=3, maxdims)

Arguments

comm

Communicator with Cartesian structure

maxdims

length of vectors dims, periods, and coords in the calling program

Details

The coords are as given for the rank of the calling process as shown.

Value

mpi.cart.get returns a vector containing information on the Cartesian topology associated with comm. maxdims must be at least ndims as returned by mpi.cartdim.get.

Author(s)

Alek Hunchak and Hao Yu

References

See Also

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.remote.exec(mpi.cart.get(3,2))

Rmpi

Interface (Wrapper) to MPI (Message-Passing Interface)

v0.6-9.1
GPL (>= 2)
Authors
Hao Yu [aut]
Initial release
2021-02-22

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.