Skip to content

Commit 53fdc33

Browse files
committed
hdf5 2.0 complex types
1 parent 123a6b4 commit 53fdc33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ On HPC, we suggest using the HDF5 library provided by the HPC system for best pe
161161
### h5fortran: missing HDF5 features
162162

163163
* arrays of rank > 7: prototyped in reader_nd.f90, writer_nd.f90. Fortran 2008 arrays are up to rank 15, but only recent compilers support.
164-
* complex64 / complex128: not natively handled in HDF5. There are performance impacts for compound datatypes. Many choose to write two datasets, one each for real and imaginary like `A_real` and `A_imag`
164+
* complex64 / complex128: enabled by HDF5 ≥ 2.0, but not yet implemented in h5fortran.
165165
* non-default character kind -- we do pass-through UTF8
166166
* logical / boolean: not supported natively by HDF5. h5py implements as [enum](https://docs.h5py.org/en/stable/faq.html#what-datatypes-are-supported).
167167
* variable length dataset writing

ford.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,6 @@ python3 scripts/build_hdf5.py
171171
### h5fortran: missing Fortran datatypes
172172

173173
* arrays of rank > 7: prototyped in reader_nd.f90, writer_nd.f90. Fortran 2008 arrays are up to rank 15, but only recent compilers support.
174-
* complex64 / complex128: not natively handled in HDF5. There are performance impacts for compound datatypes. Many choose to write two datasets, one each for real and imaginary like `A_real` and `A_imag`
174+
* complex64 / complex128: enabled by HDF5 ≥ 2.0, but not yet implemented in h5fortran.
175175
* non-default character kind
176176
* logical / boolean: not supported natively by HDF5. h5py implements as [enum](https://docs.h5py.org/en/stable/faq.html#what-datatypes-are-supported).

0 commit comments

Comments
 (0)