You are here: LIGOWiki>DASWG Web>Projects>LALSuite>LALSuiteInstall (13 Dec 2017, AdamMercer)EditAttach

LALSuite Installation Instructions

Installation instructions for LALSuite.

Overview

LALSuite is a collection of component packages, each of which is tagged, packaged, and released separately. See here for a list of those sub-packages.

The following instructions will outline how to install LAL, the core sub-package that is required for most/all of the others to run, but the installation instructions are the same for the others, so just replace lal with lalxxx as appropriate.

Installing the latest release using your OS package manager

Debian

Official instructions can be found at SoftwareDownloads.

To install on Debian 7 (codename 'jessie'), first add the LSCSoft repository to your system by adding creating /etc/apt/sources.list/lscsoft.listwith the following contents:

deb http://software.ligo.org/lscsoft/debian jessie contrib
deb-src http://software.ligo.org/lscsoft/debian jessie contrib

Then update your package lists as follows:

apt-get update
apt-get install lscsoft-archive-keyring

C

To install the core LAL package, install the lal package

apt-get install lal

Python

To install LAL with SWIG-bindings for python2 via

apt-get install lal-python

OR, for python3:

apt-get install lal-python3

Octave

To install LAL with SWIG-bindings for Octave, install the lal-octave package:

apt-get install lal-octave

Red-hat

Official instructions can be found at SoftwareDownloads.

To install on Scientific Linux 7, first download and install the RPM configuration for the LSCSoft repository:

wget http://software.ligo.org/lscsoft/scientific/7/x86_64/production/lscsoft-production-config-1.3-1.el7.noarch.rpm
rpm -ivh lscsoft-production-config-1.3-1.el7.noarch.rpm
yum clean all
yum makecache

C

You can install the core LAL package via

yum install lal

Python

To install LAL with the SWIG-bindings for Python, install the lal-python package:

yum install lal-python

Octave

To install LAL with the SWIG-bindings for Octave, install the lal-octave package:

yum install lal-octave

macOS

macOS support is provided via MacPorts, see the DASWG MacPorts wiki page for details on how this is configured for LALSuite.

C

To install the core LAL package, simply install the lal port:

sudo port install lal

Python

To install LAL with SWIG-bindings for Python, install the pyXY-lal port based on your X.Y version of Python:

sudo port install py27-lal

Octave

To install LAL with SWIG-bindings for Octave, install the octave-lal port:

sudo port install octave-lal

Installing the latest release by hand

You can identify the latest release by visiting http://software.ligo.org/lscsoft/source/lalsuite/ and identifying the most recent release tarball for your package. For example, as of April 18 2017, for lal that is

http://software.ligo.org/lscsoft/source/lalsuite/lal-6.18.0.tar.xz

You can then install this tarball manually as follows. First, set the following variables (for convenience), changing the values as appropriate:

LAL_VERSION="6.18.0"
LAL_INSTALL_PREFIX="${HOME}/opt/lalsuite"

Then you can download, compile, and install the package via:

builddir=`mktemp -d`
pushd $builddir
wget "http://software.ligo.org/lscsoft/source/lalsuite/lal-${LAL_VERSION}.tar.xz"
tar -xf lal-${LAL_VERSION}.tar.xz
pushd lal-${LAL_VERSION}
./configure --prefix=${LAL_INSTALL_PREFIX}
make
make install
popd
rm -rf ${builddir}

Installing from the git repository

The repository is hosted on the LIGO GitLab instance, please see the following wiki page for details on accessing repositories hosted here. The LALSuite repository also utilizes git-lfs for the management of large file so please ensure that you have configured git-lfs on your system.

You can then clone the repository using:

git clone git@git.ligo.org:lscsoft/lalsuite.git

You can also clone using the https interface but the above SSH URL is recommended as this is more rebust:

git clone https://git.ligo.org/lscsoft/lalsuite.git

If you are cloning anonymously then you must use the https URL.

You can then install LAL as follows:

LAL_INSTALL_PREFIX="${HOME}/opt/lalsuite"  # change as appropriate
pushd lal
./00boot
./configure --prefix=${LAL_INSTALL_PREFIX}
make
make install

-- DuncanMacleod? - 18 Apr 2017

Topic revision: r3 - 13 Dec 2017, AdamMercer
 

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding LIGOWiki? Send feedback