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

David Kelly davidk at ci.uchicago.edu
Thu Jan 2 11:55:52 CST 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20140102/39db6319/attachment.html>


More information about the Swift-devel mailing list