From 25df08f7a48168b2389604cd17578452b468f518 Mon Sep 17 00:00:00 2001 From: Joachim Schoeberl Date: Fri, 29 Apr 2022 07:16:07 +0200 Subject: [PATCH] fix deprecated --- libsrc/general/mpi_interface.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libsrc/general/mpi_interface.hpp b/libsrc/general/mpi_interface.hpp index 027f060e..2c490053 100644 --- a/libsrc/general/mpi_interface.hpp +++ b/libsrc/general/mpi_interface.hpp @@ -270,7 +270,8 @@ namespace netgen inline void MyMPI_Bcast (NgArray & s, NgMPI_Comm comm) { int size = s.Size(); - MyMPI_Bcast (size, comm); + // MyMPI_Bcast (size, comm); + comm.Bcast(size); // if (MyMPI_GetId(comm) != 0) s.SetSize (size); if (comm.Rank() != 0) s.SetSize (size); MPI_Bcast (&s[0], size, GetMPIType(), 0, comm);