Releases: geospace-code/h5fortran
update CMake packaging
v4.7.1 v4.7.1
features and enhancements: UTF8, attributes
UTF8 pass-through for character Attributes and Datasets. We don't use the character(kind=UCS4)
because of Intel oneAPI still lacking support for this.
Attribute read/write completely overhauled: overwrite, %delete_attr, %exist_attr for 0d...7d and now can do int64 also
more robust is_hdf5 check for r,r+ mode
fletcher32, shuffle optional
check for dangling handles at file close
add %filesize method
add %deflate() method
read: NDarray scalar read
add %create(..., fill_value)
GCC 8.3.0 bug workaround
readd %ndims alias to %ndim
Enable FPM, enhance FindHDF5
- rearrange directories for FPM de facto practice
- add Fortran Package Manager (FPM)
- instead of generated source code, use Fortran standard "include"
Thanks @milancurcic for idea to implement FPM
FindHDF5: also find debug libs
v4.6.2 v4.6.2
HDF5 1.12.2 default, no Intel xHost flag
General cleanup of CMake scripts.
Intel compiler: don't specify xHost flag as some systems shouldn't use them. Let the user decide.
HDF5 1.12.2 is the default version built by the script if the user chooses.
Specify script HDF5 version to build by Git tag for simplicity.
improve character read/write
HDF5 string character data is handled more broadly and robustly including:
- null pad character data as typically generated from HDF5 programs in C / C++ / Python / Matlab etc. are now read correctly
- variable length strings are read correctly (c null term)
- overwriting character dataset is now possible
The common annoyance of a non-existing HDF5 file is handled with a succinct error message now.
fixes #26
Thanks @gekowa
General improvements to testing, algorithm tweaks, manual HDF5 build
HDF5 no longer autobuilds. This caused confusion in some cases, so we instead emit an error message with how to build HDF5 if necessary.
bugfix: slice stability
fix long-standing stability bug that I had used workaround code to get rid of before, but now I fixed the root cause by explicit dimensions for slice parameters
efficient HDF5 casting, lint to match h5mpi
v4.4.3 v4.4.3
FindHDF5 MPI fix, hdf5version()
remove ierr optional from %open() as with other methods
FindHDF5: scope FindMPI correctly, fixes false MPI-HDF5 link fail
Add hdf5version() query function