[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:
Robb Matzke 2000-10-31 14:40:59 -05:00
parent da4f3fd155
commit 350fa2af78

View File

@ -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,