You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-6Lines changed: 19 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,7 +6,7 @@
6
6
# Object-oriented Fortran 2018 HDF5 interface
7
7
8
8
Straightforward single-file/module access to HDF5.
9
-
Uses Fortran 2008 `submodule` for clean, templatable structure.
9
+
Uses Fortran 2008 `submodule` for clean template structure.
10
10
This thin object-oriented modern Fortran library abstracts away the messy parts of HDF5 so that you can read/write various types/ranks of data with a single command.
11
11
12
12
Polymorphic API with read/write for types integer, real32, real64 with rank:
@@ -21,23 +21,24 @@ Tested on systems with HDF5 1.8 and 1.10 including:
21
21
* MacOS (homebrew)
22
22
* Ubuntu 16.04 / 18.04 (gfortran 6 or newer)
23
23
* Windows Subsystem for Linux.
24
+
* Windows MSYS2
24
25
25
-
Note: Currently, Cygwin does not have Fortran HDF5 libraries.
26
+
Currently, Cygwin does not have *Fortran* HDF5 libraries.
26
27
27
28
## Build
28
29
29
30
Requirements:
30
31
31
-
* modern Fortran 2008 compiler (such as gfortran ≥ 5.4.1, etc.)
32
+
* modern Fortran 2008 compiler
32
33
* HDF5 Fortran library (1.8 or 1.10)
33
34
* Mac: `brew install gcc hdf5`
34
35
* Linux: `apt install gfortran libhdf5-dev`
35
36
* Windows Subsystem for Linux: `apt install gfortran libhdf5-dev`
37
+
* Windows MSYS2: `pacman -S mingw-w64-x86_64-hdf5`
36
38
37
39
Note that some precompiled HDF5 libraries include C / C++ without Fortran.
38
-
We have included a test in the build system to ensure that HDF5 links in Fortran before trying to buidl the OOHDF5 library.
39
40
40
-
Build this HDF5 OO Fortran interface with other Meson or CMake.
41
+
Build this HDF5 OO Fortran interface with Meson or CMake.
41
42
The library `libh5oo` is built, link it into your program as usual.
42
43
43
44
### Meson
@@ -48,6 +49,17 @@ meson build
48
49
meson test -C build
49
50
```
50
51
52
+
If HDF5 isn't found, you may need to specify on the command line:
0 commit comments