aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/dist.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetLib/src/dist.cc')
-rw-r--r--Carpet/CarpetLib/src/dist.cc2
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,