Skip to content
Snippets Groups Projects
Commit c9c2abc7 authored by Leo Tsukada's avatar Leo Tsukada
Browse files

workflows/templates/Makefile.online_inspiral_template : propagate config.tag...

parent 0c2eb87b
No related branches found
No related tags found
1 merge request!407workflows/templates/Makefile.online_inspiral_template : propagate config.tag...
Pipeline #504867 passed with warnings
......@@ -99,7 +99,7 @@ elif args.command == "create":
raise ValueError('The workflow "%s" is not defined. Choose one from "setup" or "inspiral".' % args.workflow)
# write dag/script to disk
dag_name = f"online_{args.workflow}_dag"
dag_name = f"online_{args.workflow}_{config.tag}"
dag.write_dag(f"{dag_name}.dag")
dag.write_script(f"{dag_name}.sh")
......
......@@ -39,6 +39,7 @@ env.sh :
{% endif %}
@echo 'export GSTLAL_FIR_WHITEN=0' >> env.sh
@echo 'export PYTHONUNBUFFERED=1' >> env.sh
@echo 'export HDF5_USE_FILE_LOCKING=\'FALSE\'' >> env.sh
@echo '. ./influx_creds.sh' >> env.sh
@echo 'generated environment script: env.sh'
......@@ -57,22 +58,22 @@ archive :
cp archive/run.$(shell date +'%y.%m.%d')/Makefile run
.PHONY: launch
launch : online_inspiral_dag.dag
launch : online_inspiral_{{ config.tag }}.dag
condor_submit_dag -f $^
@echo ""
PHONY: launch-setup
launch-setup : online_setup_dag.dag
launch-setup : online_setup_{{ config.tag }}.dag
condor_submit_dag $^
@echo ""
.PHONY: dag
dag : online_inspiral_dag.dag
dag : online_inspiral_{{ config.tag }}.dag
.PHONY: setup
setup : online_setup_dag.dag
setup : online_setup_{{ config.tag }}.dag
online_%_dag.dag : {{ config.svd.manifest }} $(HOME)/.config/gstlal/{{ config.condor.profile }}.yml tisi.xml
online_%_{{ config.tag }}.dag : {{ config.svd.manifest }} $(HOME)/.config/gstlal/{{ config.condor.profile }}.yml tisi.xml
gstlal_ll_inspiral_workflow create -c config.yml --workflow $*
# FIXME: hack in place since dedicated nodes don't advertise singularity
sed -i 's/ && (HAS_SINGULARITY=?=True)//' *.sub
......
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