diff options
author | Anton Khirnov <anton@khirnov.net> | 2020-06-17 16:26:57 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2020-06-17 16:26:57 +0200 |
commit | 1b127d5b7212b31aad7c17fe90f82cea417410bd (patch) | |
tree | 0b91990071e4c9b2d19c8179a46e4572c5ded3af /Carpet/CarpetLib/src/dist.cc | |
parent | 665170edf5b1346463e3e7d58bc6a4395deba45a (diff) |
Stop using API removed in MPI 2.0
Diffstat (limited to 'Carpet/CarpetLib/src/dist.cc')
-rw-r--r-- | Carpet/CarpetLib/src/dist.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/CarpetLib/src/dist.cc b/Carpet/CarpetLib/src/dist.cc index 8546ca6ca..21db4fdef 100644 --- a/Carpet/CarpetLib/src/dist.cc +++ b/Carpet/CarpetLib/src/dist.cc @@ -278,7 +278,7 @@ namespace dist { types [n] = descr[n].type; } MPI_Datatype newtype; - MPI_Type_struct (count, blocklengths, displacements, types, &newtype); + MPI_Type_create_struct (count, blocklengths, displacements, types, &newtype); MPI_Type_commit (&newtype); if (verbose) { CCTK_VInfo (CCTK_THORNSTRING, |