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
kebab-case some smpi options
[simgrid.git]
/
teshsuite
/
smpi
/
mpich3-test
/
coll
/
allred3.c
diff --git
a/teshsuite/smpi/mpich3-test/coll/allred3.c
b/teshsuite/smpi/mpich3-test/coll/allred3.c
index
aaf8a23
..
61f1a7c
100644
(file)
--- a/
teshsuite/smpi/mpich3-test/coll/allred3.c
+++ b/
teshsuite/smpi/mpich3-test/coll/allred3.c
@@
-182,10
+182,12
@@
int main( int argc, char *argv[] )
buf = (int *)malloc( max_offset * sizeof(int) );
if (!buf) {
MPI_Abort( MPI_COMM_WORLD, 1 );
buf = (int *)malloc( max_offset * sizeof(int) );
if (!buf) {
MPI_Abort( MPI_COMM_WORLD, 1 );
+ exit(1);
}
bufout = (int *)malloc( max_offset * sizeof(int) );
if (!bufout) {
MPI_Abort( MPI_COMM_WORLD, 1 );
}
bufout = (int *)malloc( max_offset * sizeof(int) );
if (!bufout) {
MPI_Abort( MPI_COMM_WORLD, 1 );
+ exit(1);
}
initMat( comm, buf );
}
initMat( comm, buf );
@@
-200,11
+202,11
@@
int main( int argc, char *argv[] )
free( buf );
free( bufout );
free( buf );
free( bufout );
-
//
MPI_Type_free( &mattype );
+ MPI_Type_free( &mattype );
MTestFreeComm( &comm );
}
MTestFreeComm( &comm );
}
-
//
MPI_Op_free( &op );
+ MPI_Op_free( &op );
MTest_Finalize( errs );
MPI_Finalize();
MTest_Finalize( errs );
MPI_Finalize();