-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update the VOL for HDF5 2.0.0 changes. (#73)
* Removed the use of H5VLpeek_connector_id_by_name as it was removed in newer than 1.14 HDF5 versions. * Updated for HDF5 2.0 VOL API changes, * Renaming of H5VLstart_lib_state and H5VLfinish_lib_state, along with new context state * Updated tests to pull from the newest HDF5 source.
- Loading branch information
Showing
25 changed files
with
224 additions
and
114 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- h5_attribute.c 2024-11-12 16:49:52.466955555 -0600 | ||
+++ h5_attribute_logvol.c 2024-11-12 16:47:13.644521620 -0600 | ||
@@ -41,7 +41,7 @@ | ||
/* Operator function */ | ||
|
||
int | ||
-main(void) | ||
+main(int argc, char **argv) | ||
{ | ||
|
||
hid_t file, dataset; /* File and dataset identifiers */ | ||
@@ -79,7 +79,7 @@ | ||
/* | ||
* Create a file. | ||
*/ | ||
- file = H5Fcreate(H5FILE_NAME, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); | ||
+ file = H5Fcreate(argv[1], H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT); | ||
|
||
/* | ||
* Create the dataspace for the dataset in the file. | ||
@@ -167,7 +167,7 @@ | ||
/* | ||
* Reopen the file. | ||
*/ | ||
- file = H5Fopen(H5FILE_NAME, H5F_ACC_RDONLY, H5P_DEFAULT); | ||
+ file = H5Fopen(argv[1], H5F_ACC_RDONLY, H5P_DEFAULT); | ||
|
||
/* | ||
* Open the dataset. | ||
@@ -185,6 +185,7 @@ | ||
|
||
//! [H5Oget_info3_snip] | ||
|
||
+#if 0 | ||
/* | ||
* Find string attribute by iterating through all attributes | ||
*/ | ||
@@ -203,6 +204,7 @@ | ||
ret = H5Aclose(attr); | ||
ret = H5Tclose(atype); | ||
} | ||
+#endif | ||
|
||
//! [H5Oget_info3_snip] | ||
/* |
This file was deleted.
Oops, something went wrong.
10 changes: 5 additions & 5 deletions
10
...xamples/h5_interm_group.patch.hdf5-1_13_0 → examples/hdf5_examples/h5_interm_group.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
--- h5_interm_group.c 2022-03-16 18:21:18.837044757 -0500 | ||
+++ h5_interm_group_logvol.c 2022-03-16 18:21:46.457044898 -0500 | ||
@@ -88,10 +88,13 @@ | ||
--- h5_interm_group.c 2024-11-13 11:56:00.913059201 -0600 | ||
+++ h5_interm_group_logvol.c 2024-11-13 11:56:54.281932771 -0600 | ||
@@ -84,11 +84,12 @@ | ||
g2_id = H5Gopen2(file, "/G1/G2", H5P_DEFAULT); | ||
status = H5Gget_info(g2_id, &g2_info); | ||
printf("Group /G1/G2 has %d member(s)\n", (int)g2_info.nlinks); | ||
- | ||
+#if 0 | ||
for (i = 0; i < (int)g2_info.nlinks; i++) { | ||
H5Lget_name_by_idx(g2_id, ".", H5_INDEX_NAME, H5_ITER_NATIVE, (hsize_t)i, name, 3, H5P_DEFAULT); | ||
printf("Object's name is %s\n", name); | ||
} | ||
+#endif | ||
+ | ||
H5Gclose(g2_id); | ||
} | ||
H5Fclose(file); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.