RGS spectrum of HR1099
Home Documentation Watchouts Help Calibration Installation Software requirements Download

SAS 7.1.2 on Mac OS X Intel

The SAS 7.1.2 for Mac OS X 10.4.10 (Darwin 8.10.0 alias "Tiger") has been built on a PowerPC processor machine but it is able to run unchanged on an Intel processor thanks to the Rosetta translator which comes installed by default with the Tiger operating system.

SAS 7.1.2 has been tested thoroughly and successfully on a Mac OS X 10.4.11 (Darwin 8.11.1) running on Intel.

Installation

To install this version of SAS on a Mac OS X Intel, please download first the sas_7.1.2-darwin8.10.0.tgz archive into a directory of your choice, e.g. into /top_dir.

Next, unpack it with the command

tar zxf sas_7.1.2-darwin8.10.0.tgz

and inmediately after, execute the install.sh script as follows

./install.sh

and let it run until completion.

The installation shell script will check for the presence of all required SAS software components according to an installation manifest named sas_7.1.2_install_manifest-darwin8.10.0.txt, it will install all in turn and configure them for inmediate use.

The installation script creates below /top_dir a directory named xmmsas_20070708_1802, which contains the whole SAS software and launches configure_install that will write in the same directory two scripts named setsas.sh and setsas.csh. These are the scripts you can use later on to intialize the SAS.

The configure_install shell script makes several sanity checks about the installation and informs the user about them. The most important of these checkings is the existence of perl in /usr/local/bin either as a real binary or as a soft link to a binary placed in another location, typically in /usr/bin. Should your installation miss perl in the expected location, please run the following command with administrator privileges

ln -s /usr/bin/perl /usr/local/bin/perl

and re-run the configure_install shell script again.

Setup

Depending on your shell, source either setsas.sh or setsas.csh, as follows:

. ./setsas.sh (sh/bash/ksh)

source ./setsas.csh (csh/tcsh)

The previous commands should be replaced by

. /top_dir/xmmsas_20070708_1802/setsas.sh (sh/bash/ksh)

source /top_dir/xmmsas_20070708_1802/setsas.csh (csh/tcsh)

when invoked from any other place of your system.

The setsas.[c]sh scripts take care of all the necessary details to initialize properly the environment to run SAS in your operating system, except for the SAS_CCFPATH, the SAS_ODF and the SAS_CCF environment variables, which must be defined by you explicitly to tell SAS where to find the XMM-Newton data you want to analyze and the calibration files needed to do it.

For more details consult the documentation links, in particular the SAS start-up thread.

X11 on Mac OS X Intel

To work with SAS you need to have the X11 software installed in your Mac. That software is required not only to run the SAS GUIs but to run as well the two external graphical tools, ds9 and xmgrace which SAS uses to display respectively images and plots. Please look here for more details.

Apple provides the X11 software in the Mac OS X installation CD (under Optional Installations). If you do not have such software installed, please do it now.

We have tested successfully this version of SAS with the X11 software provided by Apple. However, our tests with XFree86 from Fink were unsuccessful.


Pages maintained by SAS librarian.
Any question about SAS should be addressed to the XMM-Newton help desk.

Updated on: January 22, 2008