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' into master
[simgrid.git]
/
teshsuite
/
smpi
/
isp
/
umpire
/
no-error-wait-any_src.c
diff --git
a/teshsuite/smpi/isp/umpire/no-error-wait-any_src.c
b/teshsuite/smpi/isp/umpire/no-error-wait-any_src.c
index
0ab83aa
..
ee2e2ae
100644
(file)
--- a/
teshsuite/smpi/isp/umpire/no-error-wait-any_src.c
+++ b/
teshsuite/smpi/isp/umpire/no-error-wait-any_src.c
@@
-34,7
+34,7
@@
main (int argc, char **argv)
}
else if (rank == 0)
{
}
else if (rank == 0)
{
- memset (buf0, 0, buf_size);
+ memset (buf0, 0, buf_size
*sizeof(int)
);
MPI_Irecv (buf1, buf_size, MPI_INT,
MPI_ANY_SOURCE, 0, MPI_COMM_WORLD, &req);
MPI_Irecv (buf1, buf_size, MPI_INT,
MPI_ANY_SOURCE, 0, MPI_COMM_WORLD, &req);
@@
-45,7
+45,7
@@
main (int argc, char **argv)
}
else if (rank == 1)
{
}
else if (rank == 1)
{
- memset (buf1, 1, buf_size);
+ memset (buf1, 1, buf_size
*sizeof(int)
);
MPI_Irecv (buf0, buf_size, MPI_INT,
MPI_ANY_SOURCE, 0, MPI_COMM_WORLD, &req);
MPI_Irecv (buf0, buf_size, MPI_INT,
MPI_ANY_SOURCE, 0, MPI_COMM_WORLD, &req);