External SPECROAD: Installing E-SPECROAD
What is E-SPECROAD? | Installing E-SPECROAD | User's Guide | Version History
Available Downloads: | Size | Last Updated |
hectoshell_MacOSX_20130415.tgz | 253 K | Thu., Nov. 19, 2015 |
hectoshell_Linux_20130415.tgz | 252 K | Thu., Nov. 19, 2015 |
idhenear.600gpm_4800.dat | 523 Bytes | Thu., Nov. 19, 2015 |
idhenear.600gpm_4800_best.dat | 532 Bytes | Thu., Nov. 19, 2015 |
Hectospec_HeNeAr_600gpm_4800.pdf | 499 K | Thu., Nov. 19, 2015 |
Hectospec_HeNeAr_Spectrum.pdf | 2430 K | Thu., Nov. 19, 2015 |
Installing External SPECROAD
These instructions, while geared toward astronomers using to the MacOS X environment, are fairly portable to other *nix type environments. I have personally gotten working installations of E-SPECROAD on
- MacOS 10.5.x or later using Scisoft OSX to provide the IRAF installation and MacPorts for some additional packages. The instructions below outline everything you need to do to get this running.
- Scientific Linux 5.3 or later using ESO Scisoft 7 to provide the IRAF installation, although again this required some work to get Scisoft installed. (*) This process was considerably easier than getting things working under Fedora Core 9.
- Fedora Core 9 Linux (both 32 and 64-bit versions) using ESO Scisoft 7 to provide the IRAF installation, although this required some work to get Scisoft (**) Once you get Scisoft installed properly, you can continue below without much pain.
I've tried to make these notes as easy to follow as I can, however I do assume a certain level of comfort with the command line environment as well as familiarity with disk permissions and how/when to use the sudo
command in conjunction with what you see below.
Pre-Installation Instructions
I will start off by telling you everything you need to do before you can even expect External SPECROAD (E-SPECROAD) to work. This breaks down to making sure before you even attempt installing the software related to E-SPECROAD you have to have
- A functional X-windows *nix-based operating system.
- Functional versions of the tcsh and ksh shells installed. I highly recommend using tcsh as your default environment as that is what I have assumed. However, if you are talented enough to set up the proper environmental variables in your preferred shell, you should be OK.
- A functional installation of IRAF 2.12 or later (including X11IRAF). It is probably preferable to have IRAF 2.14 or later.
- For Mac users, the g77 compiler must be installed and in your command path. Linux users can skip this as long as they have a complete gcc and glibc environment (all developer packages too). IRAF on linux uses f2c,which is included in the default IRAF distribution. If you using 64-bit linux, see notes below in the section on compiling IRAF packages.
Once you get your computer to meet these requirements, installing all the software for running External SPECROAD is fairly straightforward. If your computer meets these requirements, you can probably skip the pre-installation instructions for the most part.
-
My assumptions about your Computer.
- Using a Macintosh? You must be running MacOS 10.4.x or higher. You must have also installed the optional X11 support on the Mac if you are running MacOS 10.4. If you are running MacOS 10.5, I would strongly suggest you consider installing XQuartz over the X11 installed by the OS, but it is not critical. I've only extensively tested these E-SPECROAD scripts under MacOS 10.5, but there is nothing I can think of that prevents them from running on a Mac running MacOS 10.4.x.
-
Using a Linux/BSD/SunOS Computer? The E-SPECROAD scripts should run on any operating system with a Linux/BSD/SunOS interface as long as that computer meets the requirements outlined above. In fact,as noted above, these scripts have been made to run under Scientific Linux 5.3 using ESO Scisoft 7.3.1 and both 32 and 64-bit versions of Fedora Core 9 Linux using ESO Scisoft 7.1.
-
Switch your default shell to tcsh. IRAF really want to run in tcsh instead of bash, the default shell on most modern *nix distributions. On most systems, you can change your default shell by typing:
chsh -s /bin/tcsh
on the command line. You may want to check with your system administrator iftcsh
isn't installed. I have confirmed this works on a MacOS X Leopard (10.5) machine. For earlier MacOS X versions, you may have to run NetInfo manager to change your default shell to/bin/tcsh
.
-
If you haven't already done so, install IRAF including X11IRAF (preferably version 2.14, but it should run on 2.12) on your computer and get your user account set up to use it.
- For the Intel-based Mac, the easiest way to get IRAF running is to either use Macros Huerta's IRAF package based installer or to use Scisoft OSX . I personally prefer using Scisoft OSX because it doesn't require futzing around with my account settings.
- If you have a PPC-based Mac, you can install IRAF 2.14, but I believe you will have to follow the instructions on IRAF.net for installing IRAF manually. Older versions of IRAF are available in the last PPC compatible version of Scisoft OSX and in Macro's Huerta's package based installers.
- For Linux computers, there are a variety of installation options available for IRAF. I personally find ESO Scisoft 7 to be the easiest way to install IRAF, at least on Fedora Core Linux and Scientific Linux machines. It installs IRAF 2.14 (as of ESO Scisoft version 7.3.1), along with a lot of other software that might be useful to you as an astronomer, in a few minutes. If you use another distribution of Linux or another *nix operating system, investigate IRAF.net for information on manually installing IRAF.
- Tweaking your IRAF installation to use enough memory: Once you get your personal IRAF work area set up, open the
login.cl
configuration file in a text editor and change the line reading
set min_lenuserarea = 64000
to read
set min_lenuserarea = 200000
This ensures you have enough memory set aside for hcal to run properly. If you do not do this, hcal will terminate with "ERROR: Out of space in image header." Thanks to Megan Bagley for catching this requirement!
-
Testing your IRAF installation: Make sure you have set up IRAF so that you can run 'ecl' and so IRAF's environmental variables are loaded in your command line environment. If everything works
- You should be able to go to your IRAF directory and type "
ecl
" to launch IRAF. - You should be able to type "
cd $hlib
" and go to one of the IRAF configuration directories. - You should be able to type "
xgterm
" and have an xgterm terminal window launch. If it doesn't launch it could either be an indication of an IRAF installation problem or an X-windows configuration problem. If you are using MacOS 10.4.x, check an make sure you have the DISPLAY environmental variable set (e.g. - the.tcshrc
file contains "setenv DISPLAY :0.0
") and that the X11.app (located in the/Applications/Utilities
) application is running. If you are running MacOS 10.5.x, make sure the DISPLAY variable is NOT set.
- You should be able to go to your IRAF directory and type "
-
Download and install g77 for the Mac from the High Performance Computing for Mac OS X website. You will need it to properly compile some IRAF packages. To make sure it is in your
$PATH
and to get it to behave like f77, add the following lines to the end of your.tcshrc
file:
setenv PATH ${PATH}:/usr/local/bin
setenv XC_F77 g77
setenv XC_FFLAGS "-fugly-logint"
WARNING for Linux Users: The above "XC" environmental variables should only be set on the Mac and NOT under Linux. Linux will use the f2c compiler within IRAF.
-
Download and install properly working versions
ksh
for the Mac. I'll admit I am not absolutely certain this step is necessary under MacOS 10.5, but under MacOS 10.4 I observed that theksh
that was provided with the Mac has a serious bug in the handling of file lists that prevents SPECROAD from working. You need a properly working ksh on the Mac if you want to run SPECROAD on the Mac. The easiest way to do this is to install MacPorts, and then, after properly configuring your.tcshrc
to add support for MacPorts, type:
sudo port install ksh93
and after some work, you should have properly functioning ksh installed. Installing MacPorts also allows you to install many other applications with their origins in the linux community fairly easily.
Installing the Hectospec Software
The Smithsonian Astrophysical Observatory does provide most of the software necessary to reduce Hectospec data and you need to download and install it.
- You might want to take a moment here and make sure you have disk permissions set properly to allow you to write to
/usr/local
as that is where we will be installing almost everything we need. If/usr/local
doesn't exist, create it with permissions to allow you to write to it.
- Create a
/usr/local/iraf
directory to install additional IRAF packages in. Actually, doesn't matter where you place this directory, I just assume this further down in these instructions. It's pretty easy to pick out where to change things in the next two steps to get another directory to work, just replace mentions of "/usr/local/iraf
" with your preferred choice.
-
Download the IRAF packages you are going to need from the Hectospec data reduction software page. The IRAF packages you need to install include
-
Hectospec (Version 3.5.8 or later): http://tdc-www.harvard.edu/instruments/hectospec/hectospec-3.5.8.tar.gz
UPDATE RECOMMENDED: I strongly recommend if you have previously installed hectospec that you install version 3.5.8 or later as some significant bugs were fixed.
- MSCRED (Version 4.3 or later): http://tdc-www.harvard.edu/instruments/hectospec/mscdb-4.3.tar.gz
-
RVSAO (version 2.7.6 or later): http://tdc-www.harvard.edu/iraf/rvsao/rvsao-2.7.6.tar.gz
UPDATE RECOMMENDED: I am using some commands in versions of E-SPECROAD to be released after June 17, 2009 that were introduced in RVSAO version 2.7.6. Furthermore, there were extensive bug fixes that directly apply to E-SPECROAD. I strongly recommend upgrading to RVSAO version 2.7.6 if you haven't already.
- WCSTools (Version 3.7.0 or later): http://tdc-www.harvard.edu/software/wcstools/wcstools-3.7.5.iraf.tar.gz
-
SVDFit (Version 1.9.2 or later): http://tdc-www.harvard.edu/iraf/svdfit/svdfit-1.9.2.tar.gz
/usr/local/iraf
directory.
-
Hectospec (Version 3.5.8 or later): http://tdc-www.harvard.edu/instruments/hectospec/hectospec-3.5.8.tar.gz
- Create Symbolic Links: To make updating packages less difficult, I would strongly urge you to create symbolic links from "nonversioned" directories to the version-specific directories you unpacked in the
/usr/local/iraf
directory. That way, if you want to update a package, you just have to change the symbolic link and if the package doesn't work, you get backtrack by changing the symbolic link back. You can create symbolic links from the command line using something like the following (the version numbers may change, and I am assuming the symbolic links do not already exist):
ln -s /usr/local/iraf/hectospec-3.5.8/ /usr/local/iraf/hectospec
ln -s /usr/local/iraf/mscdb-4.3/ /usr/local/iraf/mscdb
ln -s /usr/local/iraf/rvsao-2.7.6/ /usr/local/iraf/rvsao
ln -s /usr/local/iraf/wcstools-3.7.5/ /usr/local/iraf/wcstools
ln -s /usr/local/iraf/svdfit-1.9.2/ /usr/local/iraf/svdfit
-
Edit the list of external packages IRAF knows about to be aware of these new packages. Start by opening IRAF's
extern.pkg
file:
cd $hlib cp extern.pkg extern.pkg.###### (where ###### is the date)
Now open theextern.pkg
file in a text editor and make the following changes:- If you are using the Scisoft OSX IRAF installation, edit the rvsao lines to point to your newly downloaded rvsao package.
reset rvsao = /usr/local/iraf/rvsao/ task rvsao.pkg = rvsao$rvsao.cl
and, if it exists, edit the#reset mscdb = /iraf/extern/mscdb/
to readreset mscdb = /usr/local/iraf/mscdb/
If you are not using Scisoft OSX, just edit the file to add these lines.
- Add the remaining package lines (or edit them if they exist already)
reset svdfit = /usr/local/iraf/svdfit/ task svdfit.pkg = svdfit$svdfit.cl reset wcstools = /usr/local/iraf/wcstools/ task wcstools.pkg = wcstools$wcstools.cl reset hectospec = /usr/local/iraf/hectospec/ task hectospec.pkg = hectospec$hectospec.cl
To make the help files available, edit the 'helpdb' path at the end of theextern.pkg
file:reset helpdb = "lib$helpdb.mip\ ,noao$lib/helpdb.mip\ ,nlocal$lib/helpdb.mip\ ,mscred$lib/helpdb.mip\ ,ctio$lib/helpdb.mip\ ,stsdas$lib/helpdb.mip\ ,vol$lib/helpdb.mip\ ,tables$lib/helpdb.mip\ ,color$lib/helpdb.mip\ ,nmisc$lib/helpdb.mip\ ,fitsutil$lib/helpdb.mip\ ,gemini$lib/helpdb.mip\ ,guiapps$lib/helpdb.mip\ ,taxe16$lib/helpdb.mip\ ,wcstools$lib/helpdb.mip\ ,rvsao$lib/helpdb.mip\ ,svdfit$lib/helpdb.mip\ ,hectospec$lib/helpdb.mip\ "
That last quoteby itself on the last line is important. Also, make sure there are no spaces after the "\" on each of those lines or you will get an error when you launch IRAF that looks something like the following:ERROR: Newline while processing string called as: `cl ()' called as: `cl ()' called as: `cl ()' Error while reading login.cl file - may need to rebuild with mkiraf Fatal startup error. CL dies.
- If you are using the Scisoft OSX IRAF installation, edit the rvsao lines to point to your newly downloaded rvsao package.
-
Compile all the IRAF Packages you just downloaded. You will need to launch IRAF (via 'cl' or 'ecl') and then compile all the IRAF packages you just downloaded.
WARNING for 64-bit Linux users: If you are running 64-bit Linux, you will need to make sure to use the 32-bit compilers within IRAF. Assuming you have set up IRAF properly, you will need to set it to use 32-bit via the following. First go to the$hlib
directory:
cd $hlib
(should kick you to something lilke/scisoft/share/iraf/iraf/unix/hlib
or something like that)
examine themkpkg.inc
file, it has a bunch of settings for the compiler and linker, the key is to modify the ones run under your brand of linux (Fedora Core is "redhat" here), edit to add "-m32" to the XFLAGS and LFLAGS so they look something like this:
$set XFLAGS = "-c -w -m32" # default XC compile flags
$set XVFLAGS = "-c -w" # VOPS XC compile flags
$set LFLAGS = "-Nz -m32" # default XC link flags
-
RVSAO (version 2.7.6 or later):To compile RVSAO, just do the following within IRAF:
cd rvsao
(replace
mkpkg macintelmacintel
withmacosx
if PPC mac,redhat
with Fedora Core Linux)
mkpkg update
If you get no nasty error messages, everything has compiled. If you have used any previous version of RVSAO, you should be aware there were some changes to parameters used by RVSAO functions. As such, I would strongly suggest you follow this install up with an
unlearn rvsao
to reset the parameters for RVSAO. This should avoid conflicts between parameters stored for the old version of RVSAO and the new RVSAO scripts.
-
WCSTools (Version 3.7.0 or later): To compile WCSTools, just do the following within IRAF:
cd wcstools
(replace
mkpkg macintelmacintel
withmacosx
if PPC mac,redhat
with Fedora Core Linux)
Scisoft users:Scisoft includes an installation of wcstools as well. It is typically a bit dated though, but since it is there, you need to make sure to place the binaries for this installation of wcstools before the ones for Scisoft's installation in your PATH. More on this below.
64-bit Linux user warning: Before continuing to the next step, edit the CFLAG line in Src/Makefile to add the "-m32" flag to the end of CFLAG so that the compiled binaries are 32-bit.
mkpkg update
If you use WCSTools 3.7.0 through 3.7.3, this command will likely choke at the very end when all the packages are compiled with an error message starting
Lnkbins: Command not found
Linkbins is a script in theSrc/
subdirectory, so just type (in IRAF):
!./Src/Linkbins
and it should create all the symbolic links it needs in thebin/
subdirectory.
-
SVDFit (Version 1.9.2 or later): To compile SVDFit, just do the following within IRAF:
cd svdfit
(replace
mkpkg macintelmacintel
withmacosx
if PPC mac,redhat
with Fedora Core Linux)
mkpkg update
If you get no nasty error messages, everything has compiled and you are set.
-
Hectospec (Version 3.5.8 or later): To compile Hectospec, just do the following within IRAF:
cd hectospec
(replace
mkpkg macintelmacintel
withmacosx
if PPC mac,redhat
with Fedora Core Linux)
mkpkg update
If you get no nasty error messages, everything has compiled. If you are upgrading from a previous version of hectospec, I would strongly suggest that after installing it, relaunch IRAF and type
hectospec
and then
hrelearn
to retrain the parameter files to know about (you may have to hit enter a few time to clear some default filenames, ifhrelearn
chokes on a numerical parameter, ctrl-C and re-execute it, it should stick on the second pass).
Finally, you have to do one more thing. Hectospec needs to wants its own link to theapextract
executable, so you need to place a symbolic link to it in the binary directory of the hectospec package. Do the following from the command line (OUTSIDE of IRAF):
cd /usr/local/iraf/hectospec/bin
[on MacIntel with Scisoft OSX installed (versions of Scisoft OSX Intel after and including 2008.8.1)]
ln -s /Applications/scisoft/all/packages/iraf/irafbin/noao.bin.macintel/x_apextract.e .
[on PPC Mac with Scisoft OSX installed]
ln -s /scisoft/iraf-2.12.2/irafbin/noao.bin.macosx/x_apextract.e .
[on Linux box with ESO Scisoft 7 installed]
ln -s /scisoft/share/iraf/irafbin/noao.bin.redhat/x_apextract.e .
[on other versions of IRAF]
Find theirafbin/
directory, then place a symbolic link to the thenoao.bin/*/x_apextract.e
executable in thehectospec/bin
directory.
-
RVSAO (version 2.7.6 or later):To compile RVSAO, just do the following within IRAF:
At this point, assuming everything has worked, you have all the IRAF utilities you will need to run SPECROAD external installed. Now all you need to do is install some command line programs.
-
Download some command line utilities used by Hectospec.
-
kfunc:These are some time-manipulation scripts used by SPECROAD. Just download kfunc.tar.gz and in the same directory type:
tar -C /usr/local -xzvf kfunc.tar.gz
This will unpack the contents into/usr/local/kfunc
. I am assuming you have permission to write to/usr/local
, if you don't, fix this before proceeding.
-
mktime: Download mktime.tar.gz (CFA mirror) and compile it. This contains some other time-manipulation scripts used by SPECROAD. To compile mktime, go to that directory you downloaded the tarball into and in the command line type:
tar -xzvf mktime.tar.gz
cd mktime-2.3
./configure
make
make tests
And if no errors are reported,
make install
Once you have done this, the "mktime
" executable is placed in/usr/local/bin
and the manpage is placed in/usr/local/man/man1/
.
-
starbase: Download starbase 3.3.9 or later (I used 3.3.9 in this example) and unpack it to /usr/local by going to the directory where you downloaded the tarball and typing:
Before you try to compile the code, you need to be aware of a couple of things. Starbase is a custom database package the SPECROAD scripts use (it manipulates databases stored as ASCII). Starbase requires you to have previously installed either
tar -C /usr/local -xzvf starbase3.3.9.tar.Z
- the stripped down version of the SLAlib positional astronomy library compiled from the source provided in the download (called
sla_starbase
). This can be compiled via a standardmake
followed bymake install
assuming you have permissions to install into/usr/local
. - the complete C version of the SLAlib positional astronomy library from TPoint Software. This library is proprietary, but available for free for non-commercial use by contacting Pat Wallace (ptw@tpsoft.demon.co.uk). Pat Wallace would greatly prefer you use the stripped down version of the library that is provided unless you have a compelling reason to get the entire library.
Tell starbase where the SLAlib libraries and headers are located. I have them in/usr/local
, so:
setenv SLALIB /usr/local/lib/
setenv SLAINC /usr/local/include/
(you can also do this in your.tcshrc
file, which is what I do).
Making sure your environment is properly set, you can now compile starbase.
cd /usr/local/starbase3.3.9
./configure --prefix=/usr/local/starbase3.3.9
make
make install
Linux Specific Note: If the install fails on a Linux box, make sure you havebison
installed.
Now, there is an issue (at least in starbase3.3.9) where the slalink shared library portion of starbase doesn't get built properly, so you need to do the following:
cd /usr/local/starbase3.3.9/slalink
make slalink.so
cp slalink.so ../lib
That will create the shared libary that is called by the starbase program "tawk" in the E-SPECROAD scripts. Once you are done with this, create a symbolic link from/usr/local/starbase
to/usr/local/starbase3.3.9
via the command line
ln -s /usr/local/starbase3.3.9 /usr/local/starbase
The E-SPECROAD scripts look in/usr/local/starbase
for some of the starbase binaries.
A Quick Note of Thanks to John Roll at SAO who fixed up the starbase code to compile under MacOS 10.5 on Intel Macs.
- the stripped down version of the SLAlib positional astronomy library compiled from the source provided in the download (called
-
kfunc:These are some time-manipulation scripts used by SPECROAD. Just download kfunc.tar.gz and in the same directory type:
- Tweak your command line environmental settings to be aware of all this code you installed. I modified my
.tcshrc
file to include the following (and it must do so after any commands that activate Scisoft):
# Setup all local Apps I use
setenv PATH ${PATH}:/usr/local/bin
# Setup IRAF environment (Mac specific)
setenv XC_F77 g77
setenv XC_FFLAGS "-fugly-logint"
# Setup IRAF environment
setenv UPARM ~/iraf/uparm/
# Setup SLALib
setenv SLALIB /usr/local/lib/
setenv SLAINC /usr/local/include/
# Setup SAO's environmental variables commands
setenv PATH /usr/local/starbase/bin/:/usr/local/iraf/wcstools/bin/:${PATH}setenv PATH ${PATH}:/usr/local/hectoshell/
setenv TABLELIB /usr/local/starbase/lib/
I like to place the starbasebin/
directory at the start of the PATH because 'column' is a common executable name and I really want starbase's version ofcolumn
to be used. I similarly placed the wcstoolsbin/
directory before my preexisting PATH so that the newly installed wcstools binaries would be used instead of the ones included with scisoft.
I should also note I have my IRAF settings in a subdirectory of my home directory called 'iraf'. SPECROAD will need to know about where the IRAF parameters are stored, so the UPARM line points to the uparm subdirectory of my personal IRAF directory. Also,/usr/local/hectoshell
is where I keep the SPECROAD code, so I have added that to the path above.
WARNING for Linux Users: The above "XC_*" environmental variables should only be set on the Mac and NOT under Linux. Linux will use the f2c compiler within IRAF. Linux users should still set up UPARM to point to their local IRAF parameter directory.
Installing E-SPECROAD Itself
OK, you have done most of the hard work if you have gotten this far, at this point, getting E-SPECROAD working on your machine should be fairly staightforward.
-
Install the E-SPECROAD scripts directory (called hectoshell). Start by downloading the following tarball (if more than one is listed, pick the one that makes the most sense):
\n"; foreach ($tgzsmlink as $insert) { print " - ";
echo $insert;
print "\n";
}
print "\n";
?>
Unpack this directory into/usr/local/hectoshell
by going to the directory where you downloaded the tarball and typing (if , for example, you downloaded ):
tar -C /usr/local -xzvf
Hint: As you may have guessed from the filenames, one version of the hectoshell code is aimed at MacOS X and the other Linux (specifically Scientific Linux with/usr/bin/ksh
installed and ESO Scisoft 7 version of IRAF installed).
-
Change the E-SPECROAD scripts to make them work for you. First things first, E-SPECROAD is NOT 100% portable in that just unpacking it is not enough. However, the modifications you may need to perform to get E-SPECROAD running should be fairly minor.
-
Make sure that all references to 'ksh' point to your version of ksh. Since I am using the MacPorts installed version of ksh, all the ksh scripts in the Macintosh version of the hectoshell start with the line
#!/opt/local/bin/ksh
(The Linux version has this set to#!/usr/bin/ksh
, but in Fedora Core Linux it should point to#!/bin/ksh
). A good text editor with multi-file search and replace capability (TextWrangler is an example of a free program on the Mac with this capability) should allow you to edit this realtively quickly.
-
Make sure all the scripts that call IRAF point to the proper ecl executable. Since I am using /scisoft on an Intel-based Macintosh, The Mac version of these scripts start with the line
#!/scisoft/all/packages/iraf/irafbin/bin.macintel/ecl.e -f
The linux versions assume ESO Scisoft 7 is installed and start with
#!/scisoft/share/iraf/irafbin/bin.redhat/ecl.e -f
Again, a good search and replace of this with a link to the version of ecl you are using should be sufficient.
-
Make sure that all references to 'ksh' point to your version of ksh. Since I am using the MacPorts installed version of ksh, all the ksh scripts in the Macintosh version of the hectoshell start with the line
-
Some Double-checking for common glitches: Here are some quick double checks you can perform to be sure everything is installed properly before you attempt to use the E-SPECROAD scripts.
- Start up a new command line session to load the new
.tcshrc
you set up. Make sure that the command
printenv SHELL
returns something like/bin/tcsh
(something ending intcsh
), otherwise, you may have to launchtcsh
manually (review step 2 for instructions on changing your default shell).
- Your environment, if properly set up, should allow you to try the following commands. If you get an error in any of these, check your
.tcshrc
file (review step 9 above).- Typing
printenv UPARM
should return the path to youruparm/
directory. - Typing
printenv SLALIB
should return what you configured in your.tcshrc
file for this variable. - Typing
printenv SLAINC
should return what you configured in your.tcshrc
file for this variable.
- Typing
- Make sure the starbase version of the column task is the one that you use by default by typing:
which column
The path to the starbase3.3.9 version ofcolumn
should be returned. If it is the X11 version ofcolumn
, you need to check that you set up your.tcshrc
file properly (review Step 9 above).
- Make sure the version of the wcstools you are using is the one you installed above (instead of a scisoft version), type
which gethead
The path to the version ofgethead
installed with wcstools above should appear. If it is the scisoft version, you need to change your PATH to have the directory containing your newly install wcstoolsbin/
directory to preceed the scisoftbin/
path.
- Launch IRAF and confirm you can load the packages you installed by loading the three packages one at a time by typing:
wcstools
rvsao
hectospec
If those packages load, you should be at least minimally OK with the IRAF install.
- Start up a new command line session to load the new
- You should now have a functioning version of E-SPECROAD running on your computer. Please send a short email to
if you get a successful installation (or not).
Footnotes on Insalling SciSoft
(*) Installing ESO Scisoft 7 on Scientific Linux 5.3: To get ESO Scisoft 7 installed under Scientific Linux 5.3 I was inspired by the hints provided here to do the following:
- Set SELinux to be Disabled (since it is incompatible with some Scisoft components)
- Install the "Extra Packages for Enterprise Linux" software repository so certain additional libraries needed by Scisoft can be installed. This can be done from the command line using
rpm -ivh http://download.fedora.redhat.com/pub/epel/5/i386/epel-release-5-3.noarch.rpm
- Then I installed SDL and Lesstif support using the commands:
rpm -ivh ftp://ftp.eso.org/scisoft/scisoft7/linux/sl5-extras/SDL_image-1.2.5-4.fc6.i386.rpm \
ftp://ftp.eso.org/scisoft/scisoft7/linux/sl5-extras/SDL_ttf-2.0.8-2.fc6.i386.rpm \
ftp://ftp.eso.org/scisoft/scisoft7/linux/sl5-extras/lesstif-0.95.0-20.fc6.i386.rpm
- At this point I could install Scisoft from the online repository by following their standard instructions.
(**) Installing ESO Scisoft 7 on Fedora Core 9: To get ESO Scisoft 7 installed under Fedora Core 9 I had to
- Set SELinux to be Disabled (since it is incompatible with some Scisoft components)
-
I then used the instructions here for installing from RPMs using the
--nodeps
flag to "force" the install of the RPMs. Once that was done, it just became a challenge of finding all the right libraries (the hard one was the obsolete libtermcap library) to allow the Scisoft installation of IRAF to run under Fedora Core 9. That done, IRAF just fine).
Funding: The creation of E-SPECROAD was supported by National Science Foundation Grant AST-0729989 ("RUI: Collaborative Research to Map the Asymmetric Thick Disk").