[Swift-devel] Are XML keys case sensitive in sites.xml?

Mihael Hategan hategan at mcs.anl.gov
Thu Jan 2 13:47:51 CST 2014


In general, yes, they are. Some sub-systems may however choose to handle
them in a case insensitive way.

Mihael

On Thu, 2014-01-02 at 11:55 -0600, David Kelly wrote:
> Hello,
> 
> Are XML keys case sensitive in sites.xml?
> 
> I'm testing with the following config:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <config xmlns="http://www.ci.uchicago.edu/swift/SwiftSites">
>   <pool handle="midway">
>     <execution provider="coaster" jobmanager="local:slurm"/>
>     <profile namespace="globus" key="jobsPerNode">16</profile>
>     <profile namespace="globus" key="queue">sandyb</profile>
>     <profile namespace="karajan" key="initialScore">10000</profile>
>     <profile namespace="globus" key="slots">1</profile>
>     <profile namespace="globus" key="nodeGranularity">1</profile>
>     <profile namespace="globus" key="maxNodes">1</profile>
>     <filesystem provider="local"/>
>     <workdirectory>/scratch/midway/davidkelly999/work</workdirectory>
>   </pool>
> </config>
> 
> When I use:
> <profile namespace="karajan" key="initialScore">10000</profile>
> 
> Things work as expected and I get 16 active tasks.
> 
> When I use a lowercase "initialscore":
> <profile namespace="karajan" key="initialscore">10000</profile>
> 
> I only get 7 active tasks instead of 16.
> 
> Maybe it is only keys in the karajan namespace that are case sensitive?
> jobspernode and jobsPerNode both seem to work, for example.
> 
> Thanks,
> David
> Hello,
> 
> 
> Are XML keys case sensitive in sites.xml?
> 
> 
> I'm testing with the following config:
> 
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <config xmlns="http://www.ci.uchicago.edu/swift/SwiftSites">
>   <pool handle="midway">
>     <execution provider="coaster" jobmanager="local:slurm"/>
>     <profile namespace="globus" key="jobsPerNode">16</profile>
>     <profile namespace="globus" key="queue">sandyb</profile>
>     <profile namespace="karajan" key="initialScore">10000</profile>
>     <profile namespace="globus" key="slots">1</profile>
>     <profile namespace="globus" key="nodeGranularity">1</profile>
>     <profile namespace="globus" key="maxNodes">1</profile>
>     <filesystem provider="local"/>
>     <workdirectory>/scratch/midway/davidkelly999/work</workdirectory>
>   </pool>
> </config>
> 
> 
> When I use:
> <profile namespace="karajan" key="initialScore">10000</profile>
> 
> 
> 
> Things work as expected and I get 16 active tasks.
> 
> 
> When I use a lowercase "initialscore":
> <profile namespace="karajan" key="initialscore">10000</profile>
> 
> 
> 
> I only get 7 active tasks instead of 16.
> 
> 
> Maybe it is only keys in the karajan namespace that are case
> sensitive? jobspernode and jobsPerNode both seem to work, for example.
> 
> 
> Thanks,
> David
> 
> 
> _______________________________________________
> Swift-devel mailing list
> Swift-devel at ci.uchicago.edu
> https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel





More information about the Swift-devel mailing list