summaryrefslogtreecommitdiffstats
path: root/testpar/t_cache.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@lbl.gov>2018-03-21 05:09:16 (GMT)
committerQuincey Koziol <koziol@lbl.gov>2018-03-21 05:09:16 (GMT)
commit4766d282ff21bf7dad3852696b33869beff12415 (patch)
treeaf070d6361070fa1dab466f9efdd9c4ab9e294f8 /testpar/t_cache.c
parentc5db36c7df19f27d65b29364596e81f7d5c8434d (diff)
downloadhdf5-4766d282ff21bf7dad3852696b33869beff12415.zip
hdf5-4766d282ff21bf7dad3852696b33869beff12415.tar.gz
hdf5-4766d282ff21bf7dad3852696b33869beff12415.tar.bz2
Corrections for parallel I/O & tests.
Diffstat (limited to 'testpar/t_cache.c')
-rw-r--r--testpar/t_cache.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/testpar/t_cache.c b/testpar/t_cache.c
index 63b6ac7..caa578e 100644
--- a/testpar/t_cache.c
+++ b/testpar/t_cache.c
@@ -4075,6 +4075,9 @@ setup_cache_for_test(hid_t * fid_ptr,
fid = H5Fcreate(filenames[0], H5F_ACC_TRUNC, H5P_DEFAULT, fapl);
+ /* Push API context */
+ H5CX_push();
+
if ( fid < 0 ) {
nerrors++;
if ( verbose ) {
@@ -4556,6 +4559,9 @@ take_down_cache(hid_t fid, H5C_t * cache_ptr)
}
+ /* Pop API context */
+ H5CX_pop();
+
if ( success ) {
if ( world_mpi_rank == world_server_mpi_rank ) {