Installation

This page provides a guide to the installation of the cWB pipeline.

Note

The easiest ways to start using cWB on your computer are:

  • conda-forge: cWB is available as a conda-forge package. It can be installed with:

    conda install -c conda-forge cwb
    
  • IGWN conda: cWB is included in the IGWN conda distribution.

  • Docker: cWB can be run inside a Docker container. Instructions are reported in the FAQs here.

Before installing cWB, all the needed auxiliary libraries have to be already installed.

LVK : cWB libraries are already pre-installed on the LIGO-Virgo clusters together with the auxiliary libraries. In case you want to compile a specific version or make some changes to the code, you can use the pre-installed auxiliary libraries and go directly to cWB install.

Attention

cWB libraries have been tested mainly on Rocky Linux and Debian Linux distributions (though we don’t expect major problems from installing cWB on different Linux distributions). cWB can also be installed on Mac OS X x86_64 (with some minor modifications). OSX on ARM (Apple Silicon) is not supported.

How to install the auxiliary libraries

First, the directories where the packages will be installed must be created:

setenv HOME_LIBS "user libraries path"
mkdir $HOME_LIBS
cd $HOME_LIBS
mkdir ROOT FRAMELIB HEALPix CFITSIO LAL CVODE SKYMAP WAT
  1. ROOT is an object oriented framework for large scale data analysis

  2. HEALPix is an acronym for Hierarchical Equal Area isoLatitude Pixelization of a sphere

  3. CFITSIO is a library of C and Fortran subroutines for reading and writing data files in FITS (Flexible Image Transport System) data format

  4. FRAMELIB is a software (Frame Library) dedicated to the frame manipulation including file input/output

  5. LAL is a package including various gravitational wave data analysis routines

  6. CVODE (used by eBBH) solves initial value problems for ordinary differential equation (ODE) systems

The following table reports the list of the auxiliary libraries and their instructions:

ROOT

mandatory

FRAMELIB

mandatory

HEALPix

mandatory

CFITSIO

mandatory

needed by HEALPix

LAL

optional

needed for CBC simulation

CVODE

optional

needed by eBBH simulation

SKYMAP

optional

produce skymap-display

How to install the cWB libraries

Two scenarios are considered:

  1. The user wants to perform an analysis with a local copy of the cWB libraries: Installing a local copy of the cWB libraries.

    Note

    recommended for users willing to use a specific version and/or customize the libraries

  2. The user wants to perform an analysis with the libraries already installed in the LVK computing clusters LVK

    Attention

    Pre-installed libraries could be outdated and may be changed without any notice. If you need a specific version you have to install a local copy of the cWB library

    The cWB libraries are available in the following computing clusters: CIT and CNAF. The pre-installed libraries can be used by running the cWB configuration file. The environment is set up as follows (assuming bash shell):

    source $HOME_LIBS/GIT/cWB/library/[cit/cnaf]_watenv.sh
    cp $HOME_LIBS/GIT/cWB/library/tools/cwb/cwb.rootrc ~/.rootrc
    

    The $HOME_LIBS path depends on the cluster:

    CIT:  /home/waveburst/SOFT
    CNAF: /opt/exp_software/virgo/virgoDev/waveburst/SOFT
    
    For the tcsh shell, replace *_watenv.sh with *_watenv.csh.