Skip to content
Snippets Groups Projects
Commit 07003a40 authored by Patrick Godwin's avatar Patrick Godwin
Browse files

gstlal_ll_inspiral_pipe: add analysis-tag option to name dag, update...

gstlal_ll_inspiral_pipe: add analysis-tag option to name dag, update Makefile.online_analysis to take in analysis tag, update min-instrument job
parent de37223d
No related branches found
No related tags found
No related merge requests found
......@@ -196,6 +196,7 @@ def parse_command_line():
# append all the datasource specific options
datasource.append_options(parser)
parser.add_option("--analysis-tag", metavar = "name", help = "Set the name of the analysis, used to distinguish between different DAGs running simultaneously.")
parser.add_option("--psd-fft-length", metavar = "s", default = 32, type = "int", help = "FFT length, default 32s. Note that 50% will be used for zero-padding.")
parser.add_option("--reference-psd", metavar = "filename", help = "Set the reference psd file.")
parser.add_option("--bank-cache", metavar = "filenames", help = "Set the bank cache files in format H1=H1.cache,H2=H2.cache, etc..")
......@@ -319,7 +320,11 @@ try: os.mkdir("logs")
except: pass
try: os.mkdir("gracedb")
except: pass
dag = dagparts.DAG("trigger_pipe")
if options.analysis_tag:
dag = dagparts.DAG("trigger_pipe_%s" % options.analysis_tag)
else:
dag = dagparts.DAG("trigger_pipe")
#
# setup the job classes
......
......@@ -4,6 +4,8 @@
ACCOUNTING_GROUP=ligo.dev.o3.cbc.em.gstlalonline
ACCOUNTING_USER=cody.messick
ANALYSIS_TAG = er14
# bank settings
H1_BANK_CACHE = /home/gstlalcbc/engineering/14/svd/er14/H1_bank.cache
L1_BANK_CACHE = /home/gstlalcbc/engineering/14/svd/er14/L1_bank.cache
......@@ -16,7 +18,7 @@ RANKING_STATS := $(shell for n in $$(seq -f '%04.f' $$(wc -l ../svd/replay/hyper
BURNIN_RUN_DIR=/home/gstlalcbc/engineering/14/trigs.replay.hyper
# web settings
WEBAPP_NAME=inspiral_er14
WEBAPP_NAME=inspiral_$(ANALYSIS_TAG)
WEBDIR=$(HOME)/public_html/engineering/14/hyper/
GSTLALSHAREDIR=/home/gstlalcbc/engineering/14/code/master_icc_190225/git/gstlal/gstlal-inspiral/share
......@@ -32,7 +34,7 @@ DATA_BACKEND=influx
INFLUX_HOSTNAME=10.14.0.100
INFLUX_PORT=8086
INFLUX_DATABASE_NAME=gstlal_inspiral_er14
INFLUX_DATABASE_NAME=gstlal_inspiral_$(ANALYSIS_TAG)
GRACEDB_SERVICE_URL=https://gracedb.ligo.org/api/
......@@ -79,6 +81,7 @@ V1SHM=X1VIRGO_Data
# (CAT1 type) 11: interferometer is locked rest: not used
all : dag
@echo "Submit with: condor_submit_dag -f trigger_pipe_$(ANALYSIS_TAG).dag"
H1play :
gstlal_play \
......@@ -128,6 +131,7 @@ tisi.xml :
dag : plots ll_simplify_and_cluster.sql ll_simplify.sql tisi.xml rankingstat.cache zerolag_rankingstat_pdf.cache online-web-deploy
gstlal_ll_inspiral_pipe \
--analysis-tag $(ANALYSIS_TAG) \
--bank-cache H1=$(H1_BANK_CACHE),L1=$(L1_BANK_CACHE),V1=$(V1_BANK_CACHE) \
--max-jobs 1000 \
--likelihood-cache rankingstat.cache \
......@@ -199,13 +203,11 @@ dag : plots ll_simplify_and_cluster.sql ll_simplify.sql tisi.xml rankingstat.cac
#python ~/trim_online_dag.py trigger_pipe.dag
#python ~/noretries.py trigger_pipe.dag
# submit: condor_submit_dag trigger_pipe.dag
online-web-deploy : inspiral.yml
scald deploy -c inspiral.yml -o ~/public_html -n $(WEBAPP_NAME)
inspiral.yml:
cp $(GSTLALSHAREDIR)/O3/$@ .
cp -n $(GSTLALSHAREDIR)/O3/$@ .
ll_simplify.sql :
ln -s $(GSTLALSHAREDIR)/$@ .
......@@ -217,8 +219,8 @@ plots:
mkdir plots
mkdir -p $(WEBDIR)
set-min-instruments:
gstlal_ll_inspiral_gracedb_min_instruments --min-instruments 2 0*registry.txt
set-min-instruments-1:
gstlal_ll_inspiral_gracedb_min_instruments --min-instruments 1 0*registry.txt
set-min-instruments-2:
gstlal_ll_inspiral_gracedb_min_instruments --min-instruments 2 0*registry.txt
......@@ -227,6 +229,7 @@ set-far-thresh :
gstlal_ll_inspiral_gracedb_threshold \
--gracedb-far-threshold 1e-4 \
0*registry.txt
get-far-thresh :
gstlal_ll_inspiral_gracedb_threshold \
0*registry.txt
......
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