Closed milancurcic closed 3 years ago
Yes I added to readme.md, that if one isn't using CMake for their own project, they can use the HDF5 compiler wrapper like:
h5fc -I~/h5fortran/include myprogram.f90 ~/h5fortran/lib/libh5fortran.a
Okay, thanks I found it (and it worked), although it's quite buried at the bottom of the CMake section. Can you place it in its own section so its more visible? I don't know what's a good section name. "Non-CMake"? "Other build systems"?
yes I made a "compiler wrapper" section for this
Great, thanks.
When trying to build an example program, I ran into linking issues. For example, in
build/
directory, if I do:I get many linker errors. I'm an HDF5 n00b, but I understand I need to link to the HDF5 library. So I search the system and find libraries in
usr/lib/x86_64-linux-gnu/hdf5/serial
. Great! But now I'm not sure which libraries I need and which I don't. There are several:Specifically, do I need the C library? Fortran library? Both? And what are these
hl
libraries? So I try various combinations until I get to the one that makes the linker happy:You get the idea: The Usage subsection of the README should explain how to link a user program with all the libraries that are needed.
openjournals/joss-reviews#2842