mango.mpi.getCartShapeForSize

mango.mpi.getCartShapeForSize(dimension, size)[source]

Returns an MPI cartesian layout for the given cartesian-dimension (dimension) and number of MPI processes (size).

Parameters:
  • dimension (int) – Spatial dimension for returned cartesian layout.
  • size (int) – Number of MPI processes to use in layout.
Return type:

list

Returns:

list of dimension elements, such that the product (multiplication) of the elements equals size.

Previous topic

mango.mpi.getCartShape

Next topic

mango.mpi.SplitStreamHandler

This Page