ShARC will be decommissioned on the 30th of November 2023, after which time users will no longer be able to access that cluster and any jobs running or queueing at that time will be cancelled.

Please see our page of important info about ShARC’s decommissioning.


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 CFITSIO/3.45-GCCcore-7.3.0
module load CFITSIO/3.45-intel-2018b
module load CFITSIO/3.47-GCCcore-8.3.0
module load CFITSIO/3.48-GCCcore-9.3.0

The modulefile creates a variable $CPATH which is the path to the include directory.

Installation notes

This section is primarily for administrators of the system. CFITSIO has been installed using the default Easybuild config files.

Build logs and test reports can be found in $EBROOTCFITSIO/easybuild with a given module loaded.