summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix for github issue #2414: segfault when copying dataset with attrib… (#3967)vchoi-hdfgroup2024-02-141-2/+6
| | | | | | | | | | * Fix for github issue #2414: segfault when copying dataset with attributes. This also fixes github issue #3241: segfault when copying dataset. Need to set the location via H5T_set_loc() of the src datatype when copying dense attributes. Otherwise the vlen callbacks are not set up therefore causing seg fault when doing H5T_convert() -> H5T__conv_vlen().
* Sync API tests with vol-tests (#3940)mattjala2024-02-146-154/+1911
|
* Bump the github-actions group with 6 updates (#3981)dependabot[bot]2024-02-145-24/+24
|
* Remove ADB signature from RELEASE.txt. (#3986)H. Joe Lee2024-02-141-1/+0
|
* Add a missing left parenthesis in RELEASE.txt. (#3990)H. Joe Lee2024-02-141-1/+1
|
* chore: fix typo (#3989)H. Joe Lee2024-02-141-1/+1
| | | close #144
* Make platform specific test presets for windows and macs (#3988)Allen Byrne2024-02-144-7/+104
| | | | | | * Enable mac tests * Add platform test workflows to examples
* Skip mac bintest until more reliable (#3983)Allen Byrne2024-02-141-0/+1
|
* corrected warning: implicit conversion changes signedness (#3982)Scot Breitenfeld2024-02-141-1/+1
|
* Fixed spacing issues in example tests. (#3979)Scot Breitenfeld2024-02-1410-33/+43
| | | * The space difference in the Fortran examples must be fixed to match the expected output for compression filter examples.
* Add h5dump tests that require subfiling VFD (#3879)H. Joe Lee2024-02-148-1/+48
|
* Create CITATION.cff (#3927)Stefano Probst2024-02-141-0/+12
| | | Add citation source based on http://web.archive.org/web/20230610185232/https://portal.hdfgroup.org/display/knowledge/How+do+I+properly+cite+HDF5%2C+HDFView%2C+and+HSDS+in+a+paper. Created with https://citation-file-format.github.io/cff-initializer-javascript/
* append '-WF,' when passing C preprocessor directives to the xlf compiler (#3976)Scot Breitenfeld2024-02-141-3/+8
| | | | | * append '-WF,' when passing C preprocessor directives to the xlf compiler * strip path from compiler name
* Clarify vlen string datatype message (#3950)mattjala2024-02-141-5/+19
|
* Replace 'T2' with ' ' to avoid failure to match expected output due to (#3975)Larry Knox2024-02-145-25/+25
| | | system tab difference.
* Add binary testing to CI testing (#3971)Allen Byrne2024-02-1411-214/+541
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add binary test job * Correct names of jobs * Add build mode to binary names * Limit packaging execution * Make mac DragNDrop optional * Format if checks * fix checks for TS * Allow examples to be packaged * Correct if NOT format * Correct configure and workflow call * Separate out CMake/Autotools Parallel job * Correct binary examples path * Correct dir path for windows test * Correct paths and add extlibs * Windows binaries do not have a share folder
* h5 compiler wrappers now pass all arguments passed to it to the compile line ↵Scot Breitenfeld2024-02-146-38/+156
| | | | | | | | (#3954) * The issue was that the "allargs" variable was not being used in the final command of the compiler wrapper. Any entries containing an escaped quote (\", \') or other non-matching argument (*) would not be passed to the compile line. I have fixed this problem by ensuring all arguments passed to the compiler wrapper are now included in the compile line. * added testing for compiler wrappers
* Fixed XL and gfortran errors (#3968)Scot Breitenfeld2024-02-143-9/+13
| | | | | * fixed XL and Gfortran errors * fixed data type len array
* Added a GitHub Codespaces configuration. (#3966)Gerd Heber2024-02-143-0/+34
|
* Add API support for Fortran MPI_F08 module definitions. (#3959)Scot Breitenfeld2024-02-1414-24/+649
| | | | | | * revert to using c-stub for _F08 MPI APIs * use mpi compiler wrappers for cmake and nvhpc
* Fix doxygen errors (#3962)Allen Byrne2024-02-1436-68/+204
| | | | | | | | | | | | * Switch warnings as errors to default OFF * Enable mac docs * Add doxygen action uses step * Use html div around snippet * Allow preset name to be an argument to cmake-ctest.yml
* Add RELEASE.txt note for the fix for issue #1256 (#3955)jhendersonHDF2024-02-141-0/+28
|
* RF: move codespell configuration into .codespellrc so could be used locally ↵Yaroslav Halchenko2024-02-142-3/+6
| | | | | | | | as well (#3958) ATM configuration was embedded within the CI workflow but that makes impossible to use codespell locally since the tool would not find those settings. I moved them into .codespellrc but then also removed codespell.yml workflow from skips, added .git and in general makde it look for .dotfiles too
* Change 'extensible' to 'fixed' in H5FA code (#3964)Dana Robinson2024-02-142-2/+2
|
* fixed BIND name (#3957)Scot Breitenfeld2024-02-142-8/+3
| | | * update H5Ssel_iter_reset_f test
* Remove cached datatype conversion path table entries on file close (#3942)jhendersonHDF2024-02-145-12/+307
| | | | | | | | | | | | | | | | | | | | Remove cached datatype conversion path table entries on file close When performing datatype conversions during I/O, the library checks to see whether it can re-use a cached datatype conversion pathway by performing comparisons between the source and destination datatypes of the current operation and the source and destination datatypes associated with each cached datatype conversion pathway. For variable-length and reference datatypes, a comparison is made between the VOL object for the file associated with these datatypes, which may change as a file is closed and reopened. In workflows involving a loop that opens a file, performs I/O on an object with a variable-length or reference datatype and then closes the file, this can lead to constant memory usage growth as the library compares the file VOL objects between the datatypes as different and adds a new cached conversion pathway entry on each iteration during I/O. This is now fixed by clearing out any cached conversion pathway entries for variable-length or reference datatypes associated with a particular file when that file is closed.
* Add the user test program in HDFFV-9174 for committed types. (#3937)vchoi-hdfgroup2024-02-141-0/+169
| | | Add the user test program for committed types in HDFFV-9174
* Fortran API work. (#3941)Scot Breitenfeld2024-02-1412-172/+441
| | | | | | | | | | | | | * - Added Fortran APIs: H5FGET_INTENT_F, H5SSELECT_ITER_CREATE_F, H5SSEL_ITER_GET_SEQ_LIST_F, H5SSELECT_ITER_CLOSE_F, H5S_mp_H5SSELECT_ITER_RESET_F - Added Fortran Parameters: H5S_SEL_ITER_GET_SEQ_LIST_SORTED_F, H5S_SEL_ITER_SHARE_WITH_DATASPACE_F - Added tests for new APIs - Removed H5F C wrapper stubs - Documentation misc. cleanup.
* Fix chid_t to hid_t (#3948)Glenn Song2024-02-141-1/+1
| | | Co-authored-by: Glenn Song <gsong@hdfgroup.org>
* Replace off_t with HDoff_t internally (#3944)Dana Robinson2024-02-146-15/+19
| | | | | | off_t is a 32-bit signed value on Windows, so we should use HDoff_t (which is __int64 on Windows) internally instead. Also defines HDftell on Windows to be _ftelli64().
* Clean up Doxygen for szip functions and constants (#3943)Dana Robinson2024-02-142-14/+46
|
* autogen.sh: check directly for libtoolize instead of libtool [as libtool is ↵Satish Balay2024-02-141-28/+8
| | | | | | | not used here] (#3886) * autogen.sh: check directly for libtoolize instead of libtool [as libtool is not used here] * autogen.sh: simplify (g)libtoolize check - look for glibtoolize first - and then libtoolize
* Add binary build for linux S3 (#3936)Allen Byrne2024-02-147-4/+122
| | | | | | | | | | | | | * Reorg and update options for doc and cmake config * Correct subfiling depends * Add linux S3 binaries to GH published files * Correct path * Try reducing parallel jobs in tests * Change examples jobs for test from 8 to 4
* Reorg and update options for doc and cmake config (#3934)Allen Byrne2024-02-142-26/+41
| | | | | * Reorg and update options for doc and cmake config * Correct subfiling depends
* Update upload- artifact to match download version (#3929)Allen Byrne2024-02-143-15/+15
| | | | | | * Update upload- artifact to match download version * Correct form of action call
* Document that fileno is the same for all handles (#3965)mattjala2024-01-292-10/+19
| | | | | * Document that fileno is same for all handles * Mention filesystem requirement
* Fix potential infinite loop in API test (#3961)mattjala2024-01-261-1/+1
|
* Update H5Fget_obj_count/ids to reflect dtype behavior (#3949)mattjala2024-01-232-3/+4
|
* Remove incorrect include of sz header (#3939) (#3953)Larry Knox2024-01-231-4/+0
|
* Add H5Dread/write_multi to API tests (#3931)mattjala2024-01-092-0/+1541
| | | | * Add H5Dread/write_multi to API tests * Remove debug prints, set NULL for safety
* CMake compression and directory includes from develop (#3933)Allen Byrne2024-01-0917-54/+36
| | | | | * Merge CMake dir props and compression changes from develop * Remove unused include
* Sync 1.14 branch with develop (#3923)Larry Knox2024-01-0883-1365/+4030
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fix build error on freebsd (#3883) Fixes: checking for config freebsd12.1... no checking for config freebsd... found compiler '/home/svcpetsc/petsc-hash-pkgs/39f577/bin/mpicc' is GNU gcc-9.2.0 compiler '/home/svcpetsc/petsc-hash-pkgs/39f577/bin/mpif90' is GNU gfortran-9.2.0 stdout: .: cannot open ./config/classic-fflags: No such file or directory * Correct CMake command and example packaging (#3888) * Feat: Hashpin sensitive dependencies on GitHub Actions and enable Dependabot to update them monthly (#3892) * feat: hashpin sensitive dependencies on GHAs Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com> * feat: enable dependabot for monthly updates on GHA Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com> --------- Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com> * Some changes to portal links when they could be found on docs.hdfgroup.org, and changed the helpdesk link to help.hdfgroup.org (#3893) * Updated some portal links to go directly to docs.hdfgroup. * Fixed some portal and help desk links * Add variable option syncing for examples (#3885) * Add period(.) at the end of the sentence for consistency. (#3897) * Remove redundant backslash character from comment. (#3899) * Disable doxygen as errors for netcdf (#3900) * disable building doxygen for netcdf test * Doc versions (#3903) * Added missing \since tags to H5D. * Committing clang-format changes * Fixed H5T version info. * Committing clang-format changes * Added missing version info to H5E. * Committing clang-format changes * Added version info to H5F public APIs. * Committing clang-format changes * Added missing H5Z public API version info. * Added missing version info to H5G public APIs * Added missing version info to H5I public API. * Added missing version info to H5 public APIs * Committing clang-format changes * Added missing version info to H5P public APIs * Added missing version info to H5R public APIs * Fix comment error. * Committing clang-format changes --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> * Change Trouble Shooting to Troubleshooting (#3905) * Implement optimized support for vector I/O in Subfiling VFD (#3896) Vector I/O requests are now processed within a single set of I/O call batches, rather than each I/O vector entry (tuple constructed from the types, addrs, sizes and bufs arrays) being processed individually. This allows I/O to be more efficiently parallelized among the I/O concentrator processes during large I/O requests. * Fixed some calculations and add test cases for issues spotted from review * Removed a variable that was compensating for previous miscalculations * Add 'warning density' computation to the warnhist script (#3910) * Add 'warning density' computation to the warnhist script, along with several cleanups to it. Add "--enable-show-all-warnings" configure (and CMake) option to disable compiler diagnostic suppression (and therefore show all the otherwise suppressed compiler diagnostics), disabled by default. Clean up a buncn of misc. warnings. Signed-off-by: Quincey Koziol <qkoziol@amazon.com> * Added H5Fdelete_f with test (#3912) * New Fortran Examples added (#3916) * added subfiling example * Added filtered writes with no selection example * Version and space corrections. * Restore H5_VERSION definition in configure.ac. * renamed defined H5_VERS* to avoid conflicts (#3926)
* Fix building VOLs under library with CMake <3.24 (#3924)mattjala2024-01-061-11/+7
| | | * Handle CMake version through override variable
* Merge examples and workflows from develop (#3918)Allen Byrne2024-01-03791-2519/+235132
|
* HDF5 API test updates (#3835) (#3889)jhendersonHDF2023-12-0869-92274/+4639
| | | | | | | | | | | | | | | | | | | | * 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
* Sync 1.14 branch with develop (#3887)jhendersonHDF2023-12-07130-1186/+3238
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Preserve MPI-I/O file hints when fapl is closed (#3755) * Fix for issue #3025: Save the MPI info in the file struct so H5Fget_access_plist() can retrieve it from there. * Add compression tests for subfiling (#3769) * Fix typo in comment (#3775) * Fixed a file handle leak in the core VFD (#3779) When opening a file with the core VFD and a file image, if the file already exists, the file check would leak the POSIX file handle. Fixes GitHub issue #635 * Fix a format string warning in the C++ examples (#3776) * 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 * Print some messages in parallel tests on MPI rank 0 only (#3785) Avoids overly verbose output from all processes emitting progress, etc. info. * 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. * Don't install h5tools_test_utils test program on system (#3793) * 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() * 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 * Fix memory corruption in 'MPI I/O FAPL preserve' test (#3806) * Fix usage of h5_clean_files in t_pflush2.c (#3807) * Fix parallel driver check in h5_fixname_real (#3808) * Fix a couple usages of MPI_Info_get (#3809) * Remove H5system.c warning on Windows oneAPI. (#3812) * Add processing of NVHPC flags in linux-gnulibc1 file (#3804) * Disable testing as tests are failing the same as in CMake * Use the current toolchain for examples as default (#3810) * Fix misc. warnings from GCC when compiling with -fsanitize=undefined (#3787) * 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 * Update some doxygen links to local refs (#3814) * Rework MPI Info FAPL preserve PR to use VFD 'ctl' operations (#3782) * 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 * 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 * Create test for H5Pget_dxpl_mpio (#3825) * Create test and add to testphdf5 * Renamed h5fuse.sh to h5fuse (#3834) * provide an alternative to mapfile for older bash * 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 * Add intel oneapi windows build to CI CMake (#3836) * Remove printf format warning on Windows oneAPI. (#3838) * Correct ENV variables (#3841) * 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 * 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 * Add extra space in comments for consistency (#3852) * Add extra space in comments for consistency * uncomment tfloatsattrs test * Update Actions badges to link to relevant workflow (#3850) * 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 * Updates for building and testing VOL connectors * Fix issue with HDF5_VOL_ALLOW_EXTERNAL CMake variable * 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 * Fixes for CI and presets (#3853) * Change dest for doxygen (#3856) * 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(). * Do not publish compression headers or docs (#3865) * Fix typo: look -> loop (#3866) * 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) * Add HDF5_DISABLE_TESTS_REGEX option to skip tests (#3859) * Fix typo in error message for `MPI_Type_dup`. (#3867) * Complete the `if command line option` sentence. (#3868) * Fix h5dump segmentation fault when --vfd-value option is used (#3873) * Updated URL in funding.yml (#3882) Using new shortened URL, might look better. * Remove unused variable from unmerged changes * Update src/H5Tinit_float.c
* Fix segfault on user compound conversion callback (#3870)mattjala2023-11-242-7/+135
| | | | | * Check if lib conversion func is in use * Use TEST_ERROR macro in user cmpd conv test
* Sync fixes for CI and presets (#3855)Allen Byrne2023-11-1526-157/+375
| | | | | | | | | | | | | | | * Sync fixes for CI and presets * Sync the Fortran build changes * Update fortran test file * Sync hl/fortran files * Merge the nvidia compiler flag changes * Update link * Update links to doxygen refs for 1.14
* Test and document path handling of H5Lcreate_* API (#3846)mattjala2023-11-152-7/+270
| | | | | | | | | | * Document path handling of H5Lcreate_* API * Document that link name is last part of path * Test H5Lcreate path handling behavior * State that absolute paths require forward slash
* Update doxygen links and add v1_14 to gh-pages (#3813)Allen Byrne2023-11-026-14/+21
| | | | | * Deploy branch docs to a subfolder * Update doxygen links