Versions of IRAF at STScI
15 May 1997

The existence of several different versions of IRAF at STScI sometimes leads to confusion about which version to use. This document briefly summarizes the differences between the various versions, explains the primary uses of each version, and explains how to switch between versions. We also discuss the future plans for how the various versions of IRAF at STScI will evolve.


Characteristics of Different IRAF Versions

Sorted by system:
                      |IRAF Version|      FITS kernel version    |     Operations Applications    |  Applications  
System  OS      Name  |2.10.4 2.11b|None 20aug96b 24jan97b 2.11b1|Baseline Develop Test Operations|Baseline Develop
------  --      ----  +------ -----+---- -------- -------- ------+-------- ------- ---- ----------+-------- -------
Ra      Solaris irafx |         X  |                          X  |            X                   |            X 
Ra      Solaris iraft |   X        |         X                   |                  (X)     X     |            X* 
Ra      Solaris irafo |   X        |                 X           |            X                   |            X 

Hydra   Solaris iraf  |   X        |  X                          |   X                            |    X         
Hydra   Solaris irafx |   X        |                          X  |            X                   |            X 
Hydra   Solaris iraft |   X        |         X                   |                  (X)     X     |            X*
Hydra   Solaris irafo |         X  |                 X           |            X                   |            X 

Scivax  VMS     iraf  |   X        |  X                          |   X                            |    X         
Scivax  VMS     irafx |   X        |                 X           |            X                   |            X 
Scivax  VMS     irafy |   X        |         X                   |                  (X)     X     |            X 

OPUS    VMS     iraft |   X        |         X                   |                          X     |    -       - 
HDA     VMS     iraft |   X        |         X                   |                          X     |    -       - 

Sorted by IRAF version characteristics:
                      |IRAF Version|      FITS kernel version    |     Operations Applications    |  Applications  
System  OS      Name  |2.10.4 2.11b|None 20aug96b 24jan97b 2.11b1|Baseline Develop Test Operations|Baseline Develop
------  --      ----  +------ -----+---- -------- -------- ------+-------- ------- ---- ----------+-------- -------
Hydra   Solaris iraf  |   X        |  X                          |   X                            |    X         
Scivax  VMS     iraf  |   X        |  X                          |   X                            |    X         
Ra      Solaris irafx |        X   |                          X  |            X                   |            X 
Hydra   Solaris irafx |        X   |                          X  |            X                   |            X 
Scivax  VMS     irafx |   X        |                 X           |            X                   |            X 
Ra      Solaris iraft |   X        |         X                   |                  (X)     X     |            X*
Hydra   Solaris iraft |   X        |         X                   |                  (X)     X     |            X*
Scivax  VMS     irafy |   X        |         X                   |                  (X)     X     |            X 
OPUS    VMS     iraft |   X        |         X                   |                          X     |    -       - 
HDA     VMS     iraft |   X        |         X                   |                          X     |    -       - 
Ra      Solaris irafo |   X        |                 X        X  |            X                   |            X 
Hydra   Solaris irafo |   X        |                 X        X  |            X                   |            X 

The IRAFT versions of applications packages are essentially snapshots of the IRAFX application versions when the IRAFT installations were created (when IRAFX was still version 2.10.4 IRAF). They do not get updated unless an updated version of an application is required for operations (e.g., for paper products). These entries are marked with 'X*'.

Summary of Differences and Uses of IRAF Versions

The following summarizes the essential differences between the different versions of IRAF and who the intended users are for each version.


Switching Between Different IRAF Versions

A new system is being put in place to make it easy to select a default version of IRAF and to switch between different versions of IRAF. First, on the Unix systems your .envrc startup file (in your home directory) can include a Package command to select which version of IRAF you want to use by default. For example, include:

	Package: irafx

to use the IRAFX version as your default.

All the science systems and the ra cluster will also have aliases (or command procedures) implemented to make it possible to switch versions by simply typing the version name followed by the usual command to start the cl. For example, suppose a user's .envrc file defaults to IRAFX. The user could run IRAFX and then switch to IRAFT temporarily as follows:

	% cl
	cl> 
	.
	. 
	.
	cl> log
	% iraft
	% cl
	cl>
	.
	. 
	.
	cl> log
	% irafx
	% cl
	cl>
	.
	. 
	.

The startup message for each version of iraf will be modified to make clear which version of IRAF the user is running (IRAF, IRAFX, IRAFO, or IRAFT).

This system has already been implemented on Ra; if no problems are encountered, it will be implemented on the Hydra cluster this week.


Future Plans for IRAF Versions

At the moment, the mercurial nature of the FITS kernel (on which the STIS and NICMOS pipelines depend) makes things complicated, with 3 different FITS kernels in use (20aug96b in operations, 24jan97b in IRAFO, and 2.11b1 in IRAFX). These different versions are necessary because the 20aug96b kernel is known to have some problems affecting interactive use, but has been found to be robust and to have no problems in the operational pipelines. On the other hand, newer versions of the FITS kernel have been changing too frequently to be used in the operational systems, because it has not been practical to repeat all the time-consuming testing of the operational software with each new version. Consequently, we have chosen to freeze the FITS kernel in operations and to make only minimal changes when problems are discovered.

Once IRAF version 2.11 is released, we will be able to simplify the system of IRAF versions. IRAF 2.11 will be released around the end of May for Solaris and other Unix operating systems; a VMS version of 2.11 should be released around August or September. With the Unix release of 2.11, and the subsequent STSDAS release (in June), we will make the following changes in the versions described above on all Unix systems:

The VMS systems (including the science VMS cluster and the operational computers) will not change with the 2.11 Unix release. However, with the VMS release of IRAF 2.11, we will be able to make these additional simplifications:

Once these changes have been made, we will have reached our goal of having only one basic IRAF system (IRAF 2.11) and one FITS kernel on all our IRAF installations at STScI. The development version will continue to exist to reflect the latest changes to software applications, but system changes are expected to be much rarer and so the entire environment will be more stable and easier for users (and programmers) to understand.


Richard L. White, rlw@stsci.edu
1997 June 5