Refactor comm_allreduce
Description
Refactor comm_allreduce
: use an mpi_grp
as an argument instead of the communicator.
Moreover, add an allreduce
function to the mesh, such that one can use
call mesh%allreduce(a)
.
News snippet
Refactor comm_allreduce
Checklist
-
I have checked that my code follows the Octopus coding standards -
I have added tests for all the new features added in this request.
Edited by Sebastian Ohlmann