Skip to content

CFITSIO: Libraries for Flexible Image Transport System (FITS) data format

Overview of package

Package: CFITSIO
Description: Libraries for Flexible Image Transport System (FITS) data format
For more information: http://heasarc.gsfc.nasa.gov/fitsio/
Categories: Astronomy
DataFormat
License: OpenSource (USGovernment)

General Usage

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. CFITSIO also provides many advanced features for manipulating and filtering the information in FITS files.

The following environmental variables have been defined:

  • $CFITSIO_ROOT has been set to the root of the cfitsio installation
  • $CFITSIO_LIBDIR points to the directory containing the libraries
  • $CFITSIO_INCDIR points to the directory containing the header files

You will probably wish to use these by adding the following flags to your compilation command (e.g. to CFLAGS in your Makefile):

  • -I$CFITSIO_INCDIR

and the following flags to your link command (e.g. LDFLAGS in your Makefile):

  • -L$CFITSIO_LIBDIR -Wl,-rpath,$CFITSIO_LIBDIR

Available versions by cluster

This section lists the available versions of the package CFITSIOon the UMD HPC clusters.

Versions available on the Zaratan cluster

Version Module tags CPU(s) optimized for GPU ready?
4.0.0 4.0.0 zen2 Yes
3.45 3.45 zen Yes
3.49 3.49 icelake, x86_64, zen2 Yes
4.2.0 4.2.0 icelake, x86_64, zen2 Yes