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
|