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

Re: [Condor-users] condor_config_val not helpful reporting variables



OK, but not even a condor example works for me:

   % condor_config_val -name perdita -schedd MAX_JOBS_RUNNING
   500

$ condor_config_val -name merrit - schedd MAX_JOBS_RUNNING
Not defined 

> -----Original Message-----
> From: condor-users-bounces@xxxxxxxxxxx 
> [mailto:condor-users-bounces@xxxxxxxxxxx] On Behalf Of Alain Roy
> Sent: Thursday, October 13, 2005 8:32 AM
> To: Condor-Users Mail List
> Subject: Re: [Condor-users] condor_config_val not helpful 
> reporting variables
> 
> 
> >$ condor_config_val CurrentTime
> >condor_config_val CurrentTime
> >Not defined: CurrentTime
> >
> >I'm sure when condor needs CurrentTime it gets it, but 
> >condor_config_val doesn't find it, nor any other variables not 
> >explicitly defined in the condor_config file.  And for those 
> defined it 
> >won't do the computation but simply reports the definition:
> >
> >$ condor_config_val benchmarktimer
> >(CurrentTime - LastBenchmark)
> 
> CurrentTime isn't a configuration variable, it is a special 
> ClassAd variable. It is only instantiated when evaluating a 
> ClassAd expression.
> 
> Some configuration variables contain expressions that are 
> evaluated in a ClassAd, but the ClassAd variables cannot be 
> looked up in the configuration file.
> 
> It can be confusing to distinguish ClassAd variables from 
> configuration variables--sorry about that!
> 
> -alain
> 
> 
> _______________________________________________
> Condor-users mailing list
> Condor-users@xxxxxxxxxxx
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
> 
>