Commit Graph

23124 Commits

Author SHA1 Message Date
Scot Breitenfeld
bc0c42695f
addressed compilation errors with gfortran 4.8 (#4082) 2024-03-07 10:44:14 -08:00
Allen Byrne
c872acae63
New option for building with static CRT in Windows (#4062) 2024-03-07 09:27:56 -08:00
mattjala
64a0b71c86
Close and reopen file during dset vlen IO API tests (#4050)
- Close/reopen file and file objects to prevent cache from being used instead of actual I/O.
- Moved vlen io test datasets under the dset container group instead of the root group
- Moved the PASSED() invocation to after individual test cleanup in case an error occurs during H5Treclaim
2024-03-07 09:07:05 -08:00
Michael Aivazis
3277064da3
Increased H5FD_ROS3_MAX_SECRET_TOK_LEN to 4096 to accommodate long AWS secret tokens (#4064)
ros3: increased H5FD_ROS3_MAX_SECRET_TOK_LEN to 4096; stratified the debugging statements so there is more control over the output
2024-03-07 08:53:45 -08:00
Dana Robinson
30c34f927d
Add support for the new MSVC preprocessor (#4078)
Microsoft has added a new, standards-conformant preprocessor
to MSVC, which can be enabled with /Zc:preprocessor. This
preprocessor trips over our HDopen() function-like variadic
macro since it uses a hack that only works with the legacy
MSVC preprocessor.

This fix adds ifdefs to use the correct HDopen() macro
depending on the MSVC preprocessor selected.

Fixes #2515
2024-03-07 08:52:32 -08:00
jhendersonHDF
2a2c683dc3
Don't load toolchain file in CMake workflows (#4077) 2024-03-07 08:03:13 -08:00
Scot Breitenfeld
9d8e882496
Added new H5E with tests. (#4049)
Added Fortran H5E APIs:
h5eregister_class_f, h5eunregister_class_f, h5ecreate_msg_f, h5eclose_msg_f
h5eget_msg_f, h5epush_f, h5eget_num_f, h5ewalk_f, h5eget_class_name_f,
h5eappend_stack_f, h5eget_current_stack_f, h5eset_current_stack_f, h5ecreate_stack_f,
h5eclose_stack_f, h5epop_f, h5eprint_f (C h5eprint v2 signature)

Addresses Issue #3987
2024-03-07 03:34:55 -08:00
Allen Byrne
fe5d0d5c53
fix path for S3 build path in CI (#4076) 2024-03-06 07:49:10 -08:00
Dana Robinson
10a35d0ebb
Fix uninitialized bytes in selection I/O test (#4073)
This was due to a complex type fill value being set to -1 instead
of a proper complex value. This was a test problem and not a core
library issue.
2024-03-06 07:48:28 -08:00
Allen Byrne
5fc7111895
Add NEWSLETTER and merge abi reports and add sha256sums (#4055) 2024-03-05 14:50:39 -08:00
Allen Byrne
129d80d208
Update INSTALL files (#4052) 2024-03-05 14:42:08 -08:00
Dana Robinson
e4d9b639d5
Fix uninitialized bytes in cmpd_dset test (#4072)
Compound fill values were set to the integer -1, causing valgrind
to flag 'uninitialized bytes' errors.

This is just a problem with the cmpd_dset test and not a core
library problem.
2024-03-05 14:33:09 -08:00
Dana Robinson
13348ab915
Fix a memory leak in the cmpd_dset test (#4071)
This was due to not freeing a test buffer. It was not a core
library memory leak.
2024-03-05 13:16:17 -08:00
Allen Byrne
0be892585a
Rename incorrectly named option (#4067)
* Rename incorrectly named option

* Restore the correct uses of USING_MEMCHECKER

* Update release note
2024-03-05 09:07:16 -08:00
Allen Byrne
42c7e1d073
Ignore UserPresets and Use only C compiler for sanitizers (#4066)
* Remove user presets file

* Only use C compiler for sanitzers
2024-03-05 09:05:38 -08:00
jhendersonHDF
f5f6975c2f
Fix issue where H5Tset_fields does not account for datatype offsets (#4061)
H5Tset_fields did not account for any offset in a floating-point datatype,
causing it to fail when a datatype's precision is correctly set such that
it doesn't include the offset bits.
2024-03-05 08:23:34 -06:00
jhendersonHDF
60532b6c56
Add note to H5Tset_fields about needing to set datatype precision first (#4059)
* Offset of a floating-point type also needs to be accounted for

* Clarify ordering of H5Tset_precision and H5Tset_fields
2024-03-05 08:21:37 -06:00
Allen Byrne
7ab17e25c6
Do not enable szip for sanitizer runs (#4057) 2024-03-04 09:12:07 -08:00
Larry Knox
968cf9e707
Improve error messages when tools attempt to use non-enabled S3 and HDFS VFDs. (#4047) 2024-03-04 06:54:24 -08:00
Allen Byrne
7ce8c6f81a
Add options to allow tools type selection and naming (#4046) 2024-03-04 06:53:52 -08:00
Allen Byrne
38c39381ec
Add upddated cmake tools from source location (#4040) 2024-03-04 06:53:22 -08:00
mattjala
8276bdbe09
Fix VOL-compatibility issues in External Link API test (#4039)
Fix link API tests with incorrect filename
2024-03-04 06:52:44 -08:00
dependabot[bot]
21a1d7dfb1
Bump the github-actions group with 2 updates (#4054)
Bumps the github-actions group with 2 updates: [actions/download-artifact](https://github.com/actions/download-artifact) and [github/codeql-action](https://github.com/github/codeql-action).
2024-03-04 08:38:11 -06:00
jhendersonHDF
cc50a78000
Fix issue with FAPL file locking setting inheriting test (#4053)
Fixes an issue where the HDF5_USE_FILE_LOCKING environment variable being
set can interfere with the file locking setting that the test expects to
be returned.
2024-03-01 07:38:17 -06:00
Allen Byrne
662ee679e0
Remove limitations on preset generators (#4051) 2024-02-29 16:12:03 -06:00
Dana Robinson
5d6acc5c3f
Remove check for gettimeofday + tz in CMake (#4045)
This is not used in the library
2024-02-26 14:35:23 -06:00
Dana Robinson
a665d03874
Consolidate Autotools linux files (#4044)
There are many architecture-specific linux files in the config
directory, all of which simply redirect to linux-gnulibc1.

This change renames linux-gnulibc1 to linux-gnu and deletes the more
specific files.
2024-02-26 14:34:27 -06:00
Dana Robinson
817c67fad6
Remove unused AIX cross-compile cache overrides (#4043)
The ibm-aix Autotools config file had some unmaintained and unnecessary
Autoconf cache overrides. These have been removed.
2024-02-26 14:32:26 -06:00
Dana Robinson
f36b2911ab
Don't try to load general-19 warnings file for icc (#4042)
The Autools Classic Intel compiler configuration attempts to load a file
named `general-19` from the intel-warnings/classic directory, which does
not exist.

This removes the attempted load of the file.
2024-02-26 14:28:49 -06:00
mattjala
b79982a606
Fix allocating too much memory in dset API test (#4041) 2024-02-26 14:27:51 -06:00
jhendersonHDF
221e429578
Fix memory leak in H5LTopen_file_image when H5LT_FILE_IMAGE_DONT_COPY flag is used (#4021)
When the H5LT_FILE_IMAGE_DONT_COPY flag is passed to H5LTopen_file_image, the internally-allocated
udata structure gets leaked as the core file driver doesn't have a way to determine when or if it
needs to call the 'udata_free' callback. This has been fixed by freeing the udata structure when
the 'image_free' callback gets made during file close, where the file is holding the last reference
to the udata structure.
2024-02-26 08:52:33 -08:00
Neil Fortner
560e80c0ad
Improve performance of flushing single objects (#4017)
Improve performance of flushing a single object, and remove metadata
cache flush markers
2024-02-23 09:06:06 -08:00
Allen Byrne
3fd1e90df6
Update and Add general INSTALL (#4016) 2024-02-23 08:02:18 -06:00
Allen Byrne
9a99fee914
Add deb and rpm binaries to snapshots (#4035) 2024-02-23 07:58:18 -06:00
Scot Breitenfeld
e7f41a2fbf
Fix the datatype passed to H5*exists_async APIs in tests. (#4033)
Add a new testing function to verify C_BOOL values.
2024-02-23 07:57:30 -06:00
Allen Byrne
f02ecb21dd
Fix missing NOT from if check in HL folder (#4036) 2024-02-22 14:55:15 -06:00
jhendersonHDF
46f7aa75fd
Fix H5F_get_access_plist to copy file locking settings (#4030)
H5F_get_access_plist previously did not copy over the file locking settings
from a file into the new File Access Property List that it creates. This would
make it difficult to match the file locking settings between an external file
and its parent file.
2024-02-22 14:52:36 -06:00
Christoph Niethammer
f1e8f42b5a
Replace deprecated Fortran 'include mpif.h' with 'USE mpi' (#4031)
With MPI 4.1 the use of the mpif.h include file has been deprecated. Codes
should transition to USE mpi or USE mpi_f08.

Signed-off-by: Christoph Niethammer <niethammer@hlrs.de>
2024-02-21 14:04:38 -06:00
H. Joe Lee
d4b43e0b43
Check argument for CMake REGEX FCMangle.h. (#4029) 2024-02-21 13:54:24 -06:00
mattjala
0f56048a04
Test vlen sequence IO in API tests (#4027) 2024-02-21 13:52:39 -06:00
Sean McBride
7aed6abd52
Replaced last sprintf with snprintf (#4007)
* Replaced last sprintf with snprintf

To have the size of the buffer, it was required to change a function signature, and change all users of it.

In most cases, determining the buffer size wasn't  trivial and so SIZE_MAX is passed. But at least this improves the infrastructure. Someone can later figure out the correct sizes.
2024-02-20 12:19:50 -05:00
H. Joe Lee
f73da83a94
Remove oneapi return value warning. (#4028) 2024-02-19 11:08:38 -06:00
Allen Byrne
02a57328f7
Grep for error messages instead of comparing files (#4024) 2024-02-16 09:14:22 -08:00
Allen Byrne
bdddf43f1a
Correct String FIND for runTest and grepTest (#4022) 2024-02-15 17:49:32 -06:00
Allen Byrne
7392a102d8
Delete old snapshot binaries after new snapshots are created (#4020) 2024-02-15 15:32:01 -06:00
Scot Breitenfeld
410c18b59f
included best practices of using coll. metadata APIs (#4018) 2024-02-15 08:19:52 -08:00
mattjala
4023fbcfbb
Add compound subset ops on attributes to API tests (#4005)
* Add partial compound io on attributes to API tests
2024-02-14 11:15:01 -06:00
Allen Byrne
9dc82da3df
separate out individual checks for string removal (#4015) 2024-02-14 09:56:26 -06:00
H. Joe Lee
1414693350
Add C in project line for CMake to fix #4012. (#4014) 2024-02-14 07:38:21 -06:00
Glenn Song
14ed93e749
Update install texts (#4010)
* Update INSTALL_CMake.txt as necessary

* Update remaining docs that use HDF5_USE_GNU_DIRS

* Update options in HDFMacros in HDF5Examples
2024-02-14 07:37:18 -06:00