|
|
Instructions to install the [tgr-sme](https://git.ligo.org/tgr-sme/lalsuite/-/wikis/home) branch of LALSuite where modified dispersion due to spacetime symmetry breaking effects are implemented. <br/>
|
|
|
Aimed at compiling LALSuite in a conda virtual environment, tested on the LDG & CIT cluster. <br/>
|
|
|
Please report issues.
|
|
|
|
|
|
Generate an SSH key for the cluster (this only has to be done once).
|
|
|
|
|
|
- **Conda environment**
|
|
|
|
|
|
Create a conda environment for this LALSuite branch.
|
|
|
```
|
|
|
$ source /cvmfs/oasis.opensciencegrid.org/ligo/sw/conda/etc/profile.d/conda.sh
|
|
|
$ conda create --name tgr-sme python=3.8 c-compiler gsl lal make pkg-config python-lal libframel metaio swig openmpi
|
|
|
```
|
|
|
|
|
|
Activate the conda environment
|
|
|
```
|
|
|
$ conda activate tgr-sme
|
|
|
$ export PREFIX="${CONDA_PREFIX}"
|
|
|
$ export CONDA_BUILD="1"
|
|
|
$ conda activate tgr-sme
|
|
|
```
|
|
|
|
|
|
- **Downloading the LALSuite branch with SME effects**
|
|
|
|
|
|
While inside your lalsuite directory:
|
|
|
```
|
|
|
$ git clone -b tgr-sme git@git.ligo.org:tgr-sme/lalsuite.git
|
|
|
```
|
|
|
Note: if LALSuite was already downloaded, one can check that the correct branch is used. Navigate into your new lalsuite directory and use the command to list available branches, includingn the indication to which branch you are on:
|
|
|
```
|
|
|
$ cd lalsuite
|
|
|
$ git branch --all
|
|
|
```
|
|
|
If not (e.g you're on branch `master`), you can switch to the correct branch by using
|
|
|
```
|
|
|
$ git checkout tgr-sme
|
|
|
```
|
|
|
Where the address to the desired branch is shown as output from the previous command.<br/>.
|
|
|
|
|
|
- **Installing the LALSuite branch with modified dispersion effects**
|
|
|
|
|
|
Creating the configuration:
|
|
|
```
|
|
|
$ cd lalsuite
|
|
|
$ ./00boot
|
|
|
```
|
|
|
Compiling:
|
|
|
```
|
|
|
$ ./configure --prefix=${PREFIX} --enable-swig-python --enable-mpi
|
|
|
$ make -j20
|
|
|
$ make install
|
|
|
```
|
|
|
|
|
|
After a make and install, always source your lalsuite shell files, which for the current branch, is
|
|
|
```
|
|
|
$ source lalsuite-user-env.*
|
|
|
```
|
|
|
The ending type will depend on your system you use. Also note, these shell files are generated after a successful compile of make and install.
|
|
|
|
|
|
- **Contributing to the code**
|
|
|
|
|
|
Check that the new code is marked for change with:
|
|
|
```
|
|
|
$ git status
|
|
|
```
|
|
|
If the changes are not tracked, add the files with:
|
|
|
```
|
|
|
$ git add [modified_files]
|
|
|
```
|
|
|
Then commit and push the code:
|
|
|
```
|
|
|
$ git commit -m "[Insert commit log here]"
|
|
|
$ git push origin tgr-sme
|
|
|
```
|
|
|
|
|
|
- **Link to LDG Jupiter notebook with in-browser terminal**
|
|
|
- [Jupyter.ligo.caltech.edu](https://jupyter.ligo.caltech.edu) <br/>
|
|
|
- [Jupyter2.ligo.caltech.edu](https://jupyter2.ligo.caltech.edu) <br/> |