Installation

Conda Installation

The simplest means of installing Gravelamps is via the conda package manager. The latest tagged release of Gravelamps is maintained within the conda-forge channel and may be installed with

conda install -c conda-forge gravelamps

Docker Containers

Note

To use the docker containers requires the ability to sign into LVK Collaboration services

A docker container containing the latest tagged release of Gravelamps for the currently supported versions of python are located at

containers.ligo.org/gravelamps/gravelamps:python-${VERSION}

replacing ${VERSION} with the desired python version, e.g. 3.12. An example of how to pull and run the container would be

docker login containers.ligo.org
docker pull containers.ligo.org/gravelamps/gravelamps:python-3.12
docker -i -t containers.ligo.org/gravelamps/gravelamps:python-3.12 /bin/bash

Manual Installation

Manual installation whilst more difficult has been written to be as easily done as possible. To begin, clone the git repository

git clone git@git.ligo.org:gravelamps/gravelamps.git

Next ensure that the following requirements are installed.

  1. make

  2. cmake

  3. g++ (This is included in the cxx-compiler package for conda users)

  4. libflint

  5. openmp (Specifically libgomp)

  6. boost

  7. python >= 3.10

  8. pip

With the pre-requisites installed, the next step is to build and install the Gravelamps C++ code. This may be done as following from within the Gravelamps repository folder

cmake -B build src
cmake --build build --target install

If installing in a conda environment, in the first line, please also include the argument -DCMAKE_INSTALL_PREFIX=${CONDA_PREFIX} to ensure that Gravelamps is correctly installed within the environment. With the C++ code installed, the python code may be installed using the standard

pip install .