]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Use Utilities::MPI::MPI_Comm_create_group
authorDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sat, 28 Apr 2018 12:21:13 +0000 (14:21 +0200)
committerDaniel Arndt <daniel.arndt@iwr.uni-heidelberg.de>
Sun, 29 Apr 2018 09:55:01 +0000 (11:55 +0200)
source/lac/scalapack.cc

index b6f8934292a6e7ce0c7a00d964fd819a7c57a700..ae8cea06629a8793456fe7262672ab082a054b88 100644 (file)
@@ -439,8 +439,8 @@ ScaLAPACKMatrix<NumberType>::copy_to (ScaLAPACKMatrix<NumberType> &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);
 
       /*

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.