[Swift-devel] Duplicate workdirectory entry in generated sites.xml

David Kelly davidk at ci.uchicago.edu
Fri Dec 20 13:08:20 CST 2013


Hey Yadu,

Local is defined in the default swift.properties and it uses the new naming
configuration described in
http://swiftlang.org/guides/trunk/designs/swiftrun.html. Try using workdir
instead of workdirectory.


On Fri, Dec 20, 2013 at 12:35 PM, Yadu Nand <yadudoc1729 at gmail.com> wrote:

> Hi,
>
> I'm seeing a duplicate entry for workdirectory when using the new config
> mechanism in Swift 0.95. I think this entry is confusing the staging
> mechanism.
>
> Is there some workaround for this ?
>
> Here's the entry for local in swift.properties :
> site.local {
>    provider=local:local
>    jobsPerNode=1
>    maxWalltime=01:00:00
>    initialScore=10000
>    filesystem=local
>    workdirectory=/scratch/midway/$USER/work
>    jobthrottle=0.1999
> }
>
> Here's the generated sites.xml:
> <pool handle="local">
> <filesystem provider="local"/>
> <execution provider="coaster" jobmanager="local:local"/>
> <profile namespace="karajan" key="jobthrottle">0</profile>
> <profile namespace="globus" key="jobspernode">1</profile>
> <profile namespace="globus" key="jobspernode">1</profile>
> <profile namespace="globus" key="maxwalltime">01:00:00</profile>
> <execution provider="coaster" jobmanager="local:local"/>
> <workdirectory>/home/yadunand/knowledge_lab-tfidf_example/run007</workdire\
> ctory>
> <workdirectory>/scratch/midway/yadunand/work</workdirectory>
> <profile namespace="karajan" key="jobthrottle">0.1999</profile>
> <profile namespace="karajan" key="initialscore">10000</profile>
> </pool>
>
>
> Thanks,
> Yadu
>
> _______________________________________________
> Swift-devel mailing list
> Swift-devel at ci.uchicago.edu
> https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20131220/902963d1/attachment.html>


More information about the Swift-devel mailing list