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
Change include order for smpi tests/examples to avoid conflicts
[simgrid.git]
/
teshsuite
/
smpi
/
mpich3-test
/
coll
/
exscan.c
diff --git
a/teshsuite/smpi/mpich3-test/coll/exscan.c
b/teshsuite/smpi/mpich3-test/coll/exscan.c
index
70f4c53
..
64ab9d5
100644
(file)
--- a/
teshsuite/smpi/mpich3-test/coll/exscan.c
+++ b/
teshsuite/smpi/mpich3-test/coll/exscan.c
@@
-84,6
+84,11
@@
int main( int argc, char *argv[] )
}
}
}
+
+ MPI_Comm_set_errhandler(MPI_COMM_WORLD, MPI_ERRORS_RETURN);
+ /* Make sure that we check for buffer aliasing properly */
+ if (MPI_SUCCESS == MPI_Exscan( recvbuf, recvbuf, count, MPI_INT, MPI_SUM, comm ))
+ errs++;
#endif
free( sendbuf );