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

Re: [Condor-users] Start SlotID counting at >1?



Steffen Grunewald wrote:
> Is there a way to start SlotID counting at a number larger than 1?

Terminal 1:

$ env _CONDOR_MySlotId=SlotId+1 _CONDOR_STARTD_EXPRS=MySlotId
condor_startd -t -f -p 1234


Terminal 2:

$ condor_status -direct "<localhost:1234>" -format "MySlotId: %d\n" MySlotId
MySlotId: 2
MySlotId: 3

$ condor_status -direct "<localhost:1234>" -format "MySlotId: %d\n"
MySlotId -constraint "MySlotId > 2"
MySlotId: 3


Best,


matt