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

Re: [HTCondor-users] submitting on only select machines in a pool



Jeff,

If host1, host2, and host3 are the three machines in the pool with GAMS,
you could include something like:

Requirements = ( (Machine == "host1") || (Machine == "host2") ||
(Machine == "host3") )

My preferred way would be to set a ClassAd attribute on the hosts that
have GAMS installed:

HasGAMS = True
STARTD_EXPRS = HasGAMS, $(STARTD_EXPRS)

Then your submit file could include:

Requirements = HasGAMS



Thanks,
BC

-- 
Ben Cotton
Purdue University