Commit Graph

23054 Commits

Author SHA1 Message Date
Glenn Song
2d551c9b57
Add -h and --help as flags in h5cc & h5fc (#3729)
Adds these common help flags in addition to -help
2023-10-20 11:28:10 -07:00
Allen Byrne
b5c63fb3fe
Test scripts now execute in-source with creation of tmp dir (#3723)
Fixes a few issues created in #3580:

* Fixes a problem where committed tools test files were deleted when cleaning after an in-source build
* Fixes issues with test file paths in Autotools tools test scripts
2023-10-20 10:57:09 -07:00
Neil Fortner
630d6e27c9
Add new API function H5Pget_actual_select_io_mode() (#2974)
This function allows the user to determine if the library performed selection I/O, vector I/O, or scalar (legacy) I/O during the last HDF5 operation performed with the provided DXPL. Expanded existing tests to check this functionality.
2023-10-20 10:32:17 -07:00
Dana Robinson
b916ce2419
Suppress cast-qual warning in H5TB Fortran wrapper (#3728)
This interface is fundamentally broken, const-wise.
2023-10-19 21:19:52 -07:00
Allen Byrne
97a6efbf8a
Organize CMake config features like libsettings (#3725) 2023-10-19 15:24:50 -07:00
jhendersonHDF
af56339d3b
Fixes and adjustments to t_filters_parallel (#3714)
Broadcast number of datasets to create in multi-dataset I/O cases
so that interference with random number generation doesn't cause
mismatches between ranks

Set fill time for datasets to "never" by default and adjust on a
per-test basis to avoid writing fill values to chunks when it's
unnecessary

Reduce number of loops run in some tests when performing multi-dataset
I/O

Fix an issue in the "fill time never" test where data verification
could fill if file space reuse causes application buffers to be
filled with chosen fill value when reading from datasets with
uninitialized storage

Skip multi-chunk I/O test configurations for multi-dataset I/O
configurations when the TestExpress level is > 1 since those
tests can be more stressful on the file system

Disable use of persistent file free space management for now
since it occasionally runs into an infinite loop in the library's
free space management code
2023-10-19 15:23:59 -07:00
Allen Byrne
2bb6619528
Develop intel split (#3722)
* Split intel compiler flags into sub-folders
* Update Intel options for warnings
* Mostly CMake, Autotools needs additional work
2023-10-19 15:17:20 -07:00
jhendersonHDF
11f3804c48
Fix CMake VOL passthrough tests by copying files to correct directory (#3721) 2023-10-19 14:59:18 -07:00
Allen Byrne
5844f498b0
Add an option to disable doxygen warn as error (#3708)
Add for both CMake and the Autotools

* HDF5_ENABLE_DOXY_WARNINGS: ON/OFF (Default: ON)
* --enable-doxygen-errors: enable/disable (Default: enable)

The default will fail compile if the doxygen parsing generates warnings.
The option can be disabled if certain versions of doxygen have parsing
issues. i.e. 1.9.5, 1.9.8.

Fixes #3398
2023-10-19 14:58:33 -07:00
Scot Breitenfeld
5672fd8177
Attempt to quiet some warnings with cray compilers. (#3724) 2023-10-19 14:40:08 -07:00
Scot Breitenfeld
8c69566da6
provide an alternative to mapfile for older bash (#3717) 2023-10-19 08:58:20 -07:00
jhendersonHDF
c4a146efc4
Fix issue with unmatched messages in ph5diff (#3719) 2023-10-19 08:14:20 -05:00
Allen Byrne
29c1c02300
Some corrections and fix for plugins (#3712) 2023-10-19 08:01:02 -05:00
jhendersonHDF
ebd3744407
Work around Theta system issue failure in links test (#3710)
When the Subfiling VFD is enabled, the links test may
try to initialize the Subfiling VFD and call MPI_Init_thread.
On Theta, this appears to have an issue that will cause
the links test to fail. Reworked the test to check for
the same conditions in a more roundabout way that doesn't
involved initializing the Subfiling VFD
2023-10-18 14:47:13 -07:00
Allen Byrne
8ff48054f8
Cache variables req FORCE to change (#3706)
* Cache variables req FORCE to change

* Also plugin needs FORCE
2023-10-18 12:46:02 -07:00
Allen Byrne
65e1bd8ce9
Add NVidia compiler support and CI (#3686) 2023-10-18 12:44:42 -07:00
H. Joe Lee
fce7ce1869
Clean up comments. (#3695) 2023-10-18 09:11:02 -07:00
H. Joe Lee
5e310254e2
Correct ld in format strings in cmpd_dset.c (#3697)
Removes clang warnings
2023-10-18 07:59:01 -07:00
jhendersonHDF
9557256819
Sync changes that are only in 1.14 branch (#3704) 2023-10-17 21:54:40 -07:00
jhendersonHDF
fc788559f7
Correct use of set() command with options (#3667) (#3703)
* Correct use of set() command with options

* Force filter off if not found

Co-authored-by: Allen Byrne <50328838+byrnHDF@users.noreply.github.com>
2023-10-17 18:32:31 -07:00
Dana Robinson
2a3b511e96
Restore floating-point suffixes in tests (#3698)
A prior commit removed too many F suffixes. This restores the suffixes
for float variables.
2023-10-17 12:22:27 -07:00
Dana Robinson
08d0909c9c
Fix unused variable warning in H5F_sfile_assert_num (#3700) 2023-10-17 12:22:10 -07:00
Dana Robinson
3523d4ba66
Fix unused variable in tselect.c (#3701) 2023-10-17 12:14:24 -07:00
Dana Robinson
e2d40ef16e
Suppress format string warnings in subfiling test (#3699) 2023-10-17 11:05:20 -07:00
jhendersonHDF
45c4729799
Add test info output to t_filters_parallel (#3696) 2023-10-17 10:40:42 -07:00
jhendersonHDF
a6bc1186c3
Initialize API context MPI types to MPI_BYTE (#3688) 2023-10-17 09:16:48 -07:00
Scot Breitenfeld
74fabd144e
switch to using time function instead of date function (#3690) 2023-10-17 09:12:16 -07:00
Dana Robinson
1b62827204
Add Doxygen for H5Pset_fapl_sec2() (#3685)
*
2023-10-16 12:21:01 -05:00
Dana Robinson
8550798100
Fix invalid memory access in S3 comms (#3681)
In the ros3 VFD, passing an empty string parameter to an internal
API call could result in accessing the -1th element of a string.
This would cause failures on big-endian systems like s390x.

This parameter is now checked before writing to the string.

Fixes GitHub #1168
2023-10-16 12:20:18 -05:00
Dana Robinson
ccb1a917b6
Fix printf warnings in t_mpi (#3679)
* Fix printf warnings in t_mpi

The type of MPI_Offset varies with implementation. In MPICH, it's long,
which raises warnings when we attempt to use long long format
specifiers. Casting to long long fixes the warnings.
2023-10-16 12:19:15 -05:00
Dana Robinson
e158217012
Fix a possible NULL pointer dereference in tests (#3676)
The dtypes test could dereference a NULL pointer if a strdup call
failed.
2023-10-16 08:09:48 -05:00
Dana Robinson
1cbda391c4
Suppress MPI_Waitall warnings w/ MPICH (#3680)
MPICH defines MPI_STATUSES_IGNORE (a pointer) to 1, which raises warnings
w/ gcc. This is a known issue that the MPICH devs are not going to fix.

See here:
    https://github.com/pmodels/mpich/issues/5687

This fix suppresses those issues w/ gcc
2023-10-16 07:53:37 -05:00
Dana Robinson
516167d31b
Remove CANBE_UNUSED() from subfiling VFD (#3678)
This macro was an attempt to quiet warnings about release mode unused
variables that only appear in asserts. It resolves to a void cast, which
doesn't quiet warnings when an assignment has already taken place.
2023-10-16 07:52:23 -05:00
Dana Robinson
882bcd01b9
Fix a strncpy call to use dest size not src (#3677)
A strncpy call in a path construction call used the size of the src
buffer instead of the dest buffer as the limit n.

This was switched to use the dest size and properly terminate the
string if truncation occurs.
2023-10-15 13:40:19 -07:00
Dana Robinson
d5267f096e
Add support for AOCC & Flang w/ the Autotools (#3674)
* Adds a config/clang-fflags options file to support Flang
* Corrects missing "-Wl," from linker options in the libtool wrappers
  when using Flang, the MPI Fortran compiler wrappers, and building
  the shared library. This would often result in unrecognized options
  like -soname.
* Enable -nomp w/ Flang to avoid linking to the OpenMPI library.

CMake can build the parallel, shared library w/ Fortran using AOCC
and Flang, so no changes were needed for that build system.

Fixes GitHub issues #3439, #1588, #366, #280
2023-10-14 22:39:43 -05:00
Dana Robinson
ef1edba2ce
Fix uninitialized subfiling test variable (#3675)
Picked up by gcc 10 on skybridge. Probably spurious, but no harm in
initializing it to a "bad" value.
2023-10-14 22:34:29 -05:00
H. Joe Lee
1d06e978b6
Add AOCC GitHub Action (#3504) (#3657) 2023-10-14 13:51:59 -07:00
H. Joe Lee
cdf400b916
Remove callable action badges. (#3653) 2023-10-14 07:53:58 -05:00
Allen Byrne
405b0c62f8
Correct fortran CMake generator expressions (#3670) 2023-10-13 23:41:17 -05:00
H. Joe Lee
ffc5fddeb1
Fix link error on clang17/gfortran13/macOS-13 (#3666) (#3671) 2023-10-13 09:40:13 -07:00
Scot Breitenfeld
6aaa960d90
Fixes test failure for gfortran -O2 and -O3, -fdefault-real-16 (#3662)
* added cmake ieee flag for nagfor

* fixes gfortran -O2 and -O3, -fdefault-real-16

* fixed sync

* updated release notes
2023-10-13 09:39:06 -07:00
H. Joe Lee
eda1344a72
Remove clang warnings (#3656) 2023-10-13 09:31:50 -07:00
jhendersonHDF
3ec119b558
Add expedited testing support to t_filters_parallel (#3665) 2023-10-12 16:12:57 -05:00
H. Joe Lee
72f94bc1f5
Simplify. (#3659)
* Address @jhendersonHDF review
2023-10-12 11:37:56 -05:00
Scot Breitenfeld
85c176247d
Address nagfor exceptions stoppage. (#3658)
* added cmake ieee flag for nagfor

* generalized determining the nag compiler

* fixing some misc. NAG warnings
2023-10-11 15:16:01 -05:00
vchoi-hdfgroup
6f56d06f6a
Add more tests for selection I/O. (#3528) 2023-10-10 10:13:00 -05:00
jhendersonHDF
bfbfaf72e1
Update parallel compression feature to support multi-dataset I/O (#3591) 2023-10-10 10:11:22 -05:00
Allen Byrne
7631015ea4
Use real URLs and updated names for plugins (#3651)
* synchronize TGZ naming convention/usage
2023-10-10 09:30:19 -05:00
Dana Robinson
00da7e61c6
Remove 1.10 badge (#3650) 2023-10-10 07:18:35 -07:00
Scot Breitenfeld
0ffde9da19
Fixes GH#1027 compilation error (#3654) 2023-10-10 09:18:00 -05:00