From 245340aa16000fe298268f9fe54eef01977118d6 Mon Sep 17 00:00:00 2001 From: Jean-Matthieu Etancelin <jean-matthieu.etancelin@imag.fr> Date: Thu, 6 Feb 2014 09:09:14 +0000 Subject: [PATCH] Fix new topology mpi communicator name --- HySoP/hysop/operator/energy_enstrophy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HySoP/hysop/operator/energy_enstrophy.py b/HySoP/hysop/operator/energy_enstrophy.py index 3a66362c1..3c16cd7d5 100644 --- a/HySoP/hysop/operator/energy_enstrophy.py +++ b/HySoP/hysop/operator/energy_enstrophy.py @@ -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) -- GitLab