aboutsummaryrefslogtreecommitdiff
path: root/math/blacs/files/patch-SRC_MPI_blacs__gridinit__.c
diff options
context:
space:
mode:
Diffstat (limited to 'math/blacs/files/patch-SRC_MPI_blacs__gridinit__.c')
-rw-r--r--math/blacs/files/patch-SRC_MPI_blacs__gridinit__.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/math/blacs/files/patch-SRC_MPI_blacs__gridinit__.c b/math/blacs/files/patch-SRC_MPI_blacs__gridinit__.c
new file mode 100644
index 000000000000..6c102072a27b
--- /dev/null
+++ b/math/blacs/files/patch-SRC_MPI_blacs__gridinit__.c
@@ -0,0 +1,15 @@
+--- SRC/MPI/blacs_gridinit_.c.orig 2006-01-18 21:36:03 UTC
++++ SRC/MPI/blacs_gridinit_.c
+@@ -6,7 +6,12 @@ F_VOID_FUNC blacs_gridinit_(int *ConTxt, F_CHAR order,
+ F_VOID_FUNC blacs_gridinit_(int *ConTxt, F_CHAR order, int *nprow, int *npcol)
+ #endif
+ {
++#if (INTFACE == C_CALL)
+ void Cblacs_gridmap(int *, int *, int, int, int);
++#else
++ F_VOID_FUNC blacs_gridmap_(int *ConTxt, int *usermap, int *ldup, int *nprow0,
++ int *npcol0);
++#endif
+ int *tmpgrid, *iptr;
+ int i, j;
+