A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge pull request #2 from mquinson/master
[simgrid.git]
/
teshsuite
/
smpi
/
mpich3-test
/
coll
/
reduce_local.c
diff --git
a/teshsuite/smpi/mpich3-test/coll/reduce_local.c
b/teshsuite/smpi/mpich3-test/coll/reduce_local.c
index 9bf68203ac9133273013d980e139202eb70b1ca3..6521bb764a200ac2cac29de4ca56ac1662c575a0 100644
(file)
--- a/
teshsuite/smpi/mpich3-test/coll/reduce_local.c
+++ b/
teshsuite/smpi/mpich3-test/coll/reduce_local.c
@@
-40,11
+40,13
@@
static void user_op(void *invec, void *inoutvec, int *len, MPI_Datatype *datatyp
int main( int argc, char *argv[] )
{
int errs = 0;
+#if MTEST_HAVE_MIN_MPI_VERSION(2,2)
int i;
int *inbuf = NULL;
int *inoutbuf = NULL;
int count = -1;
MPI_Op uop = MPI_OP_NULL;
+#endif
MTest_Init(&argc, &argv);
#if MTEST_HAVE_MIN_MPI_VERSION(2,2)