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

Re: [Condor-users] Condor $(OpSys) and $(Arch) parameter




Hi Zach,

I have made a test making the following change in one of my condor_config.local files:

ArchGeneric  = INTEL
OpSysGeneric = WINNT
ArchGeneric1  = "INTEL"
OpSysGeneric1 = "WINNT"
STARTD_ATTRS = ArchGeneric1, OpSysGeneric1, $(STARTD_ATTRS)

REQUIRE_LOCAL_CONFIG_FILE = False
LOCAL_CONFIG_FILE = \
        $(LOCAL_CONFIG_FILE), \
        \\$(EMBGRIDserver)\grid_env\CONDOR\3-pool\$(POOLNAME)\condor_config.pool.1.$(OpSysGeneric)

And changed my Requirements command to:

Requirements = ArchGeneric1 == "INTEL" && OpSysGeneric1 == "WINNT"

And the job has run.

See that I am using $(OpSysGeneric) to specify the name of the file and "WINNT" is not allowed.
Any suggestion to conciliate both usages,  WINNT and "WINNT", into only one parameter, OpSysGeneric? The same for INTEL and "INTEL" with parameter ArchGeneric.

Thanks,
Klaus




Zachary Miller <zmiller@xxxxxxxxxxx>
Sent by: condor-users-bounces@xxxxxxxxxxx

30/10/2009 16:30

Please respond to
Condor-Users Mail List <condor-users@xxxxxxxxxxx>

To
Condor-Users Mail List <condor-users@xxxxxxxxxxx>
cc
Subject
Re: [Condor-users] Condor $(OpSys) and $(Arch) parameter





> ArchGeneric: INTEL
>   Defined in '\\SMBSJK05\grid_env\CONDOR\1-start\
> condor_config.master.PC284419', line 15.

you probably need quotes, like this:
 ArchGeneric = "INTEL"


cheers,
-zach

_______________________________________________
Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/condor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/condor-users/



This message is intended solely for the use of its addressee and may contain privileged or confidential information. All information contained herein shall be treated as confidential and shall not be disclosed to any third party without Embraer’s prior written approval. If you are not the addressee you should not distribute, copy or file this message. In this case, please notify the sender and destroy its contents immediately.
Esta mensagem é para uso exclusivo de seu destinatário e pode conter informações privilegiadas e confidenciais. Todas as informações aqui contidas devem ser tratadas como confidenciais e não devem ser divulgadas a terceiros sem o prévio consentimento por escrito da Embraer. Se você não é o destinatário não deve distribuir, copiar ou arquivar a mensagem. Neste caso, por favor, notifique o remetente da mesma e destrua imediatamente a mensagem.