diff --git a/HySoP/hysop/operator/energy_enstrophy.py b/HySoP/hysop/operator/energy_enstrophy.py index 3a66362c1fbd97e073a54fcf643af9be3b005583..3c16cd7d507034890a2d9dc1e66c6d2d5b26a9d1 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)