There is a newer version of the record available.

Published July 14, 2021 | Version v4.1.2

geospace-code/h5fortran: bugfix: internal intent(inout) for read

  • 1. xjtu
  • 2. Royal Meteorological Institute of Belgium

Description

Fortran intent(out) arguments reallocate allocatable variables, even if they were already allocated. This can cause segfaults on large variables (gigabyte or so), so we change internally to intent(inout). No user program changes are required. This issue affects any Fortran program in general.

  • HDF5 autobuild requires CMake >= 3.20. It's generally easy to install a recent CMake, and the performance for auto-building is much better as a result.

  • FindHDF5 is enhanced to work with HDF5 library linked with MPI. We don't yet include parallel HDF5 features, but it's being prototyped in a separate repo.

Files

geospace-code/h5fortran-v4.1.2.zip

Files (112.7 kB)

Name Size
md5:18d11b0da290ae971da5a7badc216f37
112.7 kB Preview Download

Additional details