Commit Graph

22979 Commits

Author SHA1 Message Date
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
Dana Robinson
e4cea3509a
Remove 1.10.11 info from README.md (#3646) 2023-10-09 09:10:22 -07:00
Dana Robinson
2143649b44
Switch IEEE flags for NAG Fortran (#3644)
Default is -ieee=stop, which causes problems when the H5T
module performs floating-point type introspection.

The new mode is -ieee=full
2023-10-09 08:18:01 -07:00
Scot Breitenfeld
6edd9a0aab
Drop MPI-2 support (#3643) 2023-10-07 18:16:30 -07:00
Allen Byrne
07347cc5dd
Split out test logic to separate file (#3639) 2023-10-06 10:32:52 -05:00
H. Joe Lee
a95e4fc236
Improve consistency in past tense usage (#3638) 2023-10-06 10:32:33 -05:00
H. Joe Lee
d4e23344f4
Fail CMake on Windows when sub-filing VFD is enabled (#3636) 2023-10-06 10:31:59 -05:00
H. Joe Lee
084c35dad0
Disambiguate error output messages. (#3634)
* Disambiguate error output messages.

* Address @brtnfld review.
2023-10-05 08:31:39 -07:00
H. Joe Lee
c511d07817
Fix grammar (#3635) 2023-10-05 08:04:04 -07:00
Allen Byrne
283202bc62
Remove old EXTERNALPROJECT_ADD in favor of FETCH_CONTENT (#3624) 2023-10-04 15:51:01 -05:00
Neil Fortner
b166368601
Remove unused member from H5D_shared_t struct. (#3628) 2023-10-03 16:39:24 -07:00
Dana Robinson
447765609b
Disable static + thread-safe on Windows w/ CMake (#3622)
The thread-safety feature on Windows requires a hook in DllMain() and
thus is only available when HDF5 is built as a shared library.

This was previously a warning, but has now been elevated to a fatal
error that cannot be overridden with ALLOW_UNSUPPORTED.

Fixes GitHub #3613
2023-10-03 16:37:44 -07:00
Dana Robinson
cb6de06dcc
Add HPC CDash to README.md (#3623) 2023-10-03 12:00:05 -05:00
jhendersonHDF
34fcb9c5a4
Fix several spelling/grammar issues (#3621) 2023-10-03 09:01:28 -07:00
H. Joe Lee
4261552068
Fix Intel oneAPI icc warning (#3619) 2023-09-29 17:50:04 -07:00
bmribler
1fd82abe58
Cleanup unused statements (#3553) (#3617)
Removed unnecessary assert statements and noise comments.
2023-09-29 07:05:36 -07:00
H. Joe Lee
5f27bc8688
Fix grammar (#3614) 2023-09-28 17:36:14 -07:00
bmribler
55c6609127
Fixed unused variable in H5CS.c (#3552) (#3612)
* Fixed #3552
2023-09-28 17:33:53 -07:00
H. Joe Lee
e7360391fd
Fix typos (#3609) 2023-09-27 10:39:17 -07:00
H. Joe Lee
f4ccfd014b
Fix typo behaviour and dependes. (#3605) 2023-09-27 08:09:45 -07:00
H. Joe Lee
f0956a34b2
Remove useless define TRUE/FALSE statements. (#3604) 2023-09-27 09:57:37 -05:00
Dana Robinson
a03506b089
Remove unnecessary assignment in test generator (#3603)
Fixes what looks like a copy/paste/modify error in the format convert
test file generator, where an array element is assigned one value
and them immediately overwritten by another value.

Fixes Coverity issue 1542285
2023-09-27 09:57:02 -05:00
Dana Robinson
d8fbc56f78
Fix potential uninitialized variable (#3602)
Moves a union initialization up a bit so it's performed before code
that can jump to the cleanup target, where file descriptors could
be checked without being initialized.

This could only happen in test code and only in an out-of-memory
situation.

Fixes Coverity 1542254
2023-09-27 09:56:25 -05:00
Allen Byrne
b892c43e49
Correct path name of ddl file to be changed (#3607) 2023-09-27 09:55:36 -05:00
H. Joe Lee
4233ae69c0
Remove sh to run bash script. (#3590) 2023-09-26 14:52:31 -07:00
jhendersonHDF
8e964d4622
Clean up Subfiling VFD header doxygen formatting (#3601) 2023-09-26 13:47:13 -07:00