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 the following module command
module load libs/gcc/5.2/cfitsio
The modulefile creates a variable
$CFITSIO_INCLUDE_PATH which is the path
to the include directory.