How to know version numbers at compile time (Fortran)

Hi all…

How can I get the library’s version numbers for preprocessing in Fortran?

An AI taught me a lie; I cannot find hdf5.inc in hdf5-{1.14,2.0.0,2.1.0}…

Thanks in advance.

Ah, sorry for the noise. I’ve figured it out by my self.

#include “H5config_f.inc”, and then use H5_VERS_MAJOR, H5_VERS_MINOR, and H5_VERS_RELEASE.