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 scm.gforge.inria.fr:/gitroot/simgrid/simgrid
[simgrid.git]
/
teshsuite
/
smpi
/
isp
/
umpire
/
no-error-waitany-any_src.c
diff --git
a/teshsuite/smpi/isp/umpire/no-error-waitany-any_src.c
b/teshsuite/smpi/isp/umpire/no-error-waitany-any_src.c
index
3aaa049
..
dcfc430
100644
(file)
--- a/
teshsuite/smpi/isp/umpire/no-error-waitany-any_src.c
+++ b/
teshsuite/smpi/isp/umpire/no-error-waitany-any_src.c
@@
-39,11
+39,11
@@
main (int argc, char **argv)
{
MPI_Request reqs[3];
- MPI_Irecv (buf0, buf_size, MPI_INT,
+ MPI_Irecv (buf0, buf_size, MPI_INT,
MPI_ANY_SOURCE, 1, MPI_COMM_WORLD, &reqs[0]);
- MPI_Irecv (buf1, buf_size, MPI_INT,
+ MPI_Irecv (buf1, buf_size, MPI_INT,
MPI_ANY_SOURCE, 2, MPI_COMM_WORLD, &reqs[1]);
- MPI_Irecv (buf2, buf_size, MPI_INT,
+ MPI_Irecv (buf2, buf_size, MPI_INT,
MPI_ANY_SOURCE, 3, MPI_COMM_WORLD, &reqs[2]);
for (i = 3; i > 0; i--) {
@@
-56,10
+56,10
@@
main (int argc, char **argv)
}
else if (rank == 1)
{
- memset (buf0, 1, buf_size);
+ memset (buf0, 1, buf_size
*sizeof(int)
);
for (i = 3; i > 0; i--) {
- MPI_Recv (&flipbit, 1, MPI_INT,
+ MPI_Recv (&flipbit, 1, MPI_INT,
MPI_ANY_SOURCE, i, MPI_COMM_WORLD, &status);
MPI_Send (buf0, buf_size, MPI_INT, 0, i, MPI_COMM_WORLD);