diff options
Diffstat (limited to 'examples/h5ff_client_evict_deltas.c')
-rw-r--r-- | examples/h5ff_client_evict_deltas.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/h5ff_client_evict_deltas.c b/examples/h5ff_client_evict_deltas.c index 4a48eeb..717b2d4 100644 --- a/examples/h5ff_client_evict_deltas.c +++ b/examples/h5ff_client_evict_deltas.c @@ -170,9 +170,6 @@ int main(int argc, char **argv) { /* Close transaction object. Local op */
ret = H5TRclose(tid2);
assert(0 == ret);
-
- ret = H5RCpersist(rid2, H5_EVENT_STACK_NULL);
- assert(ret == 0);
}
MPI_Barrier(MPI_COMM_WORLD);
@@ -200,7 +197,10 @@ int main(int argc, char **argv) { MPI_Barrier(MPI_COMM_WORLD);
if(0 == my_rank) {
- ret = H5Devict_ff(did, 1, H5P_DEFAULT, H5_EVENT_STACK_NULL);
+ ret = H5RCpersist(rid2, H5_EVENT_STACK_NULL);
+ assert(ret == 0);
+
+ ret = H5Tevict_ff(dtid, 1, H5P_DEFAULT, H5_EVENT_STACK_NULL);
assert(0 == ret);
}
@@ -215,7 +215,7 @@ int main(int argc, char **argv) { MPI_Barrier(MPI_COMM_WORLD);
if(0 == my_rank) {
- ret = H5Devict_ff(did, 2, H5P_DEFAULT, H5_EVENT_STACK_NULL);
+ ret = H5Tevict_ff(dtid, 2, H5P_DEFAULT, H5_EVENT_STACK_NULL);
assert(0 == ret);
}
|