mpi4py.MPI.Compute_dims

mpi4py.MPI.Compute_dims(nnodes, dims)

Return a balanced distribution of processes per coordinate direction.

Parameters:
Return type:

list[int]