Skip to content

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.

@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