Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Condor-users] Testing on strings and other things
- Date: Tue, 16 Nov 2004 13:34:09 -0600
- From: Erik Paulson <epaulson@xxxxxxxxxxx>
- Subject: Re: [Condor-users] Testing on strings and other things
On Tue, Nov 16, 2004 at 08:41:50AM -0600, Chris Green wrote:
> Hi,
>
> I'm running a mixed RH7.3 / LTS3 condor pool, and because of the way our
> users use Condor, I need a way to submit jobs which will only run on one
> type of system or the other. ARCH or OS aren't fine-grained enough, so I
> implemented my own config file variable, viz:
>
> BOONE_GLIBC_VERSION = "2.2"
>
> or
>
> BOONE_GLIBC_VERSION = "2.3"
>
> (note the quotes).
>
> HOWEVER, if my .cmd file looks like this:
>
> requirements = (BOONE_GLIBC_VERSION == "2.2")
>
> Then condor_q -analyze tells me that nothing matches my requirements,
> even though I can verify:
>
> condor_config_val BOONE_GLIBC_VERSION
> "2.2"
>
Just as a sanity check, you added BOONE_GLIBC_VERSION to
STARTD_EXPRS, right?
> Again, note the quotes.
>
> If I omit the quotes, then the .cmd file says:
>
> requirements = (BOONE_GLIBC_VERSION == 2.20000)
>
> -- not useful.
>
> What am I doing wrong? I have previously done this with a numeric variable
> without problems.
>
> Help!
>
> On another note, is there any facility within condor to include files
> within condor_config: with my almost-identical architectures come
> almost-identical config files which are linked to /home/condor from AFS
> space:
>
> /home/condor/condor_config ->
> /afs/fnal.gov/files/code/e898/code/14/condor-admin/Config/condor_config-Linux+2.4-2.2.5
>
> or
>
> /home/condor/condor_config ->
> /afs/fnal.gov/files/code/e898/code/14/condor-admin/Config/condor_config-Linux+2.4-2.3.2
>
> as appropriate. I would like to include the bulk of each configuration
> from a central file since the total diffs between the two files are:
>
> 58c58
> < RELEASE_DIR = $(TOP_LEVEL_DIR)/Linux+2.4-2.2.5
> ---
> >RELEASE_DIR = $(TOP_LEVEL_DIR)/Linux+2.4-2.3.2
> 1493c1493
> < BOONE_GLIBC_VERSION = "2.2"
> ---
> >BOONE_GLIBC_VERSION = "2.3"
>
> Is there any way to do this?
>
Can you use AFS @sys links?
-Erik