Installing and running COSMOS |
At the telescopeAt the present time, the COSMOS2 software is located at the Baade Telescope in /home/llama/aoemler/cosmos2. Programs must be run on llama unless you want to transfer everything to burro. See Running on Burro for instructions how to do that.Running on llamaBefore running any programs, you must execute the following commands:
Running on burroIf you need to run on burro, you must do the following.
On Santa Barbara StreetThe COSMOS2 software is installed on pavo, and should be usable from any machine running linux Redhat 9. valpariaso is configured for this, and can be used if your own machine is unsuitable. Before running any programs, you must do the following:
The documentation is available locally at www.ociw.edu/~oemler/COSMOS2 Installing COSMOS2 on your own machineA gzipped tarfile containing the COSMOS2 distribution for linux and Mac OSX may be downloaded from HERE. This distribution is know to work on Redhat 8, Redhat 9, and Fedora Core 1 and 4 and on Mac OS 10.3 and 10.4.DependanciesBesides the usual stuff, you will need:If you wish to use the gui programs setcosdir. defineobs, and viewspectra, you will also need the following perl modules: Installation
If they
are not, you
must do one of
the
following:
Some
final
tidying:
Now, you are ready to execute the make command make -f Makefile.system [PGLIB = "pgplot-dir" XLIB = "Xll-dir"
FITSLIB = "fits-dir"]
where system is either "Mac" or "linux", and the options in backets are only needed if the above mentioned library files are not in their expected locations. With a little luck, you will get no error messages, and at the end you will have a completely installed system. The most likely errors are due to a failure to find all the library files. Check their locations. 1.execute,
and copy into your shell startup file (e.g. cshdef, .cshrc) the
following commands so that they will be defined in
each window you open:
setenv
COSMOS_HOME "/home/joe-user/my-cosmos2-directory"
source
$COSMOS_HOME/cosmos2-setup
setenv
COSMOS_PAR_DIR "/home/joe-user/my-Cospar-directory"
where
my-cosmos2-directory and my-cospar-directory are the locations you have
chosen for the cosmos2 software and the
Cospar files.
2. Move
the Cospar directory to the location you have chosen, as described
above.
3. If you
wish to use the IRAF routines display8 and imcombine8, you must execute
the following lines at the cl prompt, or put them
in your login.cl file. Note that you must specify the full path to the
cosmos directory, since iraf
forgets your environment variables, such as COSMOS_HOME
task
display8 = "/home/joe_user/my-cosmos-directory/
bin/display8.cl" task imcombine8 = "/home/joe_user/my-cosmos-directory/ bin/imcombine8.cl" The html documentation will be available on your own computer at $COSMOS_HOME/docs/COSMOS2.html.
Need some help?Since you are a pioneer, you deserve a little help. If you can't get things to work properly, contact Gus Oemler at oemler@ociw.edu and we'll try to sort things out. |