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 'torus'
[simgrid.git]
/
teshsuite
/
smpi
/
mpich3-test
/
coll
/
redscatblk3.c
diff --git
a/teshsuite/smpi/mpich3-test/coll/redscatblk3.c
b/teshsuite/smpi/mpich3-test/coll/redscatblk3.c
index
5fb81e5
..
8341082
100644
(file)
--- a/
teshsuite/smpi/mpich3-test/coll/redscatblk3.c
+++ b/
teshsuite/smpi/mpich3-test/coll/redscatblk3.c
@@
-38,6
+38,7
@@
int main( int argc, char **argv )
fprintf( stderr, "Could not allocate %d ints for sendbuf\n",
mycount * size );
MPI_Abort( MPI_COMM_WORLD, 1 );
fprintf( stderr, "Could not allocate %d ints for sendbuf\n",
mycount * size );
MPI_Abort( MPI_COMM_WORLD, 1 );
+ exit(1);
}
idx = 0;
for (i=0; i<size; i++) {
}
idx = 0;
for (i=0; i<size; i++) {
@@
-50,6
+51,7
@@
int main( int argc, char **argv )
fprintf( stderr, "Could not allocate %d ints for recvbuf\n",
mycount );
MPI_Abort( MPI_COMM_WORLD, 1 );
fprintf( stderr, "Could not allocate %d ints for recvbuf\n",
mycount );
MPI_Abort( MPI_COMM_WORLD, 1 );
+ exit(1);
}
MPI_Reduce_scatter_block( sendbuf, recvbuf, mycount, MPI_INT, MPI_SUM,
}
MPI_Reduce_scatter_block( sendbuf, recvbuf, mycount, MPI_INT, MPI_SUM,