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

Re: [Condor-users] (no subject)



Hi Darin,

Yeah I think you are right. The startd_exprs is associated with the classad 
mechanism. So for example if you wanted to advertise a machine that has Matlab 
you would modifiy a machines local configuration file to say something like..

HasMatlab = True
STARTD_ATTRS = HasMatlab

Then send a condor_reconfig to that machine.

Then to see whether or not that classad appeared on that machine you would 
type..

condor_status -l <the-machine-with-matlab>

In that output, you should expect to see a line in the output that says..

HasMatlab = True

Then all what you would need to do when submitting a job to run only on a 
machine with matlab is make sure that HasMatlab = True is a requirement.

One way to look at Start_exprs is a method to add additional information 
already advertised by your machine anyway through the condor_startd daemon.

Hope any of this helps

Cheers,

Danny Nayar
New Mexico State University
 


Quoting Darin Kalisak <whognu@xxxxxxxxx>:

> Hello all.
> 
> I'm not exactly clear about the distinction and interplay between the
> START and STARTD_EXPRS machine configuration parameters.
> 
> Is it fair to say that the START parameter describes when the machine
> is willing to run (by setting requirements on jobs' class ads),
> whereas the STARTD_EXPRS adds any user-defined parameters to the
> machine's class ad?
> 
> If so, why is STARTD_EXPRS necessary?  I'm particularly looking at
> 
http://www.cs.wisc.edu/condor/manual/v6.7/7_2Setting_up.html#SECTION008250000000
00000000,
> about requiring packages to be installed on a machine.  If the user
> defines a boolean parameter MY_PACKAGE_INSTALLED, why wouldn't job
> class ads be able to access that directly, without going through
> STARTD_EXPRS?
> 
> Thanks,
> 
> Darin
> 
> _______________________________________________
> Condor-users mailing list
> Condor-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
>