Setting up the SGNL online analysis¶
This document describes how to set up an online CBC analysis with SGNL.
Prepare container¶
Follow the installation guide and make a singularity container.
Install pastro¶
To run an online analysis with the sgnl-ll-pastro-uploader
, the pastro
repo needs
to be installed. A common practice is to install git repos under CONTAINER_NAME/src
.
git clone -b sgnl git@git.ligo.org:gstlal/pastro.git
cd pastro
pip install -e .
Build sif container¶
singularity build CONTAINER_NAME.sif CONTAINER_NAME
Prepare working directory¶
In your working directory, copy over the following files from the repo
-
config/online_dag.yml
:This is the config file for generating the online analysis workflow. Modify the config file options to setup the configuration. Note that the
container:
field shoud be thesif
container. -
config/cbc_db.yaml
:This is the config file for creating trigger databases.
Create Workflow¶
Workflows can be created by:
singularity exec CONTAINER_NAME sgnl-ll-dagger -c <online config file> -w <workflow>
Currently the supported online workflows are:
setup
- setup pre-generated files
setup-prior
- assume svd bank already available, setup prior diststats files only
inspiral
- the online analysis
Launch workflow¶
After creating a workflow, launch the dag:
condor_submit_dag <dag_name>.dag