Differences between revisions 15 and 29 (spanning 14 versions)
Revision 15 as of 2021-10-06 22:08:01
Size: 1354
Comment:
Revision 29 as of 2021-10-08 01:02:41
Size: 2384
Comment:
Deletions are marked like this. Additions are marked like this.
Line 11: Line 11:
conda create --name o4_dqr_proto python=3.8 -y
conda activate o4_dqr_proto -y
conda create --name o4_dqr_proto python=3.8
conda activate o4_dqr_proto
Line 17: Line 17:
conda install ciecplib -y conda install ciecplib
conda
install python-nds2-client
Line 23: Line 24:
$ wget http://www.lsc-group.phys.uwm.edu/lscdatagrid/doc/ldg-client.sh -O /tmp/ldg-client.sh && sudo bash /tmp/ldg-client.sh wget http://www.lsc-group.phys.uwm.edu/lscdatagrid/doc/ldg-client.sh -O /tmp/ldg-client.sh && sudo bash /tmp/ldg-client.sh
Line 31: Line 32:
$ ligo-proxy-init -i shibbi.pki.itc.u-tokyo.ac.jp albert.einstein ligo-proxy-init -i shibbi.pki.itc.u-tokyo.ac.jp albert.einstein
Line 36: Line 37:
  {{{
gracedb ping
  }}}
  {{{
grid-proxy-info
  }}}


== Generate DAG files ==
 * By following [[https://detchar.docs.ligo.org/dqrtasks/example-dqr.html#writing-configuration-files|instruction]], prepare ini files for DQR task manager.
  * This procedure will NOT require the access GraceDB, because the public alert will be used.
  * For test code, see {{{/users/yuzu/work/DQR/Script/o4-dqr-configuration:k1det1}}}

  {{{
mkdir ~/public_html/event
dqr-create-dag S190924h -v -c ex_configs/defaults.ini ex_configs/condor.ini ex_configs/stationarity.ini ex_configs/omega.ini
   }}}

 * The generated DAG files are located in {{{/home/controls/public_html/events/}}}
Line 37: Line 57:
$ gracedb ping
$ grid-proxy-info
ls /home/controls/public_html/events/
Line 40: Line 59:


== Submit DAG jobs ==

 * For example on k1det1

 {{{
cd /home/controls/public_html/events/
condor_submit_dag S190924h/data_quality_report_S190924h.dag
 }}}

 * Result plots and html are {{{~/public_html/eventsS190924h/omegascan/plots/}}} and {{{~/public_html/eventsS190924h/omegascan/about/index.html}}}

Task Manager

Installation

  • Yuzurihara prepared the virtual environment o4_dqr_proto on k1det1.

  • DQR tasks are supported by python 3.8
  • This procedure will require the authentication of git.ligo.org.

    • conda create --name o4_dqr_proto python=3.8
      conda activate o4_dqr_proto
      conda install M2Crypto -y
      pip install git+https://git.ligo.org/o4-dqr/o4-dqr-configuration.git
      pip install git+https://github.com/gwdetchar/gwdetchar.git
      pip install git+https://git.ligo.org/detchar/dqrtasks.git
      conda install ciecplib
      conda install python-nds2-client
  • install ligo-proxy-init, from the LDG Client package

    • wget http://www.lsc-group.phys.uwm.edu/lscdatagrid/doc/ldg-client.sh -O /tmp/ldg-client.sh && sudo bash /tmp/ldg-client.sh
  • X.509 certification
    • For the additional permission to access GraceDB, we need to ask LIGO+Virgo colleague.
    • There are two options for KAGRA account. Here Yuzurihara used ligo-proxy-init.

      ligo-proxy-init -i shibbi.pki.itc.u-tokyo.ac.jp albert.einstein   
    • To test the certification,
      gracedb ping
      grid-proxy-info

Generate DAG files

  • By following instruction, prepare ini files for DQR task manager.

    • This procedure will NOT require the access GraceDB, because the public alert will be used.
    • For test code, see /users/yuzu/work/DQR/Script/o4-dqr-configuration:k1det1

      mkdir ~/public_html/event
      dqr-create-dag S190924h -v -c ex_configs/defaults.ini ex_configs/condor.ini ex_configs/stationarity.ini ex_configs/omega.ini
  • The generated DAG files are located in /home/controls/public_html/events/

    • ls /home/controls/public_html/events/

Submit DAG jobs

  • For example on k1det1
    cd /home/controls/public_html/events/
    condor_submit_dag S190924h/data_quality_report_S190924h.dag
  • Result plots and html are ~/public_html/eventsS190924h/omegascan/plots/ and ~/public_html/eventsS190924h/omegascan/about/index.html

KAGRA/Subgroups/DET/DQR/TaskManager (last edited 2022-12-21 15:09:51 by HirotakaYuzurihara)