Skip to content
Snippets Groups Projects
Commit 245340aa authored by Jean-Matthieu Etancelin's avatar Jean-Matthieu Etancelin
Browse files

Fix new topology mpi communicator name

parent 00ee4e9f
No related branches found
No related tags found
No related merge requests found
......@@ -139,7 +139,7 @@ class Energy_enstrophy(Monitoring):
sendbuff = npw.zeros((2))
recvbuff = npw.zeros((2))
sendbuff[:] = [local_energy, local_enstrophy]
self._topo.topo.Allreduce(sendbuff, recvbuff)
self._topo.comm.Allreduce(sendbuff, recvbuff)
# the other way :
#energy = self._topovel.topo.allreduce(local_energy, PARMES_MPI_REAL,
# op=MPI.SUM)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment