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
MBI test: disply the right buffer on error
[simgrid.git]
/
teshsuite
/
smpi
/
MBI
/
P2PMatchingANYSRCGenerator.py
diff --git
a/teshsuite/smpi/MBI/P2PMatchingANYSRCGenerator.py
b/teshsuite/smpi/MBI/P2PMatchingANYSRCGenerator.py
index
21613bd
..
0090a7c
100755
(executable)
--- a/
teshsuite/smpi/MBI/P2PMatchingANYSRCGenerator.py
+++ b/
teshsuite/smpi/MBI/P2PMatchingANYSRCGenerator.py
@@
-51,7
+51,6
@@
int main(int argc, char **argv) {
if (nprocs < 2)
printf("MBI ERROR: This test needs at least 2 processes to produce a bug!\\n");
if (nprocs < 2)
printf("MBI ERROR: This test needs at least 2 processes to produce a bug!\\n");
- int recv_buffer=-1;
int send_buffer=rank;
MPI_Datatype type = MPI_INT;
int send_buffer=rank;
MPI_Datatype type = MPI_INT;
@@
-66,7
+65,7
@@
int main(int argc, char **argv) {
@{fini1}@
}
if (@{cond}@ != 3) {
@{fini1}@
}
if (@{cond}@ != 3) {
- printf("MBI_MSG_RACE: The last received message is not 3 but %d!\\n",
recv_buffer
);
+ printf("MBI_MSG_RACE: The last received message is not 3 but %d!\\n",
buf1
);
fflush(stdout);
abort();
}
fflush(stdout);
abort();
}