From 8a476ad7d0e93ab5517653249d6f7eda3b279c91 Mon Sep 17 00:00:00 2001 From: Daniel Arndt Date: Sat, 28 Apr 2018 14:21:13 +0200 Subject: [PATCH] Use Utilities::MPI::MPI_Comm_create_group --- source/lac/scalapack.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/lac/scalapack.cc b/source/lac/scalapack.cc index b6f8934292..ae8cea0662 100644 --- a/source/lac/scalapack.cc +++ b/source/lac/scalapack.cc @@ -439,8 +439,8 @@ ScaLAPACKMatrix::copy_to (ScaLAPACKMatrix &dest) const // there is really no harm in passing MPI_COMM_WORLD as the // first argument, even if the program we are currently running // and that is calling this function only works on a subset of - // processes - ierr = MPI_Comm_create_group(MPI_COMM_WORLD, group_union, 5, &mpi_communicator_union); + // processes. the same holds for the wrapper/fallback we are using here. + ierr = Utilities::MPI::create_group(MPI_COMM_WORLD, group_union, 5, &mpi_communicator_union); AssertThrowMPI(ierr); /* -- 2.39.5