diff options
Diffstat (limited to 'tools/h5ls.c')
-rw-r--r-- | tools/h5ls.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/h5ls.c b/tools/h5ls.c index fa4c738..5abe4e1 100644 --- a/tools/h5ls.c +++ b/tools/h5ls.c @@ -1923,6 +1923,10 @@ main (int argc, char *argv[]) static char root_name[] = "/"; char drivername[50]; +#ifdef HAVE_PARALLEL + MPI_Init(&argc, &argv); + atexit(MPI_Finalize); +#endif /* Build display table */ DISPATCH(H5G_DATASET, "Dataset", H5Dopen, H5Dclose, |