Thanks Mihael,<br>  So far it passes all of the SwiftR test suite - looks good :)<br><br>- Tim<br><br><div class="gmail_quote">On Sun, Feb 13, 2011 at 10:25 PM, Michael Wilde <span dir="ltr"><<a href="mailto:wilde@mcs.anl.gov">wilde@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Great - seems to work with the latest trunk rev. Same sites file but with localhost added - sleep app ran on localhost only. Tim, can you see if trunk now supports SwiftR?<br>

<br>
Thanks!<br>
<br>
- Mike<br>
<br>
login1$ swift -config swift.properties -tc.file tc -sites.file tsites.xml tsleep.swift<br>
Swift svn swift-r4087 cog-r3051<br>
<br>
RunID: 20110213-2222-g1t8t4xg<br>
Progress:  time:0<br>
Progress:  time:1006  Submitting:21  Submitted:4  Active:75<br>
Progress:  time:2641  Active:99  Checking status:1<br>
Progress:  time:3656  Active:31  Checking status:1  Finished successfully:68<br>
Final status:  time:3768  Finished successfully:100<br>
Time: 5.009, rate: 3270 j/s<br>
login1$<br>
<div><div></div><div class="h5"><br>
<br>
----- Original Message -----<br>
> Cool - will test.<br>
><br>
> Here's an example of the failure. Tiny swift script, but a lengthy<br>
> (OSG) sites.xml:<br>
><br>
> login1$ swift -config swift.properties -sites.file coaster_osg.xml<br>
> tsleep.swift<br>
> Execution failed:<br>
> java.lang.NullPointerException<br>
> at org.globus.cog.karajan.Optimizer.optimize0(Optimizer.java:36)<br>
> at org.globus.cog.karajan.Optimizer.optimize(Optimizer.java:28)<br>
> at<br>
> org.globus.cog.karajan.util.serialization.XMLConverter.read(XMLConverter.java:207)<br>
> at<br>
> org.globus.cog.karajan.util.serialization.XMLConverter.read(XMLConverter.java:192)<br>
> at<br>
> org.globus.cog.karajan.workflow.nodes.ExecuteFile.post(ExecuteFile.java:128)<br>
> at<br>
> org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments.completed(AbstractSequentialWithArguments.java:196)<br>
> at<br>
> org.globus.cog.karajan.workflow.nodes.ExecuteFile.completed(ExecuteFile.java:155)<br>
> at<br>
> org.globus.cog.karajan.workflow.nodes.FlowNode.complete(FlowNode.java:214)<br>
> at<br>
> org.globus.cog.karajan.workflow.nodes.FlowContainer.post(FlowContainer.java:58)<br>
> at<br>
> org.globus.cog.karajan.workflow.nodes.functions.AbstractFunction.post(AbstractFunction.java:28)<br>
> at<br>
> org.globus.cog.karajan.workflow.nodes.Sequential.startNext(Sequential.java:29)<br>
> at<br>
> org.globus.cog.karajan.workflow.nodes.Sequential.executeChildren(Sequential.java:20)<br>
> at<br>
> org.globus.cog.karajan.workflow.nodes.FlowContainer.execute(FlowContainer.java:63)<br>
> at<br>
> org.globus.cog.karajan.workflow.nodes.FlowNode.restart(FlowNode.java:139)<br>
> at<br>
> org.globus.cog.karajan.workflow.nodes.FlowNode.start(FlowNode.java:197)<br>
> at<br>
> org.globus.cog.karajan.workflow.FlowElementWrapper.start(FlowElementWrapper.java:227)<br>
> at<br>
> org.globus.cog.karajan.workflow.events.EventBus.start(EventBus.java:104)<br>
> at<br>
> org.globus.cog.karajan.workflow.events.EventTargetPair.run(EventTargetPair.java:40)<br>
> at<br>
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)<br>
> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)<br>
> at java.util.concurrent.FutureTask.run(FutureTask.java:138)<br>
> at<br>
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)<br>
> at<br>
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)<br>
> at java.lang.Thread.run(Thread.java:662)<br>
><br>
> Time: 0.734, rate: 22321 j/s<br>
> login1$ cat tsleep.swift<br>
> app sleep(string time) {<br>
> sleep time;<br>
> }<br>
><br>
><br>
> /* Main program */<br>
><br>
> string t = "1.1";<br>
><br>
> foreach ai,i in [0:99] {<br>
> sleep(t);<br>
> }<br>
> login1$ cat coaster_osg.xml<br>
><br>
> <config><br>
><br>
><br>
> <pool handle="<a href="http://Nebraska__gpn-husker.unl.edu" target="_blank">Nebraska__gpn-husker.unl.edu</a>"><br>
> <execution provider="coaster-persistent"<br>
> url="<a href="https://communicado.ci.uchicago.edu:62100" target="_blank">https://communicado.ci.uchicago.edu:62100</a>"<br>
> jobmanager="local:local" /><br>
><br>
> <profile namespace="globus" key="workerManager">passive</profile><br>
><br>
> <profile namespace="karajan" key="initialScore">200.0</profile><br>
> <profile namespace="karajan" key="jobThrottle">10.92</profile><br>
><br>
> <gridftp url="gsiftp://<a href="http://gpn-husker.unl.edu" target="_blank">gpn-husker.unl.edu</a>"/><br>
> <workdirectory>/opt/osg/data/engage/mp01/swift_scratch</workdirectory><br>
> </pool><br>
><br>
><br>
> <pool handle="<a href="http://LIGO_UWM_NEMO__osg-nemo-ce.phys.uwm.edu" target="_blank">LIGO_UWM_NEMO__osg-nemo-ce.phys.uwm.edu</a>"><br>
> <execution provider="coaster-persistent"<br>
> url="<a href="https://communicado.ci.uchicago.edu:62101" target="_blank">https://communicado.ci.uchicago.edu:62101</a>"<br>
> jobmanager="local:local" /><br>
><br>
> <profile namespace="globus" key="workerManager">passive</profile><br>
><br>
> <profile namespace="karajan" key="initialScore">200.0</profile><br>
> <profile namespace="karajan" key="jobThrottle">45.0</profile><br>
><br>
> <gridftp url="gsiftp://<a href="http://osg-nemo-ce.phys.uwm.edu" target="_blank">osg-nemo-ce.phys.uwm.edu</a>"/><br>
> <workdirectory>/opt/osg/data/engage/mp01/swift_scratch</workdirectory><br>
> </pool><br>
><br>
><br>
> <pool handle="<a href="http://GLOW__osggrid01.hep.wisc.edu" target="_blank">GLOW__osggrid01.hep.wisc.edu</a>"><br>
> <execution provider="coaster-persistent"<br>
> url="<a href="https://communicado.ci.uchicago.edu:62102" target="_blank">https://communicado.ci.uchicago.edu:62102</a>"<br>
> jobmanager="local:local" /><br>
><br>
> <profile namespace="globus" key="workerManager">passive</profile><br>
><br>
> <profile namespace="karajan" key="initialScore">200.0</profile><br>
> <profile namespace="karajan" key="jobThrottle">86.9</profile><br>
><br>
> <gridftp url="gsiftp://<a href="http://osggrid01.hep.wisc.edu" target="_blank">osggrid01.hep.wisc.edu</a>"/><br>
> <workdirectory>/afs/<a href="http://hep.wisc.edu/osg/data/engage/mp01/swift_scratch" target="_blank">hep.wisc.edu/osg/data/engage/mp01/swift_scratch</a></workdirectory><br>
> </pool><br>
><br>
><br>
> <pool handle="<a href="http://USCMS-FNAL-WC1__cmsosgce3.fnal.gov" target="_blank">USCMS-FNAL-WC1__cmsosgce3.fnal.gov</a>"><br>
> <execution provider="coaster-persistent"<br>
> url="<a href="https://communicado.ci.uchicago.edu:62103" target="_blank">https://communicado.ci.uchicago.edu:62103</a>"<br>
> jobmanager="local:local" /><br>
><br>
> <profile namespace="globus" key="workerManager">passive</profile><br>
><br>
> <profile namespace="karajan" key="initialScore">200.0</profile><br>
> <profile namespace="karajan" key="jobThrottle">68.46</profile><br>
><br>
> <gridftp url="gsiftp://<a href="http://cmsosgce3.fnal.gov" target="_blank">cmsosgce3.fnal.gov</a>"/><br>
> <workdirectory>/uscms_grid/data/engage/mp01/swift_scratch</workdirectory><br>
> </pool><br>
><br>
><br>
> <pool handle="<a href="http://MIT_CMS__ce01.cmsaf.mit.edu" target="_blank">MIT_CMS__ce01.cmsaf.mit.edu</a>"><br>
> <execution provider="coaster-persistent"<br>
> url="<a href="https://communicado.ci.uchicago.edu:62104" target="_blank">https://communicado.ci.uchicago.edu:62104</a>"<br>
> jobmanager="local:local" /><br>
><br>
> <profile namespace="globus" key="workerManager">passive</profile><br>
><br>
> <profile namespace="karajan" key="initialScore">200.0</profile><br>
> <profile namespace="karajan" key="jobThrottle">9999.97</profile><br>
><br>
> <gridftp url="gsiftp://<a href="http://ce01.cmsaf.mit.edu" target="_blank">ce01.cmsaf.mit.edu</a>"/><br>
> <workdirectory>/osg/data/engage/mp01/swift_scratch</workdirectory><br>
> </pool><br>
><br>
><br>
> <pool handle="<a href="http://MIT_CMS__ce02.cmsaf.mit.edu" target="_blank">MIT_CMS__ce02.cmsaf.mit.edu</a>"><br>
> <execution provider="coaster-persistent"<br>
> url="<a href="https://communicado.ci.uchicago.edu:62105" target="_blank">https://communicado.ci.uchicago.edu:62105</a>"<br>
> jobmanager="local:local" /><br>
><br>
> <profile namespace="globus" key="workerManager">passive</profile><br>
><br>
> <profile namespace="karajan" key="initialScore">200.0</profile><br>
> <profile namespace="karajan" key="jobThrottle">27.58</profile><br>
><br>
> <gridftp url="gsiftp://<a href="http://ce02.cmsaf.mit.edu" target="_blank">ce02.cmsaf.mit.edu</a>"/><br>
> <workdirectory>/osg/data/engage/mp01/swift_scratch</workdirectory><br>
> </pool><br>
><br>
><br>
> <pool handle="<a href="http://BNL-ATLAS__gridgk01.racf.bnl.gov" target="_blank">BNL-ATLAS__gridgk01.racf.bnl.gov</a>"><br>
> <execution provider="coaster-persistent"<br>
> url="<a href="https://communicado.ci.uchicago.edu:62106" target="_blank">https://communicado.ci.uchicago.edu:62106</a>"<br>
> jobmanager="local:local" /><br>
><br>
> <profile namespace="globus" key="workerManager">passive</profile><br>
><br>
> <profile namespace="karajan" key="initialScore">200.0</profile><br>
> <profile namespace="karajan" key="jobThrottle">50.35</profile><br>
><br>
> <gridftp url="gsiftp://<a href="http://gridgk01.racf.bnl.gov" target="_blank">gridgk01.racf.bnl.gov</a>"/><br>
> <workdirectory>/usatlas/prodjob/share/engage-mp01/swift_scratch</workdirectory><br>
> </pool><br>
><br>
><br>
> <pool handle="<a href="http://UFlorida-HPC__osg.hpc.ufl.edu" target="_blank">UFlorida-HPC__osg.hpc.ufl.edu</a>"><br>
> <execution provider="coaster-persistent"<br>
> url="<a href="https://communicado.ci.uchicago.edu:62107" target="_blank">https://communicado.ci.uchicago.edu:62107</a>"<br>
> jobmanager="local:local" /><br>
><br>
> <profile namespace="globus" key="workerManager">passive</profile><br>
><br>
> <profile namespace="karajan" key="initialScore">200.0</profile><br>
> <profile namespace="karajan" key="jobThrottle">31.7</profile><br>
><br>
> <gridftp url="gsiftp://<a href="http://osg.hpc.ufl.edu" target="_blank">osg.hpc.ufl.edu</a>"/><br>
> <workdirectory>/osg/data/engage/mp01/swift_scratch</workdirectory><br>
> </pool><br>
><br>
><br>
> <pool handle="<a href="http://WQCG-Harvard-OSG__tuscany.med.harvard.edu" target="_blank">WQCG-Harvard-OSG__tuscany.med.harvard.edu</a>"><br>
> <execution provider="coaster-persistent"<br>
> url="<a href="https://communicado.ci.uchicago.edu:62108" target="_blank">https://communicado.ci.uchicago.edu:62108</a>"<br>
> jobmanager="local:local" /><br>
><br>
> <profile namespace="globus" key="workerManager">passive</profile><br>
><br>
> <profile namespace="karajan" key="initialScore">200.0</profile><br>
> <profile namespace="karajan" key="jobThrottle">0.22</profile><br>
><br>
> <gridftp url="gsiftp://<a href="http://tuscany.med.harvard.edu" target="_blank">tuscany.med.harvard.edu</a>"/><br>
> <workdirectory>/osg/storage/data/engage/mp01/swift_scratch</workdirectory><br>
> </pool><br>
><br>
><br>
> <pool handle="<a href="http://UMissHEP__umiss001.hep.olemiss.edu" target="_blank">UMissHEP__umiss001.hep.olemiss.edu</a>"><br>
> <execution provider="coaster-persistent"<br>
> url="<a href="https://communicado.ci.uchicago.edu:62109" target="_blank">https://communicado.ci.uchicago.edu:62109</a>"<br>
> jobmanager="local:local" /><br>
><br>
> <profile namespace="globus" key="workerManager">passive</profile><br>
><br>
> <profile namespace="karajan" key="initialScore">200.0</profile><br>
> <profile namespace="karajan" key="jobThrottle">1.42</profile><br>
><br>
> <gridftp url="gsiftp://<a href="http://umiss001.hep.olemiss.edu" target="_blank">umiss001.hep.olemiss.edu</a>"/><br>
> <workdirectory>/osgremote/osg_data/engage/mp01/swift_scratch</workdirectory><br>
> </pool><br>
><br>
><br>
> <pool handle="<a href="http://Prairiefire__pf-grid.unl.edu" target="_blank">Prairiefire__pf-grid.unl.edu</a>"><br>
> <execution provider="coaster-persistent"<br>
> url="<a href="https://communicado.ci.uchicago.edu:62110" target="_blank">https://communicado.ci.uchicago.edu:62110</a>"<br>
> jobmanager="local:local" /><br>
><br>
> <profile namespace="globus" key="workerManager">passive</profile><br>
><br>
> <profile namespace="karajan" key="initialScore">200.0</profile><br>
> <profile namespace="karajan" key="jobThrottle">3.18</profile><br>
><br>
> <gridftp url="gsiftp://<a href="http://pf-grid.unl.edu" target="_blank">pf-grid.unl.edu</a>"/><br>
> <workdirectory>/opt/pfgriddata/engage/mp01/swift_scratch</workdirectory><br>
> </pool><br>
><br>
><br>
> <pool handle="<a href="http://SPRACE__osg-ce.sprace.org.br" target="_blank">SPRACE__osg-ce.sprace.org.br</a>"><br>
> <execution provider="coaster-persistent"<br>
> url="<a href="https://communicado.ci.uchicago.edu:62111" target="_blank">https://communicado.ci.uchicago.edu:62111</a>"<br>
> jobmanager="local:local" /><br>
><br>
> <profile namespace="globus" key="workerManager">passive</profile><br>
><br>
> <profile namespace="karajan" key="initialScore">200.0</profile><br>
> <profile namespace="karajan" key="jobThrottle">3.09</profile><br>
><br>
> <gridftp url="gsiftp://<a href="http://osg-ce.sprace.org.br" target="_blank">osg-ce.sprace.org.br</a>"/><br>
> <workdirectory>/osg/data/engage/mp01/swift_scratch</workdirectory><br>
> </pool><br>
><br>
><br>
> <pool handle="<a href="http://Purdue-RCAC__osg.rcac.purdue.edu" target="_blank">Purdue-RCAC__osg.rcac.purdue.edu</a>"><br>
> <execution provider="coaster-persistent"<br>
> url="<a href="https://communicado.ci.uchicago.edu:62112" target="_blank">https://communicado.ci.uchicago.edu:62112</a>"<br>
> jobmanager="local:local" /><br>
><br>
> <profile namespace="globus" key="workerManager">passive</profile><br>
><br>
> <profile namespace="karajan" key="initialScore">200.0</profile><br>
> <profile namespace="karajan" key="jobThrottle">9999.97</profile><br>
><br>
> <gridftp url="gsiftp://<a href="http://osg.rcac.purdue.edu" target="_blank">osg.rcac.purdue.edu</a>"/><br>
> <workdirectory>/scratch/osg/engage/mp01/swift_scratch</workdirectory><br>
> </pool><br>
><br>
><br>
> <pool handle="<a href="http://CIT_CMS_T2__cit-gatekeeper.ultralight.org" target="_blank">CIT_CMS_T2__cit-gatekeeper.ultralight.org</a>"><br>
> <execution provider="coaster-persistent"<br>
> url="<a href="https://communicado.ci.uchicago.edu:62113" target="_blank">https://communicado.ci.uchicago.edu:62113</a>"<br>
> jobmanager="local:local" /><br>
><br>
> <profile namespace="globus" key="workerManager">passive</profile><br>
><br>
> <profile namespace="karajan" key="initialScore">200.0</profile><br>
> <profile namespace="karajan" key="jobThrottle">2.19</profile><br>
><br>
> <gridftp url="gsiftp://<a href="http://cit-gatekeeper.ultralight.org" target="_blank">cit-gatekeeper.ultralight.org</a>"/><br>
> <workdirectory>/raid2/osg-data/engage/mp01/swift_scratch</workdirectory><br>
> </pool><br>
><br>
><br>
> <pool handle="<a href="http://CIT_CMS_T2__cit-gatekeeper2.ultralight.org" target="_blank">CIT_CMS_T2__cit-gatekeeper2.ultralight.org</a>"><br>
> <execution provider="coaster-persistent"<br>
> url="<a href="https://communicado.ci.uchicago.edu:62114" target="_blank">https://communicado.ci.uchicago.edu:62114</a>"<br>
> jobmanager="local:local" /><br>
><br>
> <profile namespace="globus" key="workerManager">passive</profile><br>
><br>
> <profile namespace="karajan" key="initialScore">200.0</profile><br>
> <profile namespace="karajan" key="jobThrottle">2.17</profile><br>
><br>
> <gridftp url="gsiftp://<a href="http://cit-gatekeeper2.ultralight.org" target="_blank">cit-gatekeeper2.ultralight.org</a>"/><br>
> <workdirectory>/raid2/osg-data/engage/mp01/swift_scratch</workdirectory><br>
> </pool><br>
><br>
><br>
> <pool handle="<a href="http://Nebraska__red.unl.edu" target="_blank">Nebraska__red.unl.edu</a>"><br>
> <execution provider="coaster-persistent"<br>
> url="<a href="https://communicado.ci.uchicago.edu:62115" target="_blank">https://communicado.ci.uchicago.edu:62115</a>"<br>
> jobmanager="local:local" /><br>
><br>
> <profile namespace="globus" key="workerManager">passive</profile><br>
><br>
> <profile namespace="karajan" key="initialScore">200.0</profile><br>
> <profile namespace="karajan" key="jobThrottle">4.07</profile><br>
><br>
> <gridftp url="gsiftp://<a href="http://red.unl.edu" target="_blank">red.unl.edu</a>"/><br>
> <workdirectory>/opt/osg/data/engage/mp01/swift_scratch</workdirectory><br>
> </pool><br>
><br>
><br>
> <pool handle="<a href="http://BNL-ATLAS__gridgk02.racf.bnl.gov" target="_blank">BNL-ATLAS__gridgk02.racf.bnl.gov</a>"><br>
> <execution provider="coaster-persistent"<br>
> url="<a href="https://communicado.ci.uchicago.edu:62116" target="_blank">https://communicado.ci.uchicago.edu:62116</a>"<br>
> jobmanager="local:local" /><br>
><br>
> <profile namespace="globus" key="workerManager">passive</profile><br>
><br>
> <profile namespace="karajan" key="initialScore">200.0</profile><br>
> <profile namespace="karajan" key="jobThrottle">50.05</profile><br>
><br>
> <gridftp url="gsiftp://<a href="http://gridgk02.racf.bnl.gov" target="_blank">gridgk02.racf.bnl.gov</a>"/><br>
> <workdirectory>/usatlas/prodjob/share/engage-mp01/swift_scratch</workdirectory><br>
> </pool><br>
><br>
><br>
> <pool handle="<a href="http://BNL-ATLAS__gridgk05.racf.bnl.gov" target="_blank">BNL-ATLAS__gridgk05.racf.bnl.gov</a>"><br>
> <execution provider="coaster-persistent"<br>
> url="<a href="https://communicado.ci.uchicago.edu:62117" target="_blank">https://communicado.ci.uchicago.edu:62117</a>"<br>
> jobmanager="local:local" /><br>
><br>
> <profile namespace="globus" key="workerManager">passive</profile><br>
><br>
> <profile namespace="karajan" key="initialScore">200.0</profile><br>
> <profile namespace="karajan" key="jobThrottle">49.69</profile><br>
><br>
> <gridftp url="gsiftp://<a href="http://gridgk05.racf.bnl.gov" target="_blank">gridgk05.racf.bnl.gov</a>"/><br>
> <workdirectory>/usatlas/prodjob/share/engage-mp01/swift_scratch</workdirectory><br>
> </pool><br>
><br>
><br>
> <pool handle="<a href="http://UFlorida-PG__pg.ihepa.ufl.edu" target="_blank">UFlorida-PG__pg.ihepa.ufl.edu</a>"><br>
> <execution provider="coaster-persistent"<br>
> url="<a href="https://communicado.ci.uchicago.edu:62118" target="_blank">https://communicado.ci.uchicago.edu:62118</a>"<br>
> jobmanager="local:local" /><br>
><br>
> <profile namespace="globus" key="workerManager">passive</profile><br>
><br>
> <profile namespace="karajan" key="initialScore">200.0</profile><br>
> <profile namespace="karajan" key="jobThrottle">9999.97</profile><br>
><br>
> <gridftp url="gsiftp://<a href="http://pg.ihepa.ufl.edu" target="_blank">pg.ihepa.ufl.edu</a>"/><br>
> <workdirectory>/lustre/pg/data/engage/mp01/swift_scratch</workdirectory><br>
> </pool><br>
><br>
><br>
> <pool handle="<a href="http://RENCI-Engagement__belhaven-1.renci.org" target="_blank">RENCI-Engagement__belhaven-1.renci.org</a>"><br>
> <execution provider="coaster-persistent"<br>
> url="<a href="https://communicado.ci.uchicago.edu:62119" target="_blank">https://communicado.ci.uchicago.edu:62119</a>"<br>
> jobmanager="local:local" /><br>
><br>
> <profile namespace="globus" key="workerManager">passive</profile><br>
><br>
> <profile namespace="karajan" key="initialScore">200.0</profile><br>
> <profile namespace="karajan" key="jobThrottle">2.73</profile><br>
><br>
> <gridftp url="gsiftp://<a href="http://belhaven-1.renci.org" target="_blank">belhaven-1.renci.org</a>"/><br>
> <workdirectory>/nfs/osg-data/engage/mp01/swift_scratch</workdirectory><br>
> </pool><br>
><br>
> </config><br>
><br>
><br>
> ----- Original Message -----<br>
> > Fixed in cog r3051.<br>
> ><br>
> > It would however be useful to see the swift script that caused this.<br>
> ><br>
> > On Mon, 2011-02-07 at 20:00 -0600, Michael Wilde wrote:<br>
> > > Tim, I saw the same problem. The similar problem I reported<br>
> > > occurred<br>
> > > when I tried a simpler script to test basic sanity. I thought they<br>
> > > were related but apparently not.<br>
> > ><br>
> > ><br>
> > > - Mike<br>
> > ><br>
> > ><br>
> > ><br>
> > > ______________________________________________________________________<br>
> > >         P.S. I am doing a clean build from the the latest svn<br>
> > >         versions of swift and cog<br>
> > ><br>
> > >         On Mon, Feb 7, 2011 at 4:33 PM, Tim Armstrong<br>
> > >         <<a href="mailto:tim.g.armstrong@gmail.com">tim.g.armstrong@gmail.com</a>> wrote:<br>
> > >                 I've run into a different problem...<br>
> > ><br>
> > >                 Swift fails with the following exception:<br>
> > ><br>
> > >                 Execution failed:<br>
> > >                         java.lang.NullPointerException<br>
> > >                         at<br>
> > >                 org.globus.cog.karajan.Optimizer.optimize0(Optimizer.java:36)<br>
> > >                         at<br>
> > >                 org.globus.cog.karajan.Optimizer.optimize(Optimizer.java:28)<br>
> > >                         at<br>
> > >                 org.globus.cog.karajan.util.serialization.XMLConverter.read(XMLConverter.java:207)<br>
> > >                         at<br>
> > >                 org.globus.cog.karajan.util.serialization.XMLConverter.read(XMLConverter.java:192)<br>
> > >                         at<br>
> > >                 org.globus.cog.karajan.workflow.nodes.ExecuteFile.post(ExecuteFile.java:128)<br>
> > ><br>
> > >                         at<br>
> > >                 org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments.completed(AbstractSequentialWithArguments.java:196)<br>
> > ><br>
> > >                         at<br>
> > >                 org.globus.cog.karajan.workflow.nodes.ExecuteFile.completed(ExecuteFile.java:155)<br>
> > ><br>
> > >                         at<br>
> > >                 org.globus.cog.karajan.workflow.nodes.FlowNode.complete(FlowNode.java:214)<br>
> > >                         at<br>
> > >                 org.globus.cog.karajan.workflow.nodes.FlowContainer.post(FlowContainer.java:58)<br>
> > >                         at<br>
> > >                 org.globus.cog.karajan.workflow.nodes.functions.AbstractFunction.post(AbstractFunction.java:28)<br>
> > >                         at<br>
> > >                 org.globus.cog.karajan.workflow.nodes.Sequential.startNext(Sequential.java:29)<br>
> > >                         at<br>
> > >                 org.globus.cog.karajan.workflow.nodes.Sequential.executeChildren(Sequential.java:20)<br>
> > >                         at<br>
> > >                 org.globus.cog.karajan.workflow.nodes.FlowContainer.execute(FlowContainer.java:63)<br>
> > >                         at<br>
> > >                 org.globus.cog.karajan.workflow.nodes.FlowNode.restart(FlowNode.java:139)<br>
> > >                         at<br>
> > >                 org.globus.cog.karajan.workflow.nodes.FlowNode.start(FlowNode.java:197)<br>
> > >                         at<br>
> > >                 org.globus.cog.karajan.workflow.FlowElementWrapper.start(FlowElementWrapper.java:227)<br>
> > >                         at<br>
> > >                 org.globus.cog.karajan.workflow.events.EventBus.start(EventBus.java:104)<br>
> > >                         at<br>
> > >                 org.globus.cog.karajan.workflow.events.EventTargetPair.run(EventTargetPair.java:40)<br>
> > >                         at java.util.concurrent.Executors<br>
> > >                 $RunnableAdapter.call(Executors.java:441)<br>
> > >                         at java.util.concurrent.FutureTask<br>
> > >                 $Sync.innerRun(FutureTask.java:303)<br>
> > >                         at<br>
> > >                 java.util.concurrent.FutureTask.run(FutureTask.java:138)<br>
> > >                         at java.util.concurrent.ThreadPoolExecutor<br>
> > >                 $Worker.runTask(ThreadPoolExecutor.java:886)<br>
> > >                         at java.util.concurrent.ThreadPoolExecutor<br>
> > >                 $Worker.run(ThreadPoolExecutor.java:908)<br>
> > >                         at java.lang.Thread.run(Thread.java:619)<br>
> > ><br>
> > ><br>
> > >                 Time: 0.535, rate: 30624 j/s<br>
> > ><br>
> > >                 Nothing really appears in the logs:<br>
> > >                 2011-02-07 16:32:22,668-0600 DEBUG Loader Loader<br>
> > >                 started<br>
> > ><br>
> > ><br>
> > >                 - Tim<br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > >                 On Mon, Feb 7, 2011 at 12:54 PM, Mihael Hategan<br>
> > >                 <<a href="mailto:hategan@mcs.anl.gov">hategan@mcs.anl.gov</a>> wrote:<br>
> > >                         Should be fixed now.<br>
> > ><br>
> > ><br>
> > >                         On Mon, 2011-02-07 at 10:03 -0800, Mihael<br>
> > >                         Hategan wrote:<br>
> > >                         > Ooops. I didn't get any emails over the<br>
> > >                         weekend (well, it seems I did,<br>
> > >                         > but my otherwise reliable email<br>
> > >                         > notification<br>
> > >                         didn't work). So I'm a bit<br>
> > >                         > behind.<br>
> > >                         ><br>
> > >                         > Mihael<br>
> > >                         ><br>
> > >                         > On Fri, 2011-02-04 at 14:44 -0600,<br>
> > >                         > Michael<br>
> > >                         Wilde wrote:<br>
> > >                         > > Im getting strange errors from trunk<br>
> > >                         > > at<br>
> > >                         the moment from previously working<br>
> > >                         scripts.<br>
> > >                         Seemed to be unable to parse sites.xml.<br>
> > >                         > ><br>
> > >                         > > In the process of debugging this, I<br>
> > >                         > > find<br>
> > >                         that I cant get the simplest of swift<br>
> > >                         scripts<br>
> > >                         (a single trace statement) to run.<br>
> > >                         > ><br>
> > >                         > > Is anyone else encountering similar<br>
> > >                         problems?<br>
> > >                         > ><br>
> > >                         > > Here's what I get:<br>
> > >                         > ><br>
> > >                         > > com$ cat hi.swift<br>
> > >                         > > trace("hi");<br>
> > >                         > > com$ java -version<br>
> > >                         > > java version "1.6.0_20"<br>
> > >                         > > Java(TM) SE Runtime Environment (build<br>
> > >                         1.6.0_20-b02)<br>
> > >                         > > Java HotSpot(TM) 64-Bit Server VM<br>
> > >                         > > (build<br>
> > >                         16.3-b01, mixed mode)<br>
> > >                         > > com$ swift -version<br>
> > >                         > > Swift svn swift-r4061 cog-r3046<br>
> > >                         > ><br>
> > >                         > > com$ swift hi.swift<br>
> > >                         > > Swift svn swift-r4061 cog-r3046<br>
> > >                         > ><br>
> > >                         > > RunID: 20110204-1439-j430gp9g<br>
> > >                         > > Progress: time:0<br>
> > >                         > > Execution failed:<br>
> > >                         > >         1 names specified; 0 arguments<br>
> > >                         found<br>
> > >                         > > Time: 1.179, rate: 13896 j/s<br>
> > >                         > > com$ cat hi.xml<br>
> > >                         > > <program<br>
> > >                         xmlns="<a href="http://ci.uchicago.edu/swift/2009/02/swiftscript" target="_blank">http://ci.uchicago.edu/swift/2009/02/swiftscript</a>"<br>
> > >                         > ><br>
> > >                          xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>"<br>
> > >                         > ><br>
> > >                          xmlns:xs="<a href="http://www.w3.org/2001/XMLSchema" target="_blank">http://www.w3.org/2001/XMLSchema</a>"><br>
> > >                         > >   <call proc="trace" src="line 1"><br>
> > >                         > ><br>
> > >                         <input><stringConstant>hi</stringConstant></input><br>
> > >                         > >   </call><br>
> > >                         > > </program><br>
> > >                         > > com$<br>
> > >                         > ><br>
> > >                         > > com$ cat *9g.log<br>
> > >                         > > 2011-02-04 14:39:29,205-0600 DEBUG<br>
> > >                         > > Loader<br>
> > >                         Max heap: 238616576<br>
> > >                         > > 2011-02-04 14:39:29,206-0600 DEBUG<br>
> > >                         > > Loader<br>
> > >                         kmlversion is<br>
> > >                         >a1ce0de8-81e9-4226-987a-0bbcb40af008<<br>
> > >                         > > 2011-02-04 14:39:29,207-0600 DEBUG<br>
> > >                         > > Loader<br>
> > >                         build version is<br>
> > >                         >a1ce0de8-81e9-4226-987a-0bbcb40af008<<br>
> > >                         > > 2011-02-04 14:39:29,207-0600 DEBUG<br>
> > >                         > > Loader<br>
> > >                         Recompilation suppressed.<br>
> > >                         > > 2011-02-04 14:39:29,343-0600 INFO<br>
> > >                          VDL2ExecutionContext Stack dump:<br>
> > >                         > > Level 1<br>
> > >                         > > [iA = 0, iB = 0, bA = false, bB =<br>
> > >                         > > false]<br>
> > >                         > >         vdl:instanceconfig = Swift<br>
> > >                         configuration []<br>
> > >                         > >         vdl:operation = run<br>
> > >                         > >         swift.home<br>
> > >                         = /home/wilde/swift/rev/trunk/bin/..<br>
> > >                         > >         PATH_SEPARATOR = /<br>
> > >                         > ><br>
> > >                         > ><br>
> > >                         > > 2011-02-04 14:39:29,900-0600 INFO<br>
> > >                         > > unknown<br>
> > >                         Using sites<br>
> > >                         file:<br>
> > >                         /home/wilde/swift/rev/trunk/bin/../etc/sites.xml<br>
> > >                         > > 2011-02-04 14:39:29,928-0600 INFO<br>
> > >                         > > unknown<br>
> > >                         Using<br>
> > >                         tc.data:<br>
> > >                         /home/wilde/swift/rev/trunk/bin/../etc/tc.data<br>
> > >                         > > 2011-02-04 14:39:30,023-0600 INFO<br>
> > >                          AbstractScheduler Setting resources to:<br>
> > >                         {localhost=localhost}<br>
> > >                         > > 2011-02-04 14:39:30,468-0600 INFO<br>
> > >                         > > unknown<br>
> > >                         Swift svn swift-r4061 cog-r3046<br>
> > >                         > ><br>
> > >                         > > 2011-02-04 14:39:30,469-0600 INFO<br>
> > >                         > > unknown<br>
> > >                         RUNID id=run:20110204-1439-j430gp9g<br>
> > >                         > > 2011-02-04 14:39:30,511-0600 DEBUG<br>
> > >                         VDL2ExecutionContext 1 names specified; 0<br>
> > >                         arguments found<br>
> > >                         > > 1 names specified; 0 arguments found<br>
> > >                         > ><br>
> > >                         > >         at<br>
> > >                         org.globus.cog.karajan.workflow.nodes.SetVar.post(SetVar.java:43)<br>
> > >                         > >         at<br>
> > >                         org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments.completed(AbstractSequentialWithArguments.java:196)<br>
> > >                         > >         at<br>
> > >                         org.globus.cog.karajan.workflow.nodes.FlowNode.complete(FlowNode.java:214)<br>
> > >                         > >         at<br>
> > >                         org.globus.cog.karajan.workflow.nodes.FlowContainer.post(FlowContainer.java:58)<br>
> > >                         > >         at<br>
> > >                         org.globus.cog.karajan.workflow.nodes.functions.AbstractFunction.post(AbstractFunction.java:28)<br>
> > >                         > >         at<br>
> > >                         org.globus.cog.karajan.workflow.nodes.Sequential.startNext(Sequential.java:29)<br>
> > >                         > >         at<br>
> > >                         org.globus.cog.karajan.workflow.nodes.Sequential.executeChildren(Sequential.java:20)<br>
> > >                         > >         at<br>
> > >                         org.globus.cog.karajan.workflow.nodes.FlowContainer.execute(FlowContainer.java:63)<br>
> > >                         > >         at<br>
> > >                         org.globus.cog.karajan.workflow.nodes.FlowNode.restart(FlowNode.java:139)<br>
> > >                         > >         at<br>
> > >                         org.globus.cog.karajan.workflow.nodes.FlowNode.start(FlowNode.java:197)<br>
> > >                         > >         at<br>
> > >                         org.globus.cog.karajan.workflow.FlowElementWrapper.start(FlowElementWrapper.java:227)<br>
> > >                         > >         at<br>
> > >                         org.globus.cog.karajan.workflow.events.EventBus.start(EventBus.java:104)<br>
> > >                         > >         at<br>
> > >                         org.globus.cog.karajan.workflow.events.EventTargetPair.run(EventTargetPair.java:40)<br>
> > >                         > >         at<br>
> > >                         > >         java.util.concurrent.Executors<br>
> > >                         $RunnableAdapter.call(Executors.java:441)<br>
> > >                         > >         at<br>
> > >                         > >         java.util.concurrent.FutureTask<br>
> > >                         $Sync.innerRun(FutureTask.java:303)<br>
> > >                         > >         at<br>
> > >                         java.util.concurrent.FutureTask.run(FutureTask.java:138)<br>
> > >                         > >         at<br>
> > >                         java.util.concurrent.ThreadPoolExecutor<br>
> > >                         $Worker.runTask(ThreadPoolExecutor.java:886)<br>
> > >                         > >         at<br>
> > >                         java.util.concurrent.ThreadPoolExecutor<br>
> > >                         $Worker.run(ThreadPoolExecutor.java:908)<br>
> > >                         > >         at<br>
> > >                         java.lang.Thread.run(Thread.java:619)<br>
> > >                         > > 2011-02-04 14:39:30,522-0600 INFO<br>
> > >                          ExecutionContext Detailed exception:<br>
> > >                         > > 1 names specified; 0 arguments found<br>
> > >                         > ><br>
> > >                         > >         at<br>
> > >                         org.globus.cog.karajan.workflow.nodes.SetVar.post(SetVar.java:43)<br>
> > >                         > >         at<br>
> > >                         org.globus.cog.karajan.workflow.nodes.AbstractSequentialWithArguments.completed(AbstractSequentialWithArguments.java:196)<br>
> > >                         > >         at<br>
> > >                         org.globus.cog.karajan.workflow.nodes.FlowNode.complete(FlowNode.java:214)<br>
> > >                         > >         at<br>
> > >                         org.globus.cog.karajan.workflow.nodes.FlowContainer.post(FlowContainer.java:58)<br>
> > >                         > >         at<br>
> > >                         org.globus.cog.karajan.workflow.nodes.functions.AbstractFunction.post(AbstractFunction.java:28)<br>
> > >                         > >         at<br>
> > >                         org.globus.cog.karajan.workflow.nodes.Sequential.startNext(Sequential.java:29)<br>
> > >                         > >         at<br>
> > >                         org.globus.cog.karajan.workflow.nodes.Sequential.executeChildren(Sequential.java:20)<br>
> > >                         > >         at<br>
> > >                         org.globus.cog.karajan.workflow.nodes.FlowContainer.execute(FlowContainer.java:63)<br>
> > >                         > >         at<br>
> > >                         org.globus.cog.karajan.workflow.nodes.FlowNode.restart(FlowNode.java:139)<br>
> > >                         > >         at<br>
> > >                         org.globus.cog.karajan.workflow.nodes.FlowNode.start(FlowNode.java:197)<br>
> > >                         > >         at<br>
> > >                         org.globus.cog.karajan.workflow.FlowElementWrapper.start(FlowElementWrapper.java:227)<br>
> > >                         > >         at<br>
> > >                         org.globus.cog.karajan.workflow.events.EventBus.start(EventBus.java:104)<br>
> > >                         > >         at<br>
> > >                         org.globus.cog.karajan.workflow.events.EventTargetPair.run(EventTargetPair.java:40)<br>
> > >                         > >         at<br>
> > >                         > >         java.util.concurrent.Executors<br>
> > >                         $RunnableAdapter.call(Executors.java:441)<br>
> > >                         > >         at<br>
> > >                         > >         java.util.concurrent.FutureTask<br>
> > >                         $Sync.innerRun(FutureTask.java:303)<br>
> > >                         > >         at<br>
> > >                         java.util.concurrent.FutureTask.run(FutureTask.java:138)<br>
> > >                         > >         at<br>
> > >                         java.util.concurrent.ThreadPoolExecutor<br>
> > >                         $Worker.runTask(ThreadPoolExecutor.java:886)<br>
> > >                         > >         at<br>
> > >                         java.util.concurrent.ThreadPoolExecutor<br>
> > >                         $Worker.run(ThreadPoolExecutor.java:908)<br>
> > >                         > >         at<br>
> > >                         java.lang.Thread.run(Thread.java:619)<br>
> > >                         > > 2011-02-04 14:39:30,522-0600 INFO<br>
> > >                         > > Loader<br>
> > >                         Swift finished with errors<br>
> > >                         > > com$<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>
> > >                         ><br>
> > >                         <a href="http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel" target="_blank">http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel</a><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="http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel" target="_blank">http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel</a><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > ><br>
> > > --<br>
> > > Michael Wilde<br>
> > > Computation Institute, University of Chicago<br>
> > > Mathematics and Computer Science Division<br>
> > > Argonne National Laboratory<br>
> > ><br>
> > ><br>
><br>
> --<br>
> Michael Wilde<br>
> Computation Institute, University of Chicago<br>
> Mathematics and Computer Science Division<br>
> Argonne National Laboratory<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="http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel" target="_blank">http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel</a><br>
<br>
--<br>
Michael Wilde<br>
Computation Institute, University of Chicago<br>
Mathematics and Computer Science Division<br>
Argonne National Laboratory<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="http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel" target="_blank">http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel</a><br>
</div></div></blockquote></div><br>