HEAsoft

A Unified Release of the FTOOLS and XANADU Software Packages

The current version of HEAsoft is 6.0.4 (November 28 2005)

XANADU High-level, multi-mission tasks for X-ray astronomical spectral, timing, and imaging data analysis FTOOLS General and mission-specific tools to manipulate FITS files FITSIO Core library responsible for reading and writing FITS files (distributed with FTOOLS) fv General FITS file browser/editor/plotter with a graphical user interface (distributed with FTOOLS) XSTAR Tool for calculating the physical conditions and emission spectra of photoionized gases Hera You may interactively run the Xanadu and FTOOLS software on the Hera server machines at the HEASARC to analyze any of the data files in the Browse archive.

Carlos Download a pre-compiled binary distribution for a Linux (PC) from here.

The distribution includes the following packages:

Mission-Specific Tools:
	ASCA 	Einstein EXOSAT CGRO 	HEAO-1
	INTEGRAL OSO-8 	 ROSAT 	Swift 	Vela 	XTE 		
General-Use FTOOLS:
	Caltools Futils Fimage 	HEASARC HEAtools FV / GUIs Time 		
XANADU:
	Ximage 	Xronos 	Xspec v11 * Xspec v12 * 		
XSTAR  

Preliminary/Dependant packages

HEAsoft installer requires the installation of the following:

 - ANSI C compiler
     On Linux systems, only the GNU compilers are supported, 
 - ANSI C++ compiler (several caveats, so please read carefully)
     only support g++ 2.95.3 and higher (EXCEPT 2.96).
     *HOWEVER*, some packages (notably Xspec 12) require more recent versions
     of g++.  Please note that there is a problem with g++ 3.4.3 that prevents
     Xspec 12 from linking, but otherwise the 3.2.x, 3.3.x, and 3.4.1 or 3.4.2
     compilers should be sufficient to build Xspec 12.
 - Fortran compiler
    GNU Fortran (g77) compiler is required.  f2c is not supported at all on any platform.
 - make
 - perl (5.6.0 or higher recommended)
     Many HEASOFT scripts are written in Perl, and since Perl is free
     and easy to install, we recommend you make sure a valid Perl is in
     your path before you start.
 - X-Windows (required for most of HEASOFT)
     If you plan to any graphical tools (XSPEC, XIMAGE, FV, etc.) you
     will need X Windows.  

Installation

Carlos Installed the pre-compiled binary distribution of HEASOFT:

(1) Created the root directory for the instalation: /usr/local/HEASOFT:

cdelacruz@metis:/usr/local$ sudo mkdir HEASOFT

(2) Unpacked the file:

cdelacruz@metis:/usr/local/HEASOFT$ sudo gzip -d heasoft6.0.4linux_pc.tar.gz
cdelacruz@metis:/usr/local/HEASOFT$ tar xvf heasoft6.0.4linux_pc.tar.gz

This will create a headas/ directory containing the software distribution.

(3) Configured the software for our platform (i686-pc-linux-gnu-libc2.2.4) by running the configure script as follows:

cdelacruz@metis:/usr/local/HEASOFT/headas$ cd i686-pc-linux-gnu-libc2.2.4/

cdelacruz@metis:/usr/local/HEASOFT/headas/i686-pc-linux-gnu-libc2.2.4/BUILD_DIR$ sudo ./configure
creating cache ./config.cache
checking for perl5... no
checking for perl... /usr/bin/perl
updating cache ./config.cache
creating ./config.status
creating headas-setup
Modifying add_sis_rmf to use Perl given by LHEAPERL at runtime.
...
Modifying xwebquery.pl to use Perl given by LHEAPERL at runtime.
lhea-fixpfiles: generating ../syspfiles/a2source.par from ../syspfiles/a2source.parin
...
lhea-fixpfiles: generating ../syspfiles/timeconv.par from ../syspfiles/timeconv.parin
Done
cdelacruz@metis:/usr/local/HEASOFT/headas/i686-pc-linux-gnu-libc2.2.4/BUILD_DIR$

(3) performed the software initialization and setup:

Edited the .bashrc file in the home directory and added the following:

### HEASOFT Environment ###
      HEADAS=/usr/local/HEASOFT/headas/i686-pc-linux-gnu-libc2.2.4
      export HEADAS
      alias heainit=". $HEADAS/headas-init.sh"

cdelacruz@metis:~$source .bashrc

Typing "heainit" at a terminal will initialize the software for use.