diff options
-rw-r--r-- | examples/h5ff_client_attr.c | 2 | ||||
-rw-r--r-- | examples/h5ff_client_evict_deltas.c | 9 | ||||
-rw-r--r-- | examples/h5ff_client_prefetch.c | 3 |
3 files changed, 7 insertions, 7 deletions
diff --git a/examples/h5ff_client_attr.c b/examples/h5ff_client_attr.c index e812e8c..b9c4857 100644 --- a/examples/h5ff_client_attr.c +++ b/examples/h5ff_client_attr.c @@ -287,7 +287,7 @@ int main(int argc, char **argv) { MPI_Barrier(MPI_COMM_WORLD); if(my_rank == 0) { - /* release container version 1. This is async. */ + /* release container version 2. This is async. */ ret = H5RCrelease(rid3, e_stack); assert(0 == ret); } diff --git a/examples/h5ff_client_evict_deltas.c b/examples/h5ff_client_evict_deltas.c index 717b2d4..128a9b4 100644 --- a/examples/h5ff_client_evict_deltas.c +++ b/examples/h5ff_client_evict_deltas.c @@ -199,9 +199,6 @@ int main(int argc, char **argv) { if(0 == my_rank) {
ret = H5RCpersist(rid2, H5_EVENT_STACK_NULL);
assert(ret == 0);
-
- ret = H5Tevict_ff(dtid, 1, H5P_DEFAULT, H5_EVENT_STACK_NULL);
- assert(0 == ret);
}
MPI_Barrier(MPI_COMM_WORLD);
@@ -214,9 +211,13 @@ int main(int argc, char **argv) { MPI_Barrier(MPI_COMM_WORLD);
- if(0 == my_rank) {
+ if((my_size > 1 && 1 == my_rank) ||
+ (my_size == 1 && 0 == my_rank)) {
ret = H5Tevict_ff(dtid, 2, H5P_DEFAULT, H5_EVENT_STACK_NULL);
assert(0 == ret);
+
+ ret = H5Devict_ff(did, 2, H5P_DEFAULT, H5_EVENT_STACK_NULL);
+ assert(0 == ret);
}
MPI_Barrier(MPI_COMM_WORLD);
diff --git a/examples/h5ff_client_prefetch.c b/examples/h5ff_client_prefetch.c index 9fb2dd3..02bff6a 100644 --- a/examples/h5ff_client_prefetch.c +++ b/examples/h5ff_client_prefetch.c @@ -220,7 +220,6 @@ int main(int argc, char **argv) { if((my_size > 1 && 1 == my_rank) ||
(my_size == 1 && 0 == my_rank)) {
- //if(0 == my_rank) {
hid_t mapl_id, tapl_id, dapl_id;
hrpl_t map_replica, dt_replica, dset_replica;
@@ -261,7 +260,6 @@ int main(int argc, char **argv) { assert(0 == ret);
H5Pclose(tapl_id);
-#if 0
dapl_id = H5Pcreate (H5P_DATASET_ACCESS);
ret = H5Pset_evict_replica(dapl_id, dset_replica);
assert(0 == ret);
@@ -269,6 +267,7 @@ int main(int argc, char **argv) { assert(0 == ret);
H5Pclose(dapl_id);
+#if 0
mapl_id = H5Pcreate (H5P_MAP_ACCESS);
ret = H5Pset_evict_replica(mapl_id, map_replica);
assert(0 == ret);
|