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
Kill trailing whitespaces in teshsuite/smpi/{isp,mpich3-test}.
[simgrid.git]
/
teshsuite
/
smpi
/
isp
/
umpire
/
probe-any_src-types-can-mismatch.c
diff --git
a/teshsuite/smpi/isp/umpire/probe-any_src-types-can-mismatch.c
b/teshsuite/smpi/isp/umpire/probe-any_src-types-can-mismatch.c
index
b4e63bf
..
3186ae8
100644
(file)
--- a/
teshsuite/smpi/isp/umpire/probe-any_src-types-can-mismatch.c
+++ b/
teshsuite/smpi/isp/umpire/probe-any_src-types-can-mismatch.c
@@
-54,22
+54,22
@@
main (int argc, char **argv)
{
for (j = 0; j < 2; j++) {
MPI_Probe (MPI_ANY_SOURCE, 0, MPI_COMM_WORLD, &status);
-
+
if (status.MPI_SOURCE == 0) {
- MPI_Recv (&i, 1, MPI_INT,
+ MPI_Recv (&i, 1, MPI_INT,
MPI_ANY_SOURCE, 0, MPI_COMM_WORLD, &status);
if (status.MPI_SOURCE != 0)
printf ("(%d) Type mismatch from matching other message\n", rank);
}
else {
- MPI_Recv (&x, 1, MPI_DOUBLE,
+ MPI_Recv (&x, 1, MPI_DOUBLE,
MPI_ANY_SOURCE, 0, MPI_COMM_WORLD, &status);
if (status.MPI_SOURCE == 0)
printf ("(%d) Type mismatch from matching other message\n", rank);
}
}
}
-
+
MPI_Barrier (MPI_COMM_WORLD);
MPI_Finalize ();