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 );
+ exit(1);
}
initMat( comm, buf );
free( buf );
free( bufout );
- //MPI_Type_free( &mattype );
+ MPI_Type_free( &mattype );
MTestFreeComm( &comm );
}
- // MPI_Op_free( &op );
+ MPI_Op_free( &op );
MTest_Finalize( errs );
MPI_Finalize();