[Swift-user] Sites.xml to swift.properties Conversion

Matthew Shaxted Matthew.Shaxted at som.com
Tue Jun 17 16:03:18 CDT 2014


Hi Swift support,

I am in the process of converting my 0.94 swift scripts to 0.95, and I am having a bit of difficulties creating the correct sites properties from the new swift.properties file.

I am trying to convert the sites.xml file below, and when I attempt to identify site.persistent-coaster{provider="coaster-persistent"...} in the swift.properties file I am getting an "Error: Unknown property site.persistent-coasters.provider".

Can anyone please lend some insight on how to best convert from a sites.xml to a swift.properties file? I am using Swift 0.95 RC6 swift-r7900 cog-r3908

Thanks,
Matthew


0.94 Sites.xml File

<config>
   <pool handle="localhost">
      <execution provider="coaster" jobmanager="local:local"/>
      <profile namespace="karajan" key="jobThrottle">0</profile>
      <profile namespace="karajan" key="initialScore">10000</profile>
      <filesystem provider="local"/>
      <workdirectory>{env.HOME}/work</workdirectory>
   </pool>
  <pool handle="persistent-coasters">
    <execution provider="coaster-persistent"
               url="http://localhost:56069"
               jobmanager="local:local"/>
    <profile namespace="globus" key="workerManager">passive</profile>
    <profile namespace="globus" key="jobsPerNode">2</profile>
    <profile key="jobThrottle" namespace="karajan">.01999</profile>
    <profile namespace="karajan" key="initialScore">10000</profile>
    <filesystem provider="local" url="none" />
    <workdirectory>/tmp/shaxted</workdirectory>
  </pool>
</config>


My new swift.properties file look like below:

sitedir.keep=true
wrapperlog.always.transfer=true

site.local {
   tasksPerWorker=8
   taskWalltime=00:15:00
   maxJobs=1
   workdir=/home/som/EnergyPlus/test/work
   filesystem=local
}
app.local.echo=/bin/echo
site=local

site. persistent-coaster {
   provider=coaster
   tasksPerWorker=8
   taskWalltime=00:15:00
   maxJobs=2
   workdir=/home/som/EnergyPlus/test/work
   filesystem=local
}
app.persistent-coaster.echo=/bin/echo
site=persistent-coaster



MATTHEW SHAXTED

SKIDMORE, OWINGS & MERRILL LLP
224 South Michigan Ave.
Chicago, IL 60604
TEL: 312.360.4368
FAX: 312.360.4545
matthew.shaxted at som.com<mailto:matthew.shaxted at som.com>

[cid:image001.png at 01CF8A45.9B57C1F0]
WWW.SOM.COM<http://www.som.com/>

The information contained in this communication may be confidential, is intended only for the use of the recipient(s) named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited and may be unlawful. If you have received this communication in error, please return it to the sender immediately and delete the original message and any copy of it from your computer system. If you have any questions concerning this message, please contact the sender.

[cid:image002.png at 01CF8A45.9B57C1F0]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-user/attachments/20140617/4d7d627d/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 6643 bytes
Desc: image001.png
URL: <http://lists.mcs.anl.gov/pipermail/swift-user/attachments/20140617/4d7d627d/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 3047 bytes
Desc: image002.png
URL: <http://lists.mcs.anl.gov/pipermail/swift-user/attachments/20140617/4d7d627d/attachment-0001.png>


More information about the Swift-user mailing list