Commit Graph

23384 Commits

Author SHA1 Message Date
H. Joe Lee
ccc1ebd6fe
Complete the if command line option sentence. (#3868) 2023-11-24 06:19:27 -06:00
Luc Grosheintz
cad5da6868
Fix typo in error message for MPI_Type_dup. (#3867) 2023-11-22 11:06:42 -06:00
mattjala
af4c6c4f15
Fix segfault on user compound dtype conversion callback (#3842)
* Fix segfault on user compound conversion

* Check if lib conversion func is in use
2023-11-22 07:55:25 -06:00
Allen Byrne
3ea21ccb3e
Add HDF5_DISABLE_TESTS_REGEX option to skip tests (#3859) 2023-11-22 07:51:30 -06:00
Scot Breitenfeld
046440400f
Moved the README to markdown and expanded its overview of the files, file generation, and other Fortran wrapper development practices as mentioned in the HDF5 architectural document. I added a new figure and included the SVG file and the original xfig file it was generated from. (#3862) 2023-11-21 09:05:23 -08:00
H. Joe Lee
37c75e057b
Fix typo: look -> loop (#3866) 2023-11-21 08:53:17 -08:00
Allen Byrne
cf2f95e1b4
Do not publish compression headers or docs (#3865) 2023-11-21 08:00:35 -08:00
vchoi-hdfgroup
ed31aaca79
Implement selection vector I/O with collective chunk filling (#3826)
* Changes for ECP-344: Implement selection vector I/O with collective chunk filling.
Also fix a bug in H5FD__mpio_write_vector() to account for fixed size optimization
when computing max address.

* Fixes based on PR review comments:
For H5Dchunk.c: fix H5MM_xfree()
For H5FDmpio.c:
1) Revert the fix to H5FD__mpio_write_vector()
2) Apply the patch from Neil on the proper length of s_sizes reported by H5FD__mpio_vector_build_types()

* Put back the logic of dividing up the work among all the mpi ranks similar to the
original H5D__chunk_collective_fill() routine.

* Add a test to verify the fix for the illegal reference problem in H5FD__mpio_write_vector().
2023-11-16 10:12:45 -06:00
Allen Byrne
ef39882fa1
Change dest for doxygen (#3856)
* Switch doxygen refs to hdf5/develop
2023-11-15 17:32:07 -06:00
Allen Byrne
fe49c075ac
Fixes for CI and presets (#3853) 2023-11-15 17:31:26 -06:00
jhendersonHDF
c779464bfe
Add GitHub actions for testing VOL connectors (#3849)
* Fix issue with HDF5_VOL_ALLOW_EXTERNAL CMake variable

* Add initial API test workflow

* Initialize parallel testing with MPI_THREAD_MULTIPLE when testing API

* Add CMake variable to allow specifying a VOL connector's package name

* Remove call to MPI_Init in serial API tests

While previously necessary, it now interferes with VOL connectors that
may need to be initialized with MPI_THREAD_MULTIPLE
2023-11-15 08:20:50 -06:00
Dana Robinson
e807dee0fd
Add CMake long double cross-compile defaults (#3683)
HDF5 performs a couple of checks at build time to see if long double
values can be converted correctly (IBM's Power architecture uses a
special format for long doubles). These checks were performed using
TRY_RUN, which is a problem when cross-compiling.

These checks now use default values appropriate for most non-Power
systems when cross-compiling. The cache values can be pre-set if
necessary, which will preempt both the TRY_RUN and the default.

Affected values:
    H5_LDOUBLE_TO_LONG_SPECIAL      (default no)
    H5_LONG_TO_LDOUBLE_SPECIAL      (default no)
    H5_LDOUBLE_TO_LLONG_ACCURATE    (default yes)
    H5_LLONG_TO_LDOUBLE_CORRECT     (default yes)
    H5_DISABLE_SOME_LDOUBLE_CONV    (default no)

Fixes GitHub #3585
2023-11-14 20:36:47 -08:00
jhendersonHDF
f39b228a4c
Update Actions badges to link to relevant workflow (#3850) 2023-11-14 10:26:36 -06:00
H. Joe Lee
2512bdd7a9
Add extra space in comments for consistency (#3852)
* Add extra space in comments for consistency

* uncomment tfloatsattrs test
2023-11-14 07:58:20 -08:00
mattjala
b5bfea2cc3
Make filter unregister callbacks safe for VOL connectors (#3629)
* Make filter callbacks use top-level API functions

When using VOL connectors, H5I_iterate may not provide
valid object pointers to its callback. This change keeps
existing functionality in H5Zunregister() without using
potentially unsafe pointers.

* Filter callbacks use internal API

* Skip MPI work on non-native VOL
2023-11-13 14:31:24 -06:00
Allen Byrne
378e99079b
cmakedefine macro uses C comments with "#undef" (#3845)
* Correct CMake macro name
* Use ifdef for H5_HAVE_FLOAT128 like elsewhere
2023-11-13 13:52:31 -06:00
jhendersonHDF
28d2b6771f
HDF5 API test updates (#3835)
* HDF5 API test updates

Removed test duplication from bringing API tests
back into the library from external VOL tests
repo

Synced changes between API tests and library's
tests

Updated API tests CMake code to directly use and
install testhdf5, testphdf5, etc. instead of
creating duplicate binaries

Added new h5_using_native_vol() test function to
determine whether the VOL connector being used
is (or the VOL connector stack being used resolves
to) the native VOL connector

* Remove duplicate variable
2023-11-13 13:49:38 -06:00
Dana Robinson
8b3ffdef30
Remove Autotools sed hack (#3848)
configure.ac contains a sed line that cleans up incorrect library
flags which was added to paper over some bugs in earlier versions
of the Autotools. These issues are not a problem with the current
versions of the Autootols.

The sed line causes problems on MacOS, so it has been removed.

Fixes #3843
2023-11-13 11:09:43 -08:00
Dana Robinson
0bf85494c1
Remove 1.12 from README.md (#3847)
Also remove 1.14.3 info since that was already released.
2023-11-13 10:22:15 -08:00
Allen Byrne
a6e610eb63
Correct ENV variables (#3841) 2023-11-10 22:36:06 -06:00
mattjala
5e0b59a70c
Test and document path handling of H5Lcreate_* API (#3829) 2023-11-10 22:34:46 -06:00
H. Joe Lee
afb1f3c19a
Remove printf format warning on Windows oneAPI. (#3838) 2023-11-10 11:14:07 -06:00
Allen Byrne
66786fa036
Add intel oneapi windows build to CI CMake (#3836) 2023-11-10 07:36:46 -06:00
Dana Robinson
e0d095ebf0
Disable FP exceptions in H5T init code (#3837)
The H5T floating-point datatype initialization code can raise exceptions when handling signaling NaNs. This change disables FE_INVALID exceptions during initialization.

Also removes the -ieee=full change for NAG Fortran as that shouldn't be necessary anymore.

Fixes #3831
2023-11-07 08:13:30 -08:00
Scot Breitenfeld
ec695cf34f
Renamed h5fuse.sh to h5fuse (#3834)
* provide an alternative to mapfile for older bash
2023-11-07 09:50:03 -06:00
Glenn Song
3c07147971
Create test for H5Pget_dxpl_mpio (#3825)
* Create test and add to testphdf5
2023-11-06 09:27:51 -06:00
Scot Breitenfeld
6a3c859e58
Fortran Wrappers H5VLnative_addr_to_token_f and H5VLnative_token_to_address_f (#3801)
* Added H5VLnative_addr_to_token_f and H5VLnative_token_to_address_f

* Added H5VLnative_addr_to_token_f and H5VLnative_token_to_address_f tests

* Added H5VLnative_addr_to_token_f and H5VLnative_token_to_address_f tests
2023-11-03 09:22:00 -07:00
Scot Breitenfeld
5e787741cd
Removed the use of C wrappers from H5P APIs. (#3824)
* fix seg fault on frontier/cray

* fix seg fault on frontier/cray

* fix seg fault on frontier/cray

* removed the use of h5pclose_c

* removed the use of h5pclose_c
2023-11-03 06:02:50 -07:00
jhendersonHDF
7404b57da6
Rework MPI Info FAPL preserve PR to use VFD 'ctl' operations (#3782) 2023-11-02 21:42:28 -05:00
Allen Byrne
61982b60fd
Update some doxygen links to local refs (#3814) 2023-11-02 07:55:50 -05:00
H. Joe Lee
94a992689e
Update NVHPC version from 23.7 to 23.9. (#3736)
Co-authored-by: Larry Knox <lrknox@hdfgroup.org>
2023-11-02 00:11:23 -05:00
jhendersonHDF
64e239c4b6
Set NVHPC maximum optimization level to -O1 for now (#3800)
* Set NVHPC maximum optimization level to -O1 for now

Compiling HDF5 with NVHPC 23.5 - 23.9 results in test failures in
4 different test files that need to be resolved. Since those tests
pass with an optimization level of -O1 (and -O0) and it is currently
unclear whether the test failures are due to issues in HDF5 or issues
in the 'nvc' compiler, set the maximum optimization level for NVHPC
to -O1 until the test failures are resolved.

* Disable nvhpc Java testing in CMake and amend known issues

* Re-enable testing of Autotools nvhpc
2023-11-01 14:41:46 -05:00
jhendersonHDF
562c53c44a
Fix misc. warnings from GCC when compiling with -fsanitize=undefined (#3787) 2023-11-01 08:16:33 -05:00
Allen Byrne
a654b2c1c5
Use the current toolchain for examples as default (#3810) 2023-11-01 07:15:19 -05:00
jhendersonHDF
f8ab865ce7
Add processing of NVHPC flags in linux-gnulibc1 file (#3804)
* Disable testing as tests are failing the same as in CMake
2023-11-01 07:13:22 -05:00
H. Joe Lee
e9e4ffaec7
Remove H5system.c warning on Windows oneAPI. (#3812) 2023-11-01 07:12:03 -05:00
jhendersonHDF
39c0284c38
Fix a couple usages of MPI_Info_get (#3809) 2023-10-31 06:05:52 -07:00
jhendersonHDF
ebc1651425
Fix parallel driver check in h5_fixname_real (#3808) 2023-10-31 06:05:40 -07:00
jhendersonHDF
ea3b6fd12b
Fix usage of h5_clean_files in t_pflush2.c (#3807) 2023-10-31 06:05:25 -07:00
jhendersonHDF
8df0008f07
Fix memory corruption in 'MPI I/O FAPL preserve' test (#3806) 2023-10-31 06:05:12 -07:00
H. Joe Lee
e3f060852f
Fix h5py CI failure. (#3805) 2023-10-31 06:04:54 -07:00
Robert Adam
87b3e7c821
Don't build util tests when HDF5_EXTERNALLY_CONFIGURED=ON (#3781)
Fixes #3780
2023-10-30 12:47:06 -05:00
Allen Byrne
44ec53ec48
Remove CDASH_LOCAL variable reference (#3796) 2023-10-30 12:11:07 -05:00
Dana Robinson
58ef7dcdc9
Update Doxygen initializers & identifiers in VFDs (#3795)
* Add Doxygen for all H5FD_<VFD> initializers
* Add Doxygen for all H5FD_<VFD>_VALUE values
* Mark H5FD_<vfd>_init() calls private in Doxygen
2023-10-30 11:13:54 -05:00
Dana Robinson
87636d6855
Add Doxygen to H5FDsplitter.h (#3794)
* H5FD_CURR_SPLITTER_VFD_CONFIG_VERSION
* H5FD_SPLITTER_PATH_MAX
* H5FD_SPLITTER_MAGIC
* H5FD_splitter_vfd_config_t
* H5Pset_fapl_splitter()
* H5Pget_fapl_splitter()
2023-10-30 11:13:01 -05:00
jhendersonHDF
556add35b7
Don't install h5tools_test_utils test program on system (#3793) 2023-10-30 11:12:10 -05:00
jhendersonHDF
edb5cffdb2
Avoid attempted use of NULL pointer in parallel compression code (#3786)
The parallel compression test code tests for the case where all MPI ranks have no selection in a dataset when writing to it. Add an early exit to the code to avoid attempting to use a NULL pointer due to there being no work to do.
2023-10-27 21:20:29 -07:00
jhendersonHDF
1bcef50b86
Print some messages in parallel tests on MPI rank 0 only (#3785)
Avoids overly verbose output from all processes emitting progress, etc. info.
2023-10-27 21:18:24 -07:00
jhendersonHDF
119e694f97
Cancel running GitHub workflows on push to same PR (#3772)
* Cancel running GitHub workflows on push to same PR

* Remove github.sha from workflow concurrency groups
2023-10-26 08:49:50 -07:00
Dana Robinson
74cc1cf59e
Fix a format string warning in the C++ examples (#3776) 2023-10-25 21:31:21 -07:00