From: Daniel Arndt Date: Sat, 28 Apr 2018 12:21:13 +0000 (+0200) Subject: Use Utilities::MPI::MPI_Comm_create_group X-Git-Tag: v9.0.0-rc1~65^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a476ad7d0e93ab5517653249d6f7eda3b279c91;p=dealii.git Use Utilities::MPI::MPI_Comm_create_group --- 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); /*