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 branch 'master' of git+ssh://scm.gforge.inria.fr//gitroot//simgrid/simgrid
[simgrid.git]
/
examples
/
smpi
/
mc_bugged1.c
diff --git
a/examples/smpi/mc_bugged1.c
b/examples/smpi/mc_bugged1.c
index
b047f2d
..
dae3fdc
100644
(file)
--- a/
examples/smpi/mc_bugged1.c
+++ b/
examples/smpi/mc_bugged1.c
@@
-40,7
+40,9
@@
int main(int argc, char **argv)
}
printf("recv_buff = %d\n", recv_buff);
+#ifdef HAVE_MC
MC_assert(recv_buff == size - 1);
+#endif
}else{
MPI_Send(&rank, 1, MPI_INT, 0, 42, MPI_COMM_WORLD);