[Swift-user] Re: condor_requirements "&&" operator and other possible literal tokens

Mihael Hategan hategan at mcs.anl.gov
Mon Apr 18 15:30:33 CDT 2011


sites.xml is in xml, so try "&" instead of "&".

On Mon, 2011-04-18 at 14:35 -0500, Allan Espinosa wrote:
> Restating my question: how do I include logical expressions of condor
> classads in a sites.xml entry?
> 
> 2011/4/18 Allan Espinosa <aespinosa at cs.uchicago.edu>:
> > Hi,
> >
> > I have the following entry in my site catalog:
> >
> >  <pool handle="FNAL_FERMIGRID__fermigridosg1.fnal.gov">
> >    <execution provider="condor" url="none"/>
> >
> >    <profile namespace="globus" key="jobType">grid</profile>
> >    <profile namespace="globus" key="gridResource">gt2
> > fermigridosg1.fnal.gov/jobmanager-condor</profile>
> >
> >    <profile namespace="karajan" key="initialScore">20.0</profile>
> >    <profile namespace="karajan" key="jobThrottle">68.22</profile>
> >
> >      <profile namespace="globus"
> > key="condor_requirements">GlueHostOperatingSystemRelease =?= "5.3" &&
> > GlueSubClusterName =!= GlueClusterName</profile>
> >
> >
> >    <gridftp  url="gsiftp://fermigridosg1.fnal.gov"/>
> >    <workdirectory>/grid/data/engage/scec/swift_scratch</workdirectory>
> >  </pool>
> >
> >
> >
> >
> > But Swift reports the following
> >
> > Execution failed:
> >        entity reference names can not start with character '&'
> > (position: START_TAG seen
> > ...="condor_requirements">GlueHostOperatingSystemRelease =?= "5.3"
> > &&... @50:104)
> >
> >
> > In the userguide, a sample condor classad entry is just specified with
> > plain "||"
> >
> > -Allan
> >
> _______________________________________________
> Swift-user mailing list
> Swift-user at ci.uchicago.edu
> http://mail.ci.uchicago.edu/mailman/listinfo/swift-user





More information about the Swift-user mailing list