NewMadeleine

Documentation

« back to PM2 home.
nm_mpi_topo.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Functions: Topology
int MPI_Dims_create (int nnodes, int ndims, int *dims)
 
int MPI_Cart_create (MPI_Comm comm_old, int ndims, const int *dims, const int *periods, int reorder, MPI_Comm *_comm_cart)
 
int MPI_Cart_coords (MPI_Comm comm, int rank, int ndims, int *coords)
 
int MPI_Cart_rank (MPI_Comm comm, const int *coords, int *rank)
 
int MPI_Cart_shift (MPI_Comm comm, int direction, int displ, int *source, int *dest)
 
int MPI_Cart_get (MPI_Comm comm, int maxdims, int *dims, int *periods, int *coords)
 
int MPI_Cart_sub (MPI_Comm comm, const int *remain_dims, MPI_Comm *newcomm)
 
int MPI_Topo_test (MPI_Comm comm, int *topo_type)
 
int MPI_Cartdim_get (MPI_Comm comm, int *ndims)
 

Function Documentation

◆ MPI_Cart_coords()

int MPI_Cart_coords ( MPI_Comm  comm,
int  rank,
int  ndims,
int *  coords 
)

◆ MPI_Cart_create()

int MPI_Cart_create ( MPI_Comm  comm_old,
int  ndims,
const int *  dims,
const int *  periods,
int  reorder,
MPI_Comm _comm_cart 
)

◆ MPI_Cart_get()

int MPI_Cart_get ( MPI_Comm  comm,
int  maxdims,
int *  dims,
int *  periods,
int *  coords 
)

◆ MPI_Cart_rank()

int MPI_Cart_rank ( MPI_Comm  comm,
const int *  coords,
int *  rank 
)

◆ MPI_Cart_shift()

int MPI_Cart_shift ( MPI_Comm  comm,
int  direction,
int  displ,
int *  source,
int *  dest 
)

◆ MPI_Cart_sub()

int MPI_Cart_sub ( MPI_Comm  comm,
const int *  remain_dims,
MPI_Comm newcomm 
)

◆ MPI_Cartdim_get()

int MPI_Cartdim_get ( MPI_Comm  comm,
int *  ndims 
)

◆ MPI_Dims_create()

int MPI_Dims_create ( int  nnodes,
int  ndims,
int *  dims 
)

◆ MPI_Topo_test()

int MPI_Topo_test ( MPI_Comm  comm,
int *  topo_type 
)