Page History
- 2012-Nov-13 16:05 adesmet
- 2011-Oct-22 13:07 matt
- 2011-Oct-21 14:07 psilord
- 2011-Feb-14 12:42 smoler
executable = X requirements = TARGET.name == MY.TargetSlot +TargetSlot = "slot1@machine1" queue +TargetSlot = "slot1@machine2" queue +TargetSlot = "slot1@machine3" queue . . .
There will be one +TargetSlot and one queue command for each machine in the pool.
A list of machine names for all machines in the pool may be obtained using the condor_status command:
condor_status -constraint 'SlotID==1' -format "%s\n" Name
And, you can have condor do most of the work for you in generating the above submit file:
> cat <<EOF > runit.sub universe = vanilla executable = X requirements = TARGET.name == MY.TargetSlot EOF > condor_status -constraint 'SlotID==1' -format '+TargetSlot = "%s"\nqueue\n\n' Name >> runit.sub