[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Running over parameter space



Like Ben mentioned, the new queue syntax in condor 8.4.x makes this a lot easier. (But the syntax is slightly different than he described.)
If you have an args.txt with a set of "a1 a2 a3" values on each line like:

	w1 w2 w3
	x1 x2 x3
	y1 y2 y3
	z1 z2 z3
	...
etc,

then you can reference them in your submit file like this:

	executable = script.py
	arguments = $(a1) $(a2) $(a3)

	queue a1,a2,a3 from args.txt

Or, if you don't care about being able to handle a1,a2,a3 separately, you can just set the arguments to be everything on each line:
	executable = script.py

	queue arguments from args.txt

Carl

On Tue, 1 Dec 2015, ap817 wrote:

I have begun looking into condor just today and wish to execute some partilar task.
I have a python script which contains a function that takes as input three 
arguments, say a1, a2, a3. I want to use Condor to essentially run over 
different combinations of these inputs. But I want to do it in such a way 
that I have some .txt file which has these combinations can be plucked from a 
matrix according to what combinations I would like to test. How do I 
implement this in the condor submit file? How do I load files into the submit 
document? How do I specify these varying arguments using 'arguments' since my 
arguments cannot be input as macros such as $(Process). I would appreciate 
any help and particular examples.



_______________________________________________
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/