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

Re: [HTCondor-users] Getting rid of typos in condor_config?



Be aware that in the developer series, we have made a bunch of improvements to condor_config_val. Among them, condor_config_val -dump was modified to show values default params as well as params explicitly specified in your condor_config files. And the "-dump" command line option now works when specifying a remote machine Another command-line option allows condor_config to emit a "minimal" configuration file by passing through only values that do not equal defaults - this is particularly useful during upgrading, where it is common to want to keep any specific modifications made to the config but also inherit any new default values.

regards,
Todd

On 11/14/2013 1:49 AM, Steffen Grunewald wrote:
Hi everyone,

after several upgrade cycles without touching the configuration,
I felt it would be about time to re-do the whole thing.
So I started with the condor_config that comes with the (Debian
Wheezy) distributed package, and the manual, section 3.3 on my
desk.
Soon I found that config macros in the manual are in different
order (and, IMHO, in a more consistent one) than in the example
config I was trying to fill in.
My resolution was to start to write the whole config from scratch,
only following the manual and the occasional glimpse of my previous
config.
After about half of the work, I started to discover typos. No
wonder, as the whole thing takes several hours to complete, and
my old eyes get tired quickly.
Is there a simple way to check for misspelled macro names? I have
introduced a handful of my own definitions which would clearly be
flagged as unknown, but that's almost nothing to worry about.
It's a piece of cake to extract all the used macro names; if there
was a comprehensive list of macros known to Condor I'd be set.
Does such a list exist, and if not, how to get one?

- S



--
Todd Tannenbaum <tannenba@xxxxxxxxxxx> University of Wisconsin-Madison
Center for High Throughput Computing   Department of Computer Sciences
HTCondor Technical Lead                1210 W. Dayton St. Rm #4257
Phone: (608) 263-7132                  Madison, WI 53706-1685