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

Sync develop changes to hdf5_1_14 #4911

Merged
merged 24 commits into from
Oct 2, 2024

Conversation

lrknox
Copy link
Collaborator

@lrknox lrknox commented Oct 2, 2024

No description provided.

lrknox and others added 21 commits October 2, 2024 10:27
…ibhdf5_hl_fortran. (HDFGroup#4831)

* Change name of libhdf5hl_fortran installed by autotools to libhdf5_hl_fortran to be
consistent with CMake install and with other hl lib files.  Switched
corresponding symlink to libhdf5hl_fortran.
Fixes issue HDFGroup#4684.

* Update h5fc.in to use renamed libhdf5_hl_fortran.
Fix typo in code to create link to libhdf5_hl_fortran.a.

* Removed code to create symlink for previous name of renamed lib
libhdf5hl_fortran.
Add RELEASE.txt entry about changeing name libhdf5hl_fortran to
libhdf5_hl_fortran.

* Update missed line in h5fc.in for libhdf5hl_fortran name change to
libhdf5_hl_fortran.  Fixes check-install failure.
* Fixes a segfault in h5dump

The B-tree node level was corrupted, resulting in a segfault later.
This PR adds a check to detect when the node level is greater than
the number of entries and issue an error instead.

Fixes HDFGroupGH-4432
H5LTfind_dataset() returns true for non-existing datasets because it only compares up to the length of the searched string, such as "Day" vs "DayNight" (issue HDFGroupGH-4780).

This PR applied the user's patch and added tests.
In H5F__accum_reset(), when H5F__accum_flush() failed, the freeing of
f_sh->accum.buf was never reached, causing resource leak.

@fortnern added the third argument to H5F__accum_reset() so we can free
f_sh->accum.buf when we close the file, that is, when H5F__accum_reset()
is called from the H5F__dest() route, and can leave the accumulator in place
otherwise.
…roup#4891)

Added new testframe.h header to document testing framework functions and
split them away from h5test.h and from test programs that don't
integrate with the testframe.c testing framework

Added new test setup callback to testframe.c testing framework

Added parameters to AddTest() to specify size of test parameters so they
can be copied for later use

Enabled HDF5 error stacks in testframe.c framework by default and added
some error stack suppressions to some testhdf5 tests

Added new maxthreads option to testframe.c framework to allow specifying
the maximum number of threads a multi-threaded test can use

Moved TestExpress functionality out of testframe.c and into more general
h5test.c for wider use by tests through getter and setter

Updated some tests to not mix and match functionality between h5test.c/h
and testframe.c/h

Moved some functionality from testphdf5.h into testpar.h for parallel
tests that aren't part of testphdf5

Added new parallel test library that contains common shared
functionality for parallel tests (similar to h5test library)
@@ -0,0 +1,51 @@
name: hdfeos5 dev
Copy link
Contributor

Choose a reason for hiding this comment

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

dev -> 1.14

workflow_dispatch:
push:
pull_request:
branches: [ develop ]
Copy link
Contributor

Choose a reason for hiding this comment

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

develop -> 1_14

@@ -98,7 +98,15 @@ New Features

Documentation:
--------------
-
- Documented that leaving HDF5 threads running at termination is unsafe
Copy link
Contributor

Choose a reason for hiding this comment

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

Did this not get into 1.14.5?

@@ -0,0 +1,51 @@
name: hdfeos5 dev
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

name: hdfeos5 1.14

Suggested change
name: hdfeos5 dev
name: hdfeos5 dev

.github/workflows/hdfeos5.yml Outdated Show resolved Hide resolved
.github/workflows/hdfeos5.yml Outdated Show resolved Hide resolved
@lrknox lrknox changed the title Sync develop changes to 1 14 Sync develop changes to hdf5_1_14 Oct 2, 2024
@jhendersonHDF jhendersonHDF added Merge Use this label when a PR is for a downstream merge Priority - 1. High 🔼 These are important issues that should be resolved in the next release Component - C Library Core C library issues (usually in the src directory) Component - Tools Command-line tools like h5dump, includes high-level tools Component - Documentation Doxygen, markdown, etc. Component - Fortran Fortran wrappers Component - Parallel Parallel HDF5 (NOT thread-safety) Component - Testing Code in test or testpar directories, GitHub workflows Component - Build CMake, Autotools Type - Task Actions that don't fit into any other type category Branch - 1.14 PRs to hdf5_1_14 Component - Misc Anything else (CODEOWNERS, etc.) labels Oct 2, 2024
@lrknox lrknox merged commit 08405a5 into HDFGroup:hdf5_1_14 Oct 2, 2024
57 checks passed
@lrknox lrknox deleted the sync_develop_changes_to_1_14 branch October 9, 2024 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Branch - 1.14 PRs to hdf5_1_14 Component - Build CMake, Autotools Component - C Library Core C library issues (usually in the src directory) Component - Documentation Doxygen, markdown, etc. Component - Fortran Fortran wrappers Component - Misc Anything else (CODEOWNERS, etc.) Component - Parallel Parallel HDF5 (NOT thread-safety) Component - Testing Code in test or testpar directories, GitHub workflows Component - Tools Command-line tools like h5dump, includes high-level tools Merge Use this label when a PR is for a downstream merge Priority - 1. High 🔼 These are important issues that should be resolved in the next release Type - Task Actions that don't fit into any other type category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

9 participants