summaryrefslogtreecommitdiffstats
path: root/src/H5.c
diff options
context:
space:
mode:
authorRobert Kim Yates <rkyates@llnl.gov>1998-02-02 16:26:49 (GMT)
committerRobert Kim Yates <rkyates@llnl.gov>1998-02-02 16:26:49 (GMT)
commita6f59faa9deea96ed2a8500ea53f5ef0f0a565ce (patch)
treef46ba7832c2c9acc9e812522329f2328c410b5e0 /src/H5.c
parent8831ff175c42845c6c523fbbbf035ec1f00a779c (diff)
downloadhdf5-a6f59faa9deea96ed2a8500ea53f5ef0f0a565ce.zip
hdf5-a6f59faa9deea96ed2a8500ea53f5ef0f0a565ce.tar.gz
hdf5-a6f59faa9deea96ed2a8500ea53f5ef0f0a565ce.tar.bz2
[svn-r211] Added hooks for MPI-IO low-level I/O module.
Diffstat (limited to 'src/H5.c')
-rw-r--r--src/H5.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/H5.c b/src/H5.c
index 30a33e0..cff6c30 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -94,6 +94,9 @@ H5_init_library(void)
HRETURN_ERROR(H5E_FUNC, H5E_CANTINIT, FAIL,
"unable to initialize type interface");
}
+#ifdef PHDF5
+ MPI_Init( NULL, NULL );
+#endif
FUNC_LEAVE(SUCCEED);
}
@@ -166,6 +169,9 @@ H5_term_library(void)
HDfree(temp);
temp = lib_exit_head;
} /* end while */
+#ifdef PHDF5
+ MPI_Finalize();
+#endif
} /* end H5_term_library() */
/*--------------------------------------------------------------------------