Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[HTCondor-users] Substitution of "+" for "MY." in submit file
- Date: Thu, 24 Mar 2022 14:16:04 +0000
- From: Matthew Pitkin <m.pitkin@xxxxxxxxxxxxxxx>
- Subject: [HTCondor-users] Substitution of "+" for "MY." in submit file
Hi,
I've created a submit file using the Python HTCondor binding for
which some of the options start with a plus, e.g.,
"+SuccessCheckpointExitCode = 77", but when that gets created
(during write out a dag), the "+" has been replaced by "MY."
(presumable by this line
https://github.com/htcondor/htcondor/blob/master/src/condor_submit.V6/submit.cpp#L860).
I just wanted to check whether this is ok? Is the "MY." equivalent
to the "+"?
Any example reproducing this is:
from htcondor import
Submit
from htcondor import dags
options = {
"universe": "vanilla",
"executable": "/usr/bin/mycode",
"+SuccessCheckpointExitCode": 77,
}
dag = dags.DAG()
dag.layer(
name="layer1",
submit_description=Submit(options),
)
dags.write_dag(dag, ".")
for which the layer1.sub file contains:
universe = vanilla
executable = /usr/bin/mycode
MY.SuccessCheckpointExitCode = 77
queue
Cheers,
Matt
--
-----------------------------------------------------------
Matthew Pitkin
Department of Physics
Lancaster University
Lancaster, LA1 4YB
tel. no.: 01524 510214
e-mail: m.pitkin@xxxxxxxxxxxxxxx
https://ma.ttpitk.in
http://www.theonlinemcmc.com
pronouns: he/him/his
-----------------------------------------------------------