Skip to content
Snippets Groups Projects
Commit 773f87a5 authored by Shio Sakon's avatar Shio Sakon Committed by Shio Sakon
Browse files

doc/source/cbc_analysis.rst: updated tutorial with osg and icds gstlalcbc shared account info

parent d0f7ed57
No related branches found
No related tags found
1 merge request!303Updated cbc offline configuration tutorial
......@@ -11,6 +11,13 @@ All the below steps assume a Singularity container with the GstLAL software
stack installed. Other methods of installation will follow a similar
procedure, however, with one caveat that workflows will not work on the
Open Science Grid (OSG).
For a dag on the OSG IGWN grid, you must use a Singularity container on
cvmfs, set the ``profile`` in ``config.yaml`` to ``osg`` and make sure
to submit the dag from a OSG node.
Otherwise the workflow is the same.
For ICDS gstlalcbc shared accounts, the ``env.sh`` contents much be changed
and instead of running ``$ X509_USER_PROXY=/path/to/x509_proxy ligo-proxy-init -p albert.einstein``
run ``source env.sh``. (Details are below.)
Running Workflows
^^^^^^^^^^^^^^^^^^
......@@ -63,10 +70,9 @@ For example, to grab all the relevant files for a small BNS dag:
$ curl -O https://git.ligo.org/gstlal/offline-configuration/-/raw/main/configs/bns-small/config.yml
$ curl -O https://git.ligo.org/gstlal/offline-configuration/-/raw/main/env.sh
$ curl -O https://dcc.ligo.org/DocDB/0184/T2200318/002/gstlal_bank_small.xml.gz
$ curl -O https://dcc.ligo.org/DocDB/0184/T2200318/002/mass_model_small.h5
$ curl -O https://dcc.ligo.org/DocDB/0184/T2200318/002/H1L1-IDQ_TIMESERIES-1239641219-692847.h5
$ curl -O https://dcc.ligo.org/DocDB/0184/T2200318/002/inspiral_dtdphi_pdf.h5
$ conda activate igwn
$ dcc archive --archive-dir=. --files --i T2200318-v2
$ conda deactivate
Then move the template bank, mass model, idq file, and dtdphi file into their corresponding directories.
......@@ -156,6 +162,7 @@ You can select which profile to use in the ``condor`` section:
condor:
profile: ldas
For a OSG IGWN grid run, use ``osg``.
To view which profiles are available, you can run:
.. code:: bash
......@@ -196,6 +203,14 @@ to ensure you can get access to LIGO data:
Note that we are running this step outside of Singularity. This is because ``ligo-proxy-init``
is not installed within the image currently.
If you are running on the ICDS gstlalcbc shared account, do not run the command
above.
Instead, run:
.. code:: bash
$ source env.sh
Also update the configuration accordingly (if needed):
......@@ -210,6 +225,7 @@ Finally, set up the rest of the workflow including the DAG for submission:
$ singularity exec -B $TMPDIR <image> make dag
If running on the OSG IGWN grid, make sure to submit the dags from the OSG node.
This should create condor DAGs for the workflow. Mounting a temporary directory
is important as some of the steps will leverage a temporary space to generate files.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment