Skip to content

Releases: geospace-code/h5fortran

update CMake packaging

14 Jul 03:58
9e62a8d
Compare
Choose a tag to compare
v4.7.1

v4.7.1

features and enhancements: UTF8, attributes

07 Jul 15:34
cc22fee
Compare
Choose a tag to compare

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

18 May 13:54
3b1867b
Compare
Choose a tag to compare
  • 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

12 May 22:08
f4e7bb3
Compare
Choose a tag to compare

HDF5 1.12.2 default, no Intel xHost flag

08 May 20:59
46576d9
Compare
Choose a tag to compare

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

25 Apr 07:01
e169986
Compare
Choose a tag to compare

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

27 Mar 20:39
0d9d4bd
Compare
Choose a tag to compare

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

27 Dec 23:32
a4d9ffc
Compare
Choose a tag to compare

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

27 Dec 22:54
d5f1d46
Compare
Choose a tag to compare

FindHDF5 MPI fix, hdf5version()

22 Dec 06:22
612c388
Compare
Choose a tag to compare

remove ierr optional from %open() as with other methods

FindHDF5: scope FindMPI correctly, fixes false MPI-HDF5 link fail

Add hdf5version() query function