H5PFC(1)
π¦ h5pfc β your lil bestie for compiling HDF5 Fortran apps π¦
okay so, first things first: this is the manual page for h5pfc, a User Commands situation, filed under H5PFC(1). She's a helper script, she's lowkey iconic, and she exists for one reason: to compile your HDF5 Fortran applications without you losing your mind. π
β¨ NAME β¨
h5pfc β helper script to compile HDF5 Fortran applications π«Ά
πΈ DESCRIPTION πΈ
so the vibe is:
usage: h5pfc [OPTIONS] <compile line>
that's it, that's the whole thing. you give her options, you give her a compile line, she handles the rest. main character energy fr fr. π
π OPTIONS π
-helpβ prints this help message. she's literally telling you how to use her. help her help you. π-echoβ shows you all the shell commands that get executed. very "not me being transparent about everything I do" of her. β¨-prefix=DIRβ the prefix directory where HDF5'slib/andinclude/subdirectories live. default is/usr. she will go looking there, no cap.-showβ shows you the commands without actually executing them. it's giving preview mode, it's giving window shopping, it's giving look-don't-touch. π-showconfigβ shows the HDF5 library configuration summary. the receipts, if you will. π§Ύ-shlibβ compile with shared HDF5 libraries. this is the default for hdf5 built without static libraries. π«-noshlibβ compile with static HDF5 libraries. this is the default for hdf5 built with static libraries. π<compile line>β the normal compile line options for your compiler. just, y'know, your usual stuff. π
π a lil heads up about your compiler π
h5pfc uses the same compiler you used to compile HDF5. like, she's loyal, she's not switching up on you. check with your compiler's man pages for more info on which options are needed β that's a you-and-your-compiler conversation, bestie. π
you can override the compiler and linker to compile your program by setting these environment variables accordingly:
HDF5_FCβ use a different Fortran 90 or 95 compiler π₯HDF5_FLINKERβ use a different linker πHDF5_USE_SHLIB=[yes|no]β use the shared or static version of the HDF5 library. default: no, except when built with only shared libraries. β
π§ paths and flags: you can customize too π§
you can also add or change paths and flags to the compile line using the following environment variables, or by assigning them to their counterparts in the 'Things You Can Modify to Override...' section of h5pfc. yes she really named a section that, she's dramatic like that. π
here's the little mapping β Variable β Current value to be replaced:
HDF5_FCFLAGSβ""HDF5_LDFLAGSβ""HDF5_LIBSβ""
β οΈ okay important one, pay attention bestie: note that adding library paths to HDF5_LDFLAGS where another hdf5 version is located may link your program with that other hdf5 library version. like, she'll do it, but you might not get the hdf5 you thought you were getting. be careful out there. π
and that's the whole page, bestie!! this one's from h5pfc (hdf5 1.8.12), dated May 2014, and it's chillin' in the H5PFC(1) section. slay, go compile something cute. πβ¨π
π¦ where this page comes from
- epel 10: hdf5-mpich-devel 1.14.5-1.el10_0 Β· BSD-3-Clause
- epel 10: hdf5-openmpi-devel 1.14.5-1.el10_0 Β· BSD-3-Clause
- epel 9: hdf5-mpich-devel 1.12.1-7.el9.1 Β· BSD
- epel 9: hdf5-openmpi-devel 1.12.1-7.el9.1 Β· BSD
- fedora 43: hdf5-mpich-devel 1.14.6-6.fc43 Β· BSD-3-Clause
- fedora 43: hdf5-mpich-devel 1.14.6-6.fc43 Β· BSD-3-Clause
- fedora 43: hdf5-openmpi-devel 1.14.6-6.fc43 Β· BSD-3-Clause
- fedora 44: hdf5-mpich-devel 1.14.6-7.fc44 Β· BSD-3-Clause
- fedora 44: hdf5-mpich-devel 1.14.6-7.fc44 Β· BSD-3-Clause
- fedora 44: hdf5-openmpi-devel 1.14.6-7.fc44 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms