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

Re: [Condor-users] classad and slots



> On Wed, Jan 5, 2011 at 11:39 AM, Matthew Farrellee <matt@xxxxxxxxxx> wrote:
> > On 12/30/2010 02:56 PM, Michael Di Domenico wrote:
> >> I'm not sure i understand how a classad mechanism works, hopefully
> >> someone can straighten it out for me
> 
> Yes that's true it is simpler, but doesn't actually fulfill my entire
> need.  We have many machines with Nvidia cards all of different
> models.  The point of the Cron script is to allow condor to have a
> generic configuration irrespective of which particular card is in the
> machine (think GPU_NAME == 'Tesla S2050')
> 
> >From the testing i've done it appears that if i define the SLOT level
> 
> classads in the config file and start condor it does indeed overload
> the base classad with the slot level classad,
> 
> however, if i inject the slot level classads from cron into the
> runtime configuration, it does not overload the base classad.
> 
> i'm not sure if this is a bug, a design, or a misconfiguration of
> condor, but it doesn't seem right to me.  if i can inject classads
> into the condor configuration from cron (which works because i inject
> HASGPU==True/False from Condor Cron) , why can i not inject slot level
> classads in the same way.

You ask, and you shall receive...  For 7.5.6, I've reworked the cron logic 
significantly.  Amoungst the new features will be the ability to specify 
something like this:

CRON_MYJOB_SLOTS = 1,2,4

Unfortunately, this won't make it into the soon to be released 7.5.5.

-Nick