Commit Graph

56 Commits

Author SHA1 Message Date
Allen Byrne
d7e0ad5200
Change osx refs to macos (#4707) 2024-08-13 14:43:28 -05:00
Allen Byrne
f77b70859f
Rework Dynamic Analysis and sanitize testing (#4681)
* Ignore predetermined failing test and check pointer before use

* Rework Analysis process
2024-08-05 09:53:53 -05:00
Quincey Koziol
9fd88560d5
Refactor threading and other concurrency support (#4469)
Complete overhaul of the concurrency-related aspects of the library (threading, atomics, locking, etc.), adding private routines in the H5TS package to allow internal algorithms to use all of these capabilities.

Adds many new features & components in the H5TS package that are equivalent to common concurrency data structures and capabilities: "regular" and recursive mutices, condition variables, semaphores, thread barriers, 'once' support, thread pools, atomic variables, thread-local keys, and spawning & joining internal threads.

Now supports C11, pthreads, and Windows threading for all H5TS capabilities, except the recursive readers/writers lock, which is not supported on Windows (because Windows threads don't provide a callback on thread-local variable deletion).

The "global" API lock is switched to use a recursive mutex from the H5TS package, instead of its own variant.

API context code (H5CX package) and error stacks (H5E package) now use the common thread-local info, instead of their own variants.

Subfiling code is switched from using Mercury threading features to the new internal H5TS features.

Removes the mercury threading code.

Adds a configure option (--enable-threads / HDF5_ENABLE_THREADS), enabled by default, to control whether threading is enabled within the library.
2024-07-31 12:34:43 -05:00
Allen Byrne
d309a40325
Fix binary examples process (#4666) 2024-07-30 07:33:46 -05:00
Larry Knox
f54abf7032
Remove outdated line from Copyright header in new files. (#4676) 2024-07-29 12:57:36 -05:00
Allen Byrne
1fafdc9da3
Fix the examples for testing java with binaries (#4660) 2024-07-19 10:07:39 -05:00
Allen Byrne
e71605966a
Update doxygen Learn Basics / example refs. Add Reference sections (#4640) 2024-07-15 22:02:08 -05:00
Allen Byrne
6fa09bdb15
Add h5* compiler wrapper testing for CMake #4605 (#4613)
* Add show option

* remove non-static libs and correct names of static libs

* Fixup the pkg-config libs and comp builds

* Fix commands and add fortran pkg-config test scripts

* Add help usage option
2024-07-15 10:16:16 -05:00
Allen Byrne
033f2a8cb5
Add python testing for examples (#4628) 2024-07-12 21:28:38 -07:00
Allen Byrne
dca6370691
Move C++ and Fortran and examples to HDF5Examples folder (#4552) 2024-06-08 06:46:09 -05:00
bmribler
7f83faf9d9
Add Python examples (#4546)
These examples are referred to from the replacement page of https://portal.hdfgroup.org/display/HDF5/Other+Examples.
2024-06-07 17:03:05 -07:00
jhendersonHDF
b823c1609d
Remove an unnecessary check for parallel and thread-safety from examples (#4543) 2024-06-03 15:10:19 -05:00
Allen Byrne
69a4e7d68f
Correct examples tests to just run under dynamic analysis (#4505) 2024-05-21 07:48:47 -07:00
Allen Byrne
f17ca5689e
Update for blosc2 in plugins and prefix hdf5 cmake varnames (#4468) 2024-05-10 13:01:28 -05:00
Allen Byrne
9148f7c563
Prepend MPI_TEST_ to parallel example test names (#4306) 2024-04-02 13:01:02 -05:00
Allen Byrne
1dfaef2586
replace deprecated CMAKE_COMPILER_IS_GNU** (#4272) 2024-03-28 09:20:57 -07:00
H. Joe Lee
c4d2891bac
Match generators with real cmake -G output on Windows (#4252) 2024-03-26 15:08:12 -07:00
Allen Byrne
42f9d2426f
Correct reference copy for 16 API (#4244) 2024-03-26 09:04:36 -07:00
H. Joe Lee
cb3169fc5a
Match minimum CMake version to 3.18 (#4215) 2024-03-25 09:51:01 -07:00
bmribler
81c811b721
Fix links md files (#4239) 2024-03-25 10:54:31 -05:00
Scot Breitenfeld
6837fe5bc8
Addressed Fortran issues with promoted integers and reals via compilation flags, part 2 (#4221)
* addressed issue wit promoted integers and reals

* fixed h5fcreate_f

* added option to use mpi_f08

* change the kind of logical in the parallel tests

* addressed missing return value from callback
2024-03-25 07:42:03 -05:00
Scot Breitenfeld
c1a56f432e
Revert "Addressed Fortran issues with promoted integers and reals via compil…" (#4220)
This reverts commit 06c42ff038.
2024-03-23 07:16:43 -07:00
bmribler
62a905ae4a
Fix URLs (#4210)
Also removed Copyright.html context because it's no longer valid.
2024-03-22 12:06:09 -05:00
Scot Breitenfeld
06c42ff038
Addressed Fortran issues with promoted integers and reals via compilation flags (#4209)
* addressed issue wit promoted integers and reals

* added option to use mpi_f08
2024-03-22 11:52:58 -05:00
Allen Byrne
8f3e544193
Filter plugins updates for registration URL (#4180)
* Update filter plugin URL to new location

* Adjust test array size
2024-03-19 15:11:15 -05:00
jhendersonHDF
a56675e12a
Fix some minor warnings (#4165) 2024-03-16 19:43:47 -07:00
Allen Byrne
50a6522322
Change compression tests reference files to use masking for compression ratios (#4083)
Rework TEST_FILTER tests to handle slightly different compression ratios
2024-03-10 16:43:37 -07:00
Dana Robinson
0ea1d7280b
Clean up off_t usage (#4095)
* Add comments to C++ and Fortran API calls that use off_t
* Remove noise casts for small integers
2024-03-09 09:06:10 -08:00
Allen Byrne
114d2d0211
virtual creates must use the same datatype as the main file (#4092) 2024-03-08 15:50:31 -08:00
Allen Byrne
871a49feca
Use H5T_STD_I32LE to create datatype in vds examples (#4070)
Fixes issues when VDS examples are tested on BE systems
2024-03-07 13:05:28 -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
Allen Byrne
7ce8c6f81a
Add options to allow tools type selection and naming (#4046) 2024-03-04 06:53:52 -08:00
Allen Byrne
662ee679e0
Remove limitations on preset generators (#4051) 2024-02-29 16:12:03 -06:00
Allen Byrne
3fd1e90df6
Update and Add general INSTALL (#4016) 2024-02-23 08:02:18 -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
Allen Byrne
bdddf43f1a
Correct String FIND for runTest and grepTest (#4022) 2024-02-15 17:49:32 -06:00
Scot Breitenfeld
410c18b59f
included best practices of using coll. metadata APIs (#4018) 2024-02-15 08:19:52 -08: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
jhendersonHDF
a4c707a832
Fix incompatible pointer type warnings in object reference examples (#3999) 2024-02-09 11:04:48 -06:00
Allen Byrne
0a93152541
Fix overwritten preset names (#4000) 2024-02-09 11:03:33 -06:00
H. Joe Lee
6345c1650a
Remove oneapi/clang compiler printf() type warning. (#3994)
* Remove oneapi/clang compiler printf() type warning from h5ex_t_opaque.c.
2024-02-08 09:56:20 -06:00
Allen Byrne
255ab716f2
Make platform specific test presets for windows and macs (#3988)
* Enable mac tests

* Add platform test workflows to examples
2024-02-06 08:11:45 -06:00
Scot Breitenfeld
6e42618f53
Fixed spacing issues in example tests. (#3979)
* The space difference in the Fortran examples must be fixed to match the expected output for compression filter examples.
2024-02-01 23:42:58 -06:00
Larry Knox
bca1dc10a3
Replace 'T2' with ' ' to avoid failure to match expected output due to (#3975)
system tab difference.
2024-01-31 15:49:25 -06:00
Allen Byrne
45ac12e6b6
Explicitly use PROJECT_BINARY_DIR in target copy location (#3974) 2024-01-30 16:21:21 -06:00
Allen Byrne
efe7cb72ba
Add binary build for linux S3 (#3936)
* 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
2024-01-09 09:47:55 -08:00
Allen Byrne
a00d62f77a
Use props for includes and remove global includes (#3921) 2024-01-04 12:06:36 -06:00
Allen Byrne
772276ea1f
Remove examples that have been moved to HDF5Examples folder (#3917) 2024-01-03 14:17:46 -06:00
Scot Breitenfeld
8f1a93f1a2
New Fortran Examples added (#3916)
* added subfiling example

* Added filtered writes with no selection example
2024-01-03 10:55:17 -06:00