I am having similar situation as you. In my daily work, I need to
use condor script to submit several hundred jobs with one argument
for the same executable, but each argument (input file) has
different name. What I did is using a shell script to generate
condor script dynamically, then submit the condor job within the
shell script. I use $1 as input in the shell script, once a new
input file comes, it will generate corresponding condor script.
On 5/4/2014 2:02 PM, Alain Roy wrote:
On May 3, 2014, at 4:50 PM, Suchandra Thapa <ssthapa@xxxxxxxxxxxx>
wrote:
Is there a way to setup a submit file so that
different sets of jobs get different arguments. For
example, if you had a job which had 5000 sets of arguments
and where each set of arguments needed to be run a 100
times, is there a way to set this up in a single submit
file?
If you have a single job like this:
Universe = vanilla
Executable = simple
Log = simple.log
Output = simple.out
Error = simple.error
Arguments = 1 2 3
Queue
Then you can submit the same job with different arguments
by adding a new pair of "Arguments & Queue", such as this:
Universe = vanilla
Executable = simple
Log = simple.log
Output = simple.out
Error = simple.error
Arguments = 1 2 3
Queue
Arguments 4 5 6
Queue
If you want to run each of those a thousand times, just
specify a number to the Queue statement:
Universe = vanilla
Executable = simple
Log = simple.log
Output = simple.out
Error = simple.error
Arguments = 1 2 3
Queue 100
Arguments 4 5 6
Queue 100
_______________________________________________
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/
|