Instructions for updating an existing
copy
of the UCB and SDSS IDL code
If you have previously installed the
spec2d and IDLUTILS packages, then to acquire the most recent versions
of the code you simply need to follow the instructions below rather
than starting from scratch. If you'd prefer to begin anew, go here.
To update your version of the idlutils package, visit the IDLUTILS download website and download the
most recent stamped version of the IDLUTILS package into your main
directory (~/cvs/). Unpack the tarball using the following command:
tar
xvf
idlutils-v4_9_13.tar
where
idlutils-v4_9_13.tar is the name of the tarball downloaded. At
the time of the last edit of this website, version v4_9_13 was the most
recent edition of the IDLUTILS code. If a more recent version has been
released, download the most recent version accordingly. Unpacking this
tarball will create a new subdirectory (idlutils-v4_9_13) in your main
cvs directory. You
may now remove the downloaded .tar file. You may also remove the
directory containing your old copy of the IDLUTILS package, if you
wish.
To install the SDSS idlutils package completely, you will need to
compile
the associated C libraries. To do this, execute the following commands
at the terminal prompt:
setenv IDLUTILS_DIR ~/cvs/idlutils-v4_9_13/
Make sure that the path in the above line agrees with the directory
name in your main cvs directory.
setenv PATH
$IDLUTILS_DIR/bin:$PATH
setenv IDL_PATH
+$IDLUTILS_DIR/goddard/pro:$IDL_PATH
setenv IDL_PATH +$IDLUTILS_DIR/pro:$IDL_PATH
cd $IDLUTILS_DIR
evilmake all
This should create a variety of library (.so) files in the
directory ~/cvs/idlutils/lib/. Note that in these instructions, it has
been assumed that you are using C-shell. For instructions in
Bourne-shell,
see the
IDLUTILS website.
Lastly, edit your .idlenv file so that the $IDLUTILS_DIR
environment
variable is set correctly. Edit the following line in your .idlenv so
that it agrees with the correct path to your new version of the
IDLUTILS
package.
setenv IDLUTILS_DIR
~/cvs/idlutils-v4_9_13
Due to the many changes made in the spec2d code, it is recommended
that all users remove their existing copy of spec2d and download the
most recent code. The most recent, stamped version of the UCB pipeline
code (the spec2d package, version v1.1.4) is available as a tarfile:
spec2d.v1_1_4.tar.gz
(~5.4MB uncompressed/~1.6MB
compressed). Download this tarfile into your main CVS directory
(~/cvs/). Unpack the tarfile using the following commands:
gunzip -vf
spec2d.v1_1_4.tar.gz
tar xvf
spec2d.v1_1_4.tar
This will unpack the spec2d
package. The spec2d code should then be found in the ~/cvs/spec2d/pro
directory, the linelists in the ~/cvs/spec2d/etc directory, and so
forth.
The current working version of the code (the present
beta-version) is also available in a tarball format,
spec2d.beta.tar.gz . Follow the
directions given in the preceeding paragraph to install this copy of
the code. Note that this is a developmental version of the code and
may contain bugs as we continue to work and improve the
pipeline.
For those users that wish to continue to perform updates of the
spec2d code using CVS rather than via tarfiles, please contact us
directly for guidelines (us = cooper@astron.berkeley.edu). Tarfiles
are generally to be preferred.
Lastly, download the DEIMOS calibration data tarfile (~480MB), calib.tar from
this link into the directory ~/cvs, and unpack it using the
command:
tar
xvf calib.tar
This will create a subdirectory called "calib" inside your
main CVS directory. Inside this directory will be a variety of DEIMOS
calibration files; you can then delete calib.tar. Make sure that the
location of these calibration frames agrees with the path specified by
the $CALIB_DATA environment variable specified in your .idlenv
file.
created by Michael Cooper
last updated 12nov03