Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
8cc2b84
fix a pytest
Jun 16, 2023
27a2dc8
Merge remote-tracking branch 'upstream/master' conda release 2.1.4
Jun 16, 2023
b42cb82
add toml
Jul 8, 2023
9713877
Merge remote-tracking branch 'upstream/master'
Jul 8, 2023
4ef43d7
fix unintended mod to toml file. (I blame my cat)
Jul 8, 2023
ff66450
add toml
Jul 8, 2023
b80a95b
fix unintended mod to toml file. (I blame my cat)
Jul 8, 2023
95e29f6
Merge branch 'master' of github.com:areeda/hveto
areeda Mar 8, 2024
8a2a06c
Merge remote-tracking branch 'upstream/master'
areeda Dec 3, 2024
7ed22c9
Update github actions
Mar 11, 2025
06c66c4
Update html tests
Mar 11, 2025
b3d06fd
Add dependabot configuration file for github actions
Mar 11, 2025
43a1d6f
Add support for SNAX triggers (#170)
dethodav Apr 28, 2025
5bc2650
align masterwith upstream
Jul 31, 2025
0945feb
weekly_hveto.py ready for testing
Aug 8, 2025
c334691
weekly_hveto.py ready for testing, fix pyproject.toml
Aug 8, 2025
18f0503
weekly_hveto fix dag max jobs,add copy of log messages to file
Aug 9, 2025
fd20b22
weekly_hveto fix dag max jobs,add copy of log messages to file, add m…
Aug 9, 2025
8b0cf82
DAG retry added, fixed count of jobs
Aug 9, 2025
2d6faf8
DAG retry added, fixed count of jobs, use all_nodes
Aug 9, 2025
6846697
Add timeout tojob's run script, submit DAG by defult
Aug 12, 2025
0c50b91
Add crondor templates Tweak weeky dag submission
Aug 14, 2025
a3bd197
update pyproject.toml or depecation
Aug 14, 2025
15950db
update pyproject.toml for new license specification rules
Aug 14, 2025
6657a9d
move condor examples to docs
Aug 14, 2025
a15b623
move condor examples to docs
Aug 14, 2025
60ffad8
condor_submit_dag had arguments out of order
Aug 15, 2025
74ed21d
Merge branch 'gwdetchar:master' into weekly
areeda Aug 25, 2025
5682e9b
add daily runs and allowance for omega batch
Sep 21, 2025
5236570
updeate submit file exmples and dag submit command
Sep 22, 2025
10a6bfa
dea iwth daily subdirectoree and latest symlink
Sep 22, 2025
3442850
dea iwth daily subdirectories and latest symlink
Sep 22, 2025
513ec01
fix script pre statement in dag
Sep 22, 2025
e7cf6d4
fixing omega scan dag messiness
Sep 22, 2025
b7e369f
fixing omega scan dag messiness again
Sep 22, 2025
58b05da
fixing omega scan dag messiness again
Sep 22, 2025
a9b6e73
workin on omega scan prevscript
Sep 23, 2025
f3bccc0
omega batch DAG uses relative paths so we set the initial working dir…
Sep 23, 2025
83f42b8
omega batch DAG uses relative paths so we set the initial working dir…
Sep 23, 2025
856ac22
omega batch DAG uses relative paths so we set the initial working dir…
Sep 23, 2025
f7ba584
omega batch DAG uses relative paths so we set the initial working dir…
Sep 23, 2025
b678672
Fix dag_dir when all default parameter.
Sep 24, 2025
c7adbe1
set accounting user environment variable
Sep 25, 2025
56344ad
Correct batch name for multiple runs
Sep 25, 2025
5d6cdc3
Add duration to batch name
Sep 25, 2025
efe50e0
Change --today's start, end to gps from date time becaus I couldn't f…
Sep 26, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions README_hveto_run.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
==============================
Scheduled runs and backfilling
==============================

At the LIGO Hanford and Livngston interferometer sites
hveto is scheduled to run 4 times per day:

- Every 8 hours covering from 00:00 UTC to 08:00, 16:00,
and 00:00 UTC the next day.
- Once a day covering the previous 7 (UTC) days

There are other situations where multiple runs are needed
such as backfilling a time when problems prevented the
normally scheduled run.

`hveto_run` is a program used to create and [optionally]
submit condor jobs to hveto.

2 changes: 2 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,5 @@ proposing additions/changes.
:target: https://codecov.io/gh/gwdetchar/hveto
.. |Documentation Status| image:: https://readthedocs.org/projects/hveto/badge/?version=stable
:target: https://hveto.readthedocs.io/en/stable/?badge=stable

.. inlcude README_hveto_run.rst
9 changes: 9 additions & 0 deletions docs/Condor/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
This directory contains tempplates for Condor cron jobs to run hveto
on a daily basis as used by the Detchar account.

These templates are used to create the actual ssubmit files in

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor typo

Suggested change
These templates are used to create the actual ssubmit files in
These templates are used to create the actual submit files in

${HOME}/etc/ligo-monitors/condor

- hveto-daily.sub - runs 3 times per day over 8, 16, and 24 hrs since 00:00 UTC
- hveto-weekly.su - runs once per day and covers the previous 7 days from
00:00 to 00:00 UTc
Comment on lines +8 to +9

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- hveto-weekly.su - runs once per day and covers the previous 7 days from
00:00 to 00:00 UTc
- hveto-weekly.sub - runs once per day and covers the previous 7 days from
00:00 to 00:00 UTC

41 changes: 41 additions & 0 deletions docs/Condor/hveto-daily.sub
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
#
# Condor submit file for Hveto weekly processing
# it runs inn the local universe creates and submits a DAG to the vbanilla universe
#

universe = local

executable = /cvmfs/software.igwn.org/conda/condabin/conda
arguments = 'run --prefix /home/detchar.dev/.conda/envs/ligo-summary-3.11-test timeout 30m hveto-run -vv --today --omega-scans 5'

accounting_group = ligo.prod.o4.detchar.dqtriggers.hveto
accounting_group_user = joseph.areeda

request_memory = 2GB
request_disk = 5GB

output = $ENV(HOME)/public_html/hveto-weekly/logs/hveto-weekly.out
error = $ENV(HOME)/public_html/hveto-weekly/logs/hveto-weekly.err
log = $ENV(HOME)/public_html/hveto-weekly/logs/hveto-weekly.log

batch_name = "daily hveto [cron] ID: $(ClusterId)"

on_exit_remove = false
periodic_hold = false

cron_minute = 30
# we want run to be 8, 16 24 UTC with enough slack for omicron selected by local time at LLO (UTC -5 CDT)
# so LLO CDT -> 10, 18, 1 UTC. CST -> 11, 19, 2 UTC
# LHO PDT (UTC - 7) -> 12, 20, 4 UC. PST - 13, 21, 5 TC
cron_hour = 5, 13, 21

cron_day_of_month = *
cron_month = *
cron_day_of_week = *
cron_window = 2400

use_oauth_services = scitokens
environment = BEARER_TOKEN_FILE=$$(CondorScratchDir)/.condor_creds/scitokens.use

getenv = DEFAULT_SEGMENT_SERVER ECP_IDP GWDATAFIND_SERVER HDF5_USE_FILE_LOCKING HOME KRB5CCNAME NDSSERVER KRB5_KTNAME CONDA_PREFIX IFO USER
queue
40 changes: 40 additions & 0 deletions docs/Condor/hveto-weekly.sub
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
#!/usr/bin/env condor_submit
#
# Condor submit file for Hveto weekly processing
# it runs inn the local universe creates and submits a DAG to the vanilla universe
#

universe = local

executable = $(my.conda_exe)
arguments = 'run --prefix $(my.conda_prefix)) timeout 30m hveto-run -vv --omega-scans 2'

accounting_group = ligo.prod.o4.detchar.dqtriggers.hveto
accounting_group_user = <user name valid for account>

request_memory = 2GB
request_disk = 5GB

output = $ENV(HOME)/public_html/hveto-weekly/logs/hveto-weekly.out
error = $ENV(HOME)/public_html/hveto-weekly/logs/hveto-weekly.err
log = $ENV(HOME)/public_html/hveto-weekly/logs/hveto-weekly.log

batch_name = "weekly hveto [cron] ID: $(ClusterId)"

on_exit_remove = false
periodic_hold = false

# We run ths in the Central and Pacific time zones standard and daylght savings
# We want to give the daily gap filler
cron_hour = 23
cron_minute = 17
cron_day_of_month = *
cron_month = *
cron_day_of_week = *
cron_window = 2400

use_oauth_services = scitokens
environment = BEARER_TOKEN_FILE=$$(CondorScratchDir)/.condor_creds/scitokens.use

getenv = DEFAULT_SEGMENT_SERVER ECP_IDP GWDATAFIND_SERVER HDF5_USE_FILE_LOCKING HOME KRB5CCNAME NDSSERVER KRB5_KTNAME CONDA_PREFIX IFO USER
queue
4 changes: 3 additions & 1 deletion hveto/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,8 @@ def make_drop_table(oldsignificances, newsignificances, out_file=None, cutoff=1.
post.append(float('nan'))

drop_table = EventTable([channels, pre, post], names=['channels', 'pre_significance', 'post_significance'],
dtype=[f'<U{chan_max_chars}', np.float64, np.float64] )

dtype=[f'<U{chan_max_chars}', np.float64, np.float64])
drop_table.sort('pre_significance', reverse=True)
col_formats = {'channels': f'{chan_max_chars}s', 'pre_significance': '{:8.2f}', 'post_significance': '{:8.2f}'}
drop_table.write(out_file, format='ascii.fixed_width', overwrite=True, formats=col_formats)
Expand Down Expand Up @@ -647,6 +648,7 @@ def main(args=None):
signidir,
'%s-HVETO_SIGNIFICANT_CHANNELS_ROUND_%d-%d-%d.txt' % (ifo, rnd.n - 1, start, duration))
sig_drop_table = make_drop_table(oldsignificances, newsignificances, sigfile)
LOGGER.debug(f"Significance drop table written to {sigfile} with {len(sig_drop_table)} rows")
rounds[-1].files['SIG_TBL'] = sigfile
LOGGER.info(f"Significance events written to {Path(sigfile).absolute()}")
svg = (pngname % 'SIG_DROP').replace('.png', '.svg') # noqa: F821
Expand Down
Loading
Loading