...
- How can we have the .dag.* files written to a different directory? -usedagdir doesn't help.
- How can I set a variable in a DAG file that I can then use in the submit file in a conditional? E.g.
- DAG:
VARS step01 CHTC=""
- VARS step05 CHTC="True"
- Submit:
- if defined $(CHTC)
- requirements = PoolName == "CHTC"
- endif
- if defined $(CHTC)
- or
- DAG:
- VARS step01 CHTC="False"
- VARS step05 CHTC="True"
- Submit:
- chtc_var = $(CHTC)
- if $(chtc_var)
- requirements = PoolName == "CHTC"
- endif
- even though when I pass $(chtc_var) as arguments to the shell script, the shell script sees it as True.
- or
- DAG:
VARS node1 file="chtc.htc"
- VARS node2 file="aws.htc"
- Submit:
- include : $(file)
- DAG:
10/20/20 08:54:36 From submit: ERROR: on Line 9 of submit file:
10/20/20 08:54:36 From submit: Submit:-1:Error "", Line 0, Include Depth 1: can't open file
10/20/20 08:54:36 From submit:
10/20/20 08:54:36 From submit: ERROR: Failed to parse command file (line 9).
10/20/20 08:54:36 failed while reading from pipe.
10/20/20 08:54:36 Read so far: Submitting job(s)ERROR: on Line 9 of submit file: Submit:-1:Error "", Line 0, Include Depth 1: can't open fileERROR: Failed to parse command file (line 9).
10/20/20 08:54:36 ERROR: submit attempt failed
- Is there a for-loop structure available to DAG scripts?
...