Differences between revisions 57 and 58
Deletions are marked like this. Additions are marked like this.
Line 43: Line 43:
If you need to install the software, it can be found here: <[[http://xquartz.macosforge.org/landing/>|http://xquartz.macosforge.org/landing]]>. If you need to install the software, it can be found here: <[[http://xquartz.macosforge.org/landing/|http://xquartz.macosforge.org/landing]]>.
Line 47: Line 47:
A Gfortran library is needed. The HPC version was used for our build, and we recommend using this. To get this library, download and install HPC gfortran <[[http://hpc.sourceforge.net/>|http://hpc.sourceforge.net/]]>. Please follow the installation instructions at that site. You will need to go to the command line to unpack the software into root. (your browser may offer to unpack the software for you, but it is unlikely to install it into root correctly) A Gfortran library is needed. The HPC version was used for our build, and we recommend using this. To get this library, download and install HPC gfortran <[[http://hpc.sourceforge.net/|http://hpc.sourceforge.net/]]>. Please follow the installation instructions at that site. You will need to go to the command line to unpack the software into root. (your browser may offer to unpack the software for you, but it is unlikely to install it into root correctly)
Line 57: Line 57:
Otherwise, you can install to this location using homebrew <[[http://brew.sh>|http://brew.sh]]> (a mac package manager). If you have installed homebrew, the commandline command to install libjpeg is: Otherwise, you can install to this location using homebrew <[[http://brew.sh|http://brew.sh]]> (a mac package manager). If you have installed homebrew, the commandline command to install libjpeg is:

Starlink Software Collection - Download and Install 2014A

2014A release notes

Four distributions of the 2014A release of the Starlink Software Collection are available:

To check the MD5 checksum of your downloaded file, run either the md5sum, md5, or md5deep command, depending on which you have installed.

The above Linux distribution is built on glibc 2.5. Older versions of glibc will not work and are currently not supported. To check your glibc version, type "rpm -qi glibc" on RedHat-related distributions.

Parties interested in releases for other platforms (i.e. Solaris) can email <stardev AT SPAMFREE jach DOT hawaii DOT edu>. Please note that the Joint Astronomy Centre only runs Linux operationally and can only devote time and resources to Linux builds; all others (including those not listed here) are supported on a best-efforts basis. For those users still at CentOS 5 (or equivalent Linux) or Mac OS X 10.6 (Snow Leopard) nightly builds of the cutting-edge version are still available.

Installation instructions

Linux

The tar file will unzip into a star-2014A/ directory in the directory where you downloaded the tar file. This release can be placed anywhere. When using the software, set the STARLINK_DIR environment variable to the location of the star-2014A/ directory, i.e. if you had unzipped it into a /home/person/software directory, then the STARLINK_DIR environment variable would be set to /home/person/software/star-2014A.

On some systems you may need the libg2c.so library. On Fedora Core (and presumably all Red Hat-derivative systems) this can be found in the compat-gcc-32 RPM. On Ubuntu (and presumably all Debian-derivative systems) this can be found in the libg2c0 package.

The 64-bit release requires glibc 2.5 and fairly recent versions of the X11 libraries (7.1 or higher). An up-to-date Gentoo, Fedora Core 6, or OpenSUSE 11, Mint are distributions that are known to work. We welcome reports of successful installation on other distros.

OS X

1) Relocate the star-2014A to the root directory.

The tar file will unzip into a star-2014A directory in the directory where you downloaded the tar file.

This star-2014A directory must be moved to the root directory of your computer to work!

To do this, go into the directory where you downloaded the tar file and run the following command:

sudo mv star-2014A / 
  • (If you prefer, you can create a /star-2014A softlink pointing to the installation location.)

2) An up-to-date XQuartz X11 distribution must be installed.

If you already have XQuartz installed, run the application (which is installed like a normal application) and go to the top menu and select: X11->Check for X11 updates.

If you need to install the software, it can be found here: <http://xquartz.macosforge.org/landing>.

3) GFortran

A Gfortran library is needed. The HPC version was used for our build, and we recommend using this. To get this library, download and install HPC gfortran <http://hpc.sourceforge.net/>. Please follow the installation instructions at that site. You will need to go to the command line to unpack the software into root. (your browser may offer to unpack the software for you, but it is unlikely to install it into root correctly)

After installing this, please check that you have a libgfortran.dylib in /usr/local/lib .

MOUNTAIN LION USERS: there are currently two different versions of gfortran on this HPC site which you can install. The Mavericks build depends on the Mavericks/Mountain Lion gfortran Version 4.8 from that site. If you install the Mountain Lion/Lion gfortran Version 4.7 you will need to install the Lion version of Starlink.

4) Libjpeg.

We have a dependency on libjpeg, and the libjpeg.dylib will need to be present in /usr/local/lib/ on your computer to use starlink. If this has already been installed on your computer by another package manager software, you could copy the libjpeg.dylib files to /usr/local/lib/ manually.

Otherwise, you can install to this location using homebrew <http://brew.sh> (a mac package manager). If you have installed homebrew, the commandline command to install libjpeg is:

brew install libjpeg

Post-installation Run-up

To set up your environment for use with the Starlink Software Collection, first set the STARLINK_DIR environment variable to the location of the star-2014/ directory. For example, if you downloaded the tarball to /home/person/software and unzipped it there, the STARLINK_DIR environment variable to /home/person/software/star-2014A. It is recommended that you edit the star-2014A/etc/login, star-2014A/etc/cshrc and star-2014A/etc/profile files to set this environment variable at the top of each file.

To use the Starlink Software Collection on csh and related shells (like tcsh), source $STARLINK_DIR/etc/login and $STARLINK_DIR/etc/cshrc. On sh and related shells (like bash), source $STARLINK_DIR/etc/profile.

ORAC-DR for WFCAM

Because of the large size of WFCAM calibration files, they have been split off from the main download tarballs, as not everybody will be reducing WFCAM data using ORAC-DR. These calibrations can be downloaded here (901MB .tar.gz). The tar file will unzip into a wfcam/ directory in the directory you downloaded the tar file to. To install these calibration files, copy the directory into the $STARLINK_DIR/bin/oracdr/cal/ directory, thus creating the $STARLINK_DIR/bin/oracdr/cal/wfcam/ directory containing the calibration files.

This file has not changed for the 2014A release, so if you downloaded it for intervening releases after the lehuakona release, you need not download it again. ,

Starlink: 2016ADownload (last edited 2016-11-16 19:47:07 by GrahamBell)