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

Re: [Condor-users] Condor-G bug



On Tue, Aug 01, 2006 at 02:10:30PM +0100, David Wallom wrote:
> Hello,
> 
> I have been having some problems recently with Condor-G and machine names:
> 
> Example:
> globusscheduler = ce1-gla.scotgrid.ac.uk/jobmanager-lcgpbs
> Requirements = (TARGET.gatekeeper_url == \
> ce1-gla.scotgrid.ac.uk/jobmanager-lcgpbs) && TARGET.gatekeeper_url =!= \
> UNDEFINED
> 
> Results in no errors and the job runs fine:
> 
> But:
> globusscheduler = t1ce02.physics.ox.ac.uk/jobmanager-lcgpbs
> Requirements = (TARGET.gatekeeper_url == \
> t1ce02.physics.ox.ac.uk/jobmanager-lcgpbs) && TARGET.gatekeeper_url =!= \
> UNDEFINED
> 
> Results in a parse error on submission marked as being under "ce02" in the
> Requirements line. If I now try changing the name of the machine I'm trying
> to write to:
> 
> globusscheduler = 1ce02.physics.ox.ac.uk/jobmanager-lcgpbs
> Requirements = (TARGET.gatekeeper_url == \
> 1ce02.physics.ox.ac.uk/jobmanager-lcgpbs) && TARGET.gatekeeper_url =!= \
> UNDEFINED
> 
> Gives a parse error now under "/jo" in the Requirements line.
> 
> Any ideas anyone?
> 

Well, two things.

1. Get rid of the requirements expression entirely - you've already got
a globusscheduler defined, so you're not using matchmaking. 

2. Quote your strings - you should have something like

Requirements = (TARGET.gatekeeper_url == \
"1ce02.physics.ox.ac.uk/jobmanager-lcgpbs") && TARGET.gatekeeper_url =!= \
UNDEFINED

-Erik