qimpy.mpi.globalreduce
Reduction of MPI-distributed tensors to scalars. The functions of this module correctly handle zero-sized pieces of distributed tensors on certain processes, whic is a frequently encountered and cumbersome corner case in such global reductions.
Functions
Global sum of tensor v distributed over comm. |
|
Global product of tensor v distributed over comm. |
|
Global minimum of tensor v distributed over comm. |
|
Global maximum of tensor v distributed over comm. |
|
Global minimum of tensor v distributed over comm. |
|
Global maximum of tensor v distributed over comm. |