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
[sonar] Replace redundant type with 'auto'.
[simgrid.git]
/
teshsuite
/
smpi
/
isp
/
umpire
/
no-error-wait-any_src3.c
diff --git
a/teshsuite/smpi/isp/umpire/no-error-wait-any_src3.c
b/teshsuite/smpi/isp/umpire/no-error-wait-any_src3.c
index db9980b172c767709b576c4f7b6d3cdcb40453f8..eedca26a63485ba25179d7f25e83f656eaaa3c78 100644
(file)
--- a/
teshsuite/smpi/isp/umpire/no-error-wait-any_src3.c
+++ b/
teshsuite/smpi/isp/umpire/no-error-wait-any_src3.c
@@
-41,9
+41,9
@@
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_Irecv (buf1, buf_size, MPI_INT,
MPI_ANY_SOURCE, 0, MPI_COMM_WORLD, &req);
MPI_Send (buf0, buf_size, MPI_INT, 1, 0, MPI_COMM_WORLD);
MPI_ANY_SOURCE, 0, MPI_COMM_WORLD, &req);
MPI_Send (buf0, buf_size, MPI_INT, 1, 0, MPI_COMM_WORLD);
@@
-58,7
+58,7
@@
main (int argc, char **argv)
}
else if (rank == 1)
{
}
else if (rank == 1)
{
- MPI_Irecv (buf1, buf_size, MPI_INT,
+ MPI_Irecv (buf1, buf_size, MPI_INT,
MPI_ANY_SOURCE, 0, MPI_COMM_WORLD, &req);
MPI_Recv (buf0, buf_size, MPI_INT, 0, 0, MPI_COMM_WORLD, &status);
MPI_ANY_SOURCE, 0, MPI_COMM_WORLD, &req);
MPI_Recv (buf0, buf_size, MPI_INT, 0, 0, MPI_COMM_WORLD, &status);