Update and fix HDF5 coding in various plugins#20848
Conversation
…dav/visit into mcm86-05mar26-hdf516-hdf520-fixes
|
For So we need the signature changes but not |
|
Most of these changes are straight forward -- we should scrutinize the iteration callbacks b/c those are the most complex aspect. |
Oh, good idea. I was at least going to see if this update resolves the memory issues I am seeing when reading Pixie data (which triggers attempts to open and read from 8 different HDF5 plugins). For now, my goal was to just get this work pushed somewhere useful. I don't think we need to worry about it prior to 3.5.0 release. But, thats your call too. |
Hmmm...I didn't look at that but yes, by default, HDF5 library contains macros for all API changes so that Honestly, I kinda prefer that way than writing code that explicitly calls out a specific version of the API method (e.g. But, it looks like Codex was not consistent in how it chose to resolve that in this case. |
Description
Many of our HDF5 plugins were still running
H5_USE_16_APIcode. I asked Codex to help with...int/hid_tandint/herr_tconfusions encountered (In older HDF5,hid_twasintbut not any longer).H5Xopen()/H5Xget_Y()withH5Xclose()/H5Yclose(). Missed pairings can cause leaks and prevent a later HDF5 plugin from opening a file left open from an earlier HDF5 plugin attempted during auto-detection.Type of change
[ ] New feature[ ] Documentation updateHow Has This Been Tested?
I ran all database tests on CZ system. Results posted in two tarfiles here. All failures are understood and expected.
Reminders:
Checklist:
[ ] I have commented my code where applicable.[ ] I have made corresponding changes to the documentation.[ ] I have added debugging support to my changes.[ ] I have added tests that prove my fix is effective or that my feature works.[ ] I have added new baselines for any new tests to the repo.