mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-18 15:15:56 +08:00
[svn-r2781] ./hdf5/tools/h5ls.c
* 2000-10-31 Robb Matzke <matzke@llnl.gov> (main) Added calls to MPI_Init() and MPI_Finalize() for parallel versions in order to prevent errors about unrecognized command-line options.
This commit is contained in:
parent
da4f3fd155
commit
350fa2af78
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user