Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HDF5 2.0.0 updates #44

Merged
merged 8 commits into from
Nov 14, 2024
Merged

HDF5 2.0.0 updates #44

merged 8 commits into from
Nov 14, 2024

Conversation

brtnfld
Copy link
Collaborator

@brtnfld brtnfld commented Nov 13, 2024

HDF5 2.0.0 API updates, including the renaming of H5VLstart_lib_state and H5VLfinish_lib_state, along with a new context state.

@brtnfld brtnfld requested a review from houjun November 14, 2024 15:43
if (H5VLstart_lib_state() < 0) {
fprintf(fout_g, " [ ABT ERROR] %s H5VLstart_lib_state failed\n", __func__);
if (H5VLOPEN_LIB_CONTEXT(&task->h5_context) < 0) {
fprintf(fout_g, " [ ABT ERROR] %s %s failed\n", __func__, FUNC_H5VLOPEN_LIB_CONTEXT);
goto done;
}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pattern of changes is repeated for the other 2.0 changes.

if (is_lib_state_restored && H5VLfinish_lib_state() < 0)
fprintf(fout_g, " [ ABT ERROR] %s H5VLfinish_lib_state failed\n", __func__);
if (is_lib_state_restored && H5VLCLOSE_LIB_CONTEXT(task->h5_context) < 0)
fprintf(fout_g, " [ ABT ERROR] %s %s failed\n", __func__, FUNC_H5VLCLOSE_LIB_CONTEXT);
if (NULL != task->h5_state && H5VLfree_lib_state(task->h5_state) < 0)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This pattern of changes is repeated for the other 2.0 changes.

src/h5_async_vol.c Outdated Show resolved Hide resolved
@brtnfld brtnfld merged commit fbd401c into HDFGroup:develop Nov 14, 2024
6 checks passed
@brtnfld brtnfld deleted the v2_updates branch November 14, 2024 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants