diff options
author | Neil Fortner <nfortne2@hdfgroup.org> | 2017-05-05 21:57:29 (GMT) |
---|---|---|
committer | Neil Fortner <nfortne2@hdfgroup.org> | 2017-05-05 21:57:29 (GMT) |
commit | 6d247775a6b2e42de604d0e9f5b17853e5a02ad9 (patch) | |
tree | e9b2c4f2f6684cd08507331aaf390d17022a164c /examples/h5dsm_dset_rpartial.c | |
parent | 9035f351cd0f500c9a85fd70bd922cf1d9a625ce (diff) | |
download | hdf5-6d247775a6b2e42de604d0e9f5b17853e5a02ad9.zip hdf5-6d247775a6b2e42de604d0e9f5b17853e5a02ad9.tar.gz hdf5-6d247775a6b2e42de604d0e9f5b17853e5a02ad9.tar.bz2 |
Fix memory leak in collective group open through soft links. Minor
changes to examples.
Diffstat (limited to 'examples/h5dsm_dset_rpartial.c')
-rw-r--r-- | examples/h5dsm_dset_rpartial.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/h5dsm_dset_rpartial.c b/examples/h5dsm_dset_rpartial.c index 7548e7b..aad0b2e 100644 --- a/examples/h5dsm_dset_rpartial.c +++ b/examples/h5dsm_dset_rpartial.c @@ -19,8 +19,8 @@ int main(int argc, char *argv[]) { MPI_Comm_rank(MPI_COMM_WORLD, &rank); MPI_Comm_size(MPI_COMM_WORLD, &mpi_size); - if(mpi_size != 2) - PRINTF_ERROR("mpi_size != 2\n"); + if(mpi_size > 2) + PRINTF_ERROR("mpi_size > 2\n"); /* Seed random number generator */ srand(time(NULL)); |