<div dir="ltr"><div><div><div><div>Hi,<br><br></div>I add this line to sites.xml suggested by Mike:<br><br><?xml version="1.0" encoding="UTF-8"?><br>
<config xmlns="<a href="http://swift-lang.org/sites" target="_blank">http://swift-lang.org/sites</a>"><br><br>I still get this message at runtime:<br>[Error] sites.blues.xml, line 2, col 45: cvc-elt.1: Cannot find the declaration of element 'config'.<br>
<br></div><div>The run however proceeds fine.<br><br></div>Swift is trunk: r7042<br><br></div>Thanks,<br></div>Ketan<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Sep 8, 2013 at 2:51 AM, Mihael Hategan <span dir="ltr"><<a href="mailto:hategan@mcs.anl.gov" target="_blank">hategan@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Should now be fixed in r7042.<br>
<span class="HOEnZb"><font color="#888888"><br>
Mihael<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Tue, 2013-09-03 at 23:57 -0300, Luiz Gadelha wrote:<br>
> That's indeed what happens, I get the warning about the sites file and<br>
> the scripts execute correctly with provenance.log disabled.<br>
><br>
> Thanks,<br>
><br>
> Luiz<br>
><br>
> On 09/03/2013 12:08 PM, Mihael Hategan wrote:<br>
> > While that is true, schema checking of the sites file is optional.<br>
> > You'll get the warning seen below and swift should continue.<br>
> ><br>
> > I believe that the other error is due to the run-time. I'll take a look<br>
> > when I can.<br>
> ><br>
> > Mihael<br>
> ><br>
> > On Tue, 2013-09-03 at 07:43 -0500, Michael Wilde wrote:<br>
> >> Luiz, in trunk, stricter XML parsing is used now.  You need to start sites.xml with these two lines:<br>
> >><br>
> >> <?xml version="1.0" encoding="UTF-8"?><br>
> >> <config xmlns="<a href="http://swift-lang.org/sites" target="_blank">http://swift-lang.org/sites</a>"><br>
> >><br>
> >> We need to start using the README and Download pages to make people aware of changes like this.<br>
> >><br>
> >> - Mike<br>
> >><br>
> >><br>
> >> ----- Original Message -----<br>
> >>> From: "Luiz Gadelha" <<a href="mailto:lgadelha@lncc.br">lgadelha@lncc.br</a>><br>
> >>> To: <a href="mailto:swift-devel@ci.uchicago.edu">swift-devel@ci.uchicago.edu</a><br>
> >>> Sent: Tuesday, September 3, 2013 6:33:09 AM<br>
> >>> Subject: [Swift-devel] Trunk failing with provenance.log=true<br>
> >>><br>
> >>> Hi,<br>
> >>><br>
> >>> I'm getting the error message below when setting the provenance.log<br>
> >>> parameter to true in the latest trunk version. Both scripts I tested<br>
> >>> work with provenance.log disabled.<br>
> >>><br>
> >>> Regards,<br>
> >>><br>
> >>> Luiz<br>
> >>><br>
> >>> $ swift -sites.file sites-vortex.xml -tc.file tc-vortex.data<br>
> >>> blast.swift<br>
> >>> -d=genes.pep -i=seq3.seq -n=64<br>
> >>> Swift trunk swift-r7023 cog-r3768<br>
> >>> RunID: 20130903-0731-gg3aup4d<br>
> >>> Warning: The @ syntax for function invocation is deprecated<br>
> >>> [Error] sites-vortex.xml, line 1, col 9: cvc-elt.1: Cannot find the<br>
> >>> declaration of element 'config'.<br>
> >>><br>
> >>> Execution failed:<br>
> >>> java.lang.UnsupportedOperationException<br>
> >>>   k:concat @ swift.k, line: 29<br>
> >>> Caused by: java.lang.UnsupportedOperationException<br>
> >>>   at k.rt.Sink.getAll(Sink.java:45)<br>
> >>>   at org.globus.cog.karajan.util.TypeUtil.toString(TypeUtil.java:201)<br>
> >>>   at<br>
> >>> org.globus.cog.karajan.compiled.nodes.functions.Misc$Concat.function(Misc.java:448)<br>
> >>>   at<br>
> >>> org.globus.cog.karajan.compiled.nodes.functions.AbstractFunction.runBody(AbstractFunction.java:38)<br>
> >>>   at<br>
> >>> org.globus.cog.karajan.compiled.nodes.InternalFunction.run(InternalFunction.java:154)<br>
> >>>   at<br>
> >>> org.globus.cog.karajan.compiled.nodes.CompoundNode.runChild(CompoundNode.java:87)<br>
> >>>   at<br>
> >>> org.globus.cog.karajan.compiled.nodes.InternalFunction.run(InternalFunction.java:147)<br>
> >>>   at<br>
> >>> org.globus.cog.karajan.compiled.nodes.CompoundNode.runChild(CompoundNode.java:87)<br>
> >>>   at<br>
> >>>   org.globus.cog.karajan.compiled.nodes.Sequential.run(Sequential.java:22)<br>
> >>>   at<br>
> >>> org.globus.cog.karajan.compiled.nodes.CompoundNode.runChild(CompoundNode.java:87)<br>
> >>>   at<br>
> >>>   org.globus.cog.karajan.compiled.nodes.Sequential.run(Sequential.java:22)<br>
> >>>   at<br>
> >>> org.globus.cog.karajan.compiled.nodes.user.Function.runBody(Function.java:99)<br>
> >>>   at<br>
> >>> org.globus.cog.karajan.compiled.nodes.user.InvocationWrapper.runBody(InvocationWrapper.java:245)<br>
> >>>   at<br>
> >>> org.globus.cog.karajan.compiled.nodes.user.InvocationWrapper.run(InvocationWrapper.java:69)<br>
> >>>   at<br>
> >>> org.globus.cog.karajan.compiled.nodes.CompoundNode.runChild(CompoundNode.java:87)<br>
> >>>   at<br>
> >>> org.globus.cog.karajan.compiled.nodes.FramedInternalFunction.run(FramedInternalFunction.java:63)<br>
> >>>   at org.globus.cog.karajan.compiled.nodes.Main.run(Main.java:79)<br>
> >>>   at k.thr.LWThread.run(LWThread.java:228)<br>
> >>>   at<br>
> >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)<br>
> >>>   at<br>
> >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)<br>
> >>>   at java.lang.Thread.run(Thread.java:679)<br>
> >>><br>
> >>><br>
> >>> $ swift foreach.swift<br>
> >>> Swift trunk swift-r7023 cog-r3768<br>
> >>> RunID: 20130903-0755-r4lxbb67<br>
> >>> Warning: The @ syntax for function invocation is deprecated<br>
> >>> [Error] sites.xml, line 1, col 9: cvc-elt.1: Cannot find the<br>
> >>> declaration<br>
> >>> of element 'config'.<br>
> >>><br>
> >>> Execution failed:<br>
> >>> java.lang.UnsupportedOperationException<br>
> >>>   k:concat @ swift.k, line: 29<br>
> >>> Caused by: java.lang.UnsupportedOperationException<br>
> >>>   at k.rt.Sink.getAll(Sink.java:45)<br>
> >>>   at org.globus.cog.karajan.util.TypeUtil.toString(TypeUtil.java:201)<br>
> >>>   at<br>
> >>> org.globus.cog.karajan.compiled.nodes.functions.Misc$Concat.function(Misc.java:448)<br>
> >>>   at<br>
> >>> org.globus.cog.karajan.compiled.nodes.functions.AbstractFunction.runBody(AbstractFunction.java:38)<br>
> >>>   at<br>
> >>> org.globus.cog.karajan.compiled.nodes.InternalFunction.run(InternalFunction.java:154)<br>
> >>>   at<br>
> >>> org.globus.cog.karajan.compiled.nodes.CompoundNode.runChild(CompoundNode.java:87)<br>
> >>>   at<br>
> >>> org.globus.cog.karajan.compiled.nodes.InternalFunction.run(InternalFunction.java:147)<br>
> >>>   at<br>
> >>> org.globus.cog.karajan.compiled.nodes.CompoundNode.runChild(CompoundNode.java:87)<br>
> >>>   at<br>
> >>>   org.globus.cog.karajan.compiled.nodes.Sequential.run(Sequential.java:22)<br>
> >>>   at<br>
> >>> org.globus.cog.karajan.compiled.nodes.CompoundNode.runChild(CompoundNode.java:87)<br>
> >>>   at<br>
> >>>   org.globus.cog.karajan.compiled.nodes.Sequential.run(Sequential.java:22)<br>
> >>>   at<br>
> >>> org.globus.cog.karajan.compiled.nodes.user.Function.runBody(Function.java:99)<br>
> >>>   at<br>
> >>> org.globus.cog.karajan.compiled.nodes.user.InvocationWrapper.runBody(InvocationWrapper.java:245)<br>
> >>>   at<br>
> >>> org.globus.cog.karajan.compiled.nodes.user.InvocationWrapper.run(InvocationWrapper.java:69)<br>
> >>>   at<br>
> >>> org.globus.cog.karajan.compiled.nodes.CompoundNode.runChild(CompoundNode.java:87)<br>
> >>>   at<br>
> >>> org.globus.cog.karajan.compiled.nodes.FramedInternalFunction.run(FramedInternalFunction.java:63)<br>
> >>>   at org.globus.cog.karajan.compiled.nodes.Main.run(Main.java:79)<br>
> >>>   at k.thr.LWThread.run(LWThread.java:228)<br>
> >>>   at<br>
> >>> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)<br>
> >>>   at<br>
> >>> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)<br>
> >>>   at java.lang.Thread.run(Thread.java:679)<br>
> >>><br>
> >>> --<br>
> >>> Luiz Gadelha<br>
> >>> <a href="http://www.lncc.br/~lgadelha" target="_blank">http://www.lncc.br/~lgadelha</a><br>
> >>> _______________________________________________<br>
> >>> Swift-devel mailing list<br>
> >>> <a href="mailto:Swift-devel@ci.uchicago.edu">Swift-devel@ci.uchicago.edu</a><br>
> >>> <a href="https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel" target="_blank">https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel</a><br>
> >>><br>
> >> _______________________________________________<br>
> >> Swift-devel mailing list<br>
> >> <a href="mailto:Swift-devel@ci.uchicago.edu">Swift-devel@ci.uchicago.edu</a><br>
> >> <a href="https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel" target="_blank">https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel</a><br>
> ><br>
> ><br>
><br>
><br>
<br>
<br>
_______________________________________________<br>
Swift-devel mailing list<br>
<a href="mailto:Swift-devel@ci.uchicago.edu">Swift-devel@ci.uchicago.edu</a><br>
<a href="https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel" target="_blank">https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><font face="'courier new', monospace">Ketan</font><br><br>
</div>