CFITSIO is a library of C and Fortran subroutines for reading and writing data files in FITS (Flexible Image Transport System) data format. CFITSIO provides simple high-level routines for reading and writing FITS files that insulate the programmer from the internal complexities of the FITS format.
To make this library available, run one of the following module commands
module load libs/cfitsio/3.38/gcc-8.2 module load libs/cfitsio/3.49/gcc-8.2
The modulefile creates a variable
$CFITSIO_INCLUDE_PATH which is the path
to the include directory.
The module was tested with the process described here: https://heasarc.gsfc.nasa.gov/docs/software/fitsio/c/c_user/node13.html.