summaryrefslogtreecommitdiff
path: root/math/blacs/files/patch-SRC_MPI_Bdef.h
diff options
context:
space:
mode:
Diffstat (limited to 'math/blacs/files/patch-SRC_MPI_Bdef.h')
-rw-r--r--math/blacs/files/patch-SRC_MPI_Bdef.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/math/blacs/files/patch-SRC_MPI_Bdef.h b/math/blacs/files/patch-SRC_MPI_Bdef.h
new file mode 100644
index 000000000000..75a6acbe5696
--- /dev/null
+++ b/math/blacs/files/patch-SRC_MPI_Bdef.h
@@ -0,0 +1,14 @@
+--- SRC/MPI/Bdef.h.orig 2020-04-21 20:22:36 UTC
++++ SRC/MPI/Bdef.h
+@@ -1605,9 +1605,9 @@ int BI_ContxtNum();
+ #else
+ #define BI_MPI_Type_struct(count_, lens_, disps_, types_, newtype_, ierr_) \
+ { \
+- (ierr_) = MPI_Type_struct((count_), (lens_), (disps_), (types_), \
++ (ierr_) = MPI_Type_create_struct((count_), (lens_), (disps_), (types_), \
+ (newtype_)); \
+- Mmpierror((ierr_), "MPI_Type_struct", NULL, __LINE__, __FILE__); \
++ Mmpierror((ierr_), "MPI_Type_create_struct", NULL, __LINE__, __FILE__); \
+ }
+ #endif
+