You would change values in the submit hash in between calls to the queue() method on the submit hash.
something like this
Â
sub = htcondor.Submit()
sub[âexecutableâ] = âfooâ
with sched.transaction() as txn:
ÂÂÂÂ sub[âargumentsâ] = â15 2000â
ÂÂÂÂ sub.queue(txn,1)
ÂÂÂÂ sub[âargumentsâ] = â30 2000â
ÂÂÂÂ sub.queue(txn,1)
ÂÂÂÂ sub[âargumentsâ] = â45 6000â
ÂÂÂ Âsub.queue(txn,1)
Â
Â
From: HTCondor-users [mailto:htcondor-users-bounces@xxxxxxxxxxx] On Behalf Of FranÃois Steinmetz
Sent: Wednesday, January 3, 2018 2:36 PM
To: htcondor-users@xxxxxxxxxxx
Subject: [HTCondor-users] Job submission using the Python bindingsÂ
Hi,
I can not figure out how to submit several jobs with different arguments, using the python bindings. Could anyone tell me how to translate the following submission file ?
ÂÂÂÂÂ ExecutableÂÂÂÂ = foo
ÂÂÂÂÂ ArgumentsÂÂ ÂÂÂ= 15 2000
ÂÂÂÂÂ Queue
ÂÂÂÂÂ ArgumentsÂÂÂÂÂ = 30 2000
ÂÂÂÂÂ Queue
ÂÂÂÂÂ ArgumentsÂÂÂÂÂ = 45 6000
ÂÂÂÂÂ Queue
Thanks for your help,
FranÃois_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/