Installing LalSuite from Source

September 19, 2019 · 1 min read
posts

Steps

Step 0: Requirements

Module loads/things you might need:

module load git/2.18.0
module load git-lfs/2.4.0
module load anaconda3/5.1.0
module load gcc/6.4.0
module load openmpi/3.0.0
module load fftw/3.3.7
module load swig/3.0.12-python-3.6.4
module load framel/8.30
module load metaio/8.4.0
module load gsl/2.4

Step 1: Install lal

git clone git@git.ligo.org:lscsoft/lalsuite.git
mkdir lal_install_dir
cd lalsuite/lal
./00boot && ./configure --prefix=/<path to>/lal_install_dir/ && make && make install
. <path to>/lal_install_dir/etc/lal-user-env.sh

Step 2: Install lalsimulation

cd ../lalsimulation
./00boot && ./configure --prefix=/<path to>/lal_install_dir/ && make && make install
<path to>/lal_install_dir/etc/lalsimulation-user-env.sh

At this point, the installation should(?) work. Test it out in python:

cd ~
python
>>> import lalsimulation

Step 3: Get waveform data

cd ~/ & mkdir waveform_data
echo "export LAL_DATA_PATH=/<path_to_wave_data_dir>" >> .bash_profile

Copy the waveform data files and place them into this the waveform_data/ dir

Warning

Where do we get the waveform datafiles from again?

Test installation steps with the following script

Avi Vajpeyi
Authors
Avi Vajpeyi (he/him)
Postdoctoral Research Fellow
Avi works on Bayesian inference for gravitational-wave astrophysics. He is a postdoctoral research fellow at the University of Auckland, working with Prof. Renate Meyer. His research spans LVK parameter estimation and Bayesian noise modeling for LISA.