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
this test actually caused an overflow which led to strange things and leaks.
[simgrid.git]
/
teshsuite
/
smpi
/
mpich3-test
/
rma
/
win_shared_noncontig.c
diff --git
a/teshsuite/smpi/mpich3-test/rma/win_shared_noncontig.c
b/teshsuite/smpi/mpich3-test/rma/win_shared_noncontig.c
index
a6ab73b
..
22e37e1
100644
(file)
--- a/
teshsuite/smpi/mpich3-test/rma/win_shared_noncontig.c
+++ b/
teshsuite/smpi/mpich3-test/rma/win_shared_noncontig.c
@@
-59,7
+59,7
@@
int main(int argc, char **argv) {
MPI_Aint size;
MPI_Win_shared_query(shm_win, i, &size, &disp_unit, &base);
- assert(size
=
= ELEM_PER_PROC * sizeof(int));
+ assert(size
>
= ELEM_PER_PROC * sizeof(int));
for (j = 0; j < ELEM_PER_PROC; j++) {
if ( base[j] != j ) {