<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
<div><div>>Have you been running this within the test suite or by itself?</div><meta http-equiv="content-type" content="text/html; charset=utf-8"><div>Within the test suite, </div><div>>What is the command line that was used to execute this script?</div><div>bash suite.sh -t -o /tmp/chavez documentation/</div><div><br><div><div>On Jun 17, 2011, at 7:13 PM, Alberto Chavez wrote:</div><br class="ecxApple-interchange-newline"><blockquote><span class="ecxApple-style-span" style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-size:medium"><div class="ecxhmmessage" style="font-size:10pt;font-family:Tahoma"><div dir="ltr">No, is the same one.<div>But I had a sites.template.xml file in that directory, which contained that information; as soon as I removed sites.template.xml from my directory, the script worked just fine.</div><div><br></div><div>type messagefile;<br style="text-indent:0px !important">app (messagefile t) greeting (string s[]) {<br style="text-indent:0px !important">echo s[0] s[1] s[2] stdout=@filename(t);<br style="text-indent:0px !important">}<br style="text-indent:0px !important">messagefile outfile <"q5out.txt">;<br style="text-indent:0px !important">string words[] = ["how","are","you"];<br style="text-indent:0px !important">outfile = greeting(words);<br><br></div><div><br></div><div><br><div>> Subject: RE: [Swift-devel] Swift unresponsive while using local provider.<br>> From:<span class="ecxApple-converted-space"> </span><a href="mailto:hategan@mcs.anl.gov">hategan@mcs.anl.gov</a><br>> To:<span class="ecxApple-converted-space"> </span><a href="mailto:alberto_chavez@live.com">alberto_chavez@live.com</a><br>> CC:<span class="ecxApple-converted-space"> </span><a href="mailto:davidkelly999@gmail.com">davidkelly999@gmail.com</a>;<span class="ecxApple-converted-space"> </span><a href="mailto:swift-devel@ci.uchicago.edu">swift-devel@ci.uchicago.edu</a><br>> Date: Fri, 17 Jun 2011 17:09:52 -0700<br>><span class="ecxApple-converted-space"> </span><br>> I'm sorry, but I don't follow. Is there a new error?<br>><span class="ecxApple-converted-space"> </span><br>><span class="ecxApple-converted-space"> </span><br>> On Fri, 2011-06-17 at 18:55 -0500, Alberto Chavez wrote:<br>> > sites.template.xml is producing this error, as soon as I remove the<br>> > file from the directory, the error goes away as well.<br>> > These are the contents of such file:<br>> ><span class="ecxApple-converted-space"> </span><br>> > <config><br>> > <pool handle="localhost"><br>> > <filesystem provider="local" /><br>> > <execution provider="coaster" jobmanager="local:local"/><br>> > <profile namespace="globus"<br>> > key="internalHostname">127.0.0.1</profile><br>> > <profile namespace="karajan" key="jobthrottle">1000</profile><br>> > <profile namespace="karajan" key="initialScore">10000</profile><br>> > <profile namespace="globus" key="jobsPerNode">4</profile><br>> > <profile namespace="globus" key="slots">8</profile><br>> > <profile namespace="globus" key="maxTime">1000</profile><br>> > <profile namespace="globus" key="nodeGranularity">1</profile><br>> > <profile namespace="globus" key="maxNodes">4</profile><br>> > <workdirectory>/tmp</workdirectory><br>> > </pool><br>> > </config><br>> ><span class="ecxApple-converted-space"> </span><br>> ><span class="ecxApple-converted-space"> </span><br>> > -Alberto<br>> ><span class="ecxApple-converted-space"> </span><br>> ><span class="ecxApple-converted-space"> </span><br>> > > Subject: Re: [Swift-devel] Swift unresponsive while using local<br>> > provider.<br>> > > From:<span class="ecxApple-converted-space"> </span><a href="mailto:hategan@mcs.anl.gov">hategan@mcs.anl.gov</a><br>> > > To:<span class="ecxApple-converted-space"> </span><a href="mailto:davidkelly999@gmail.com">davidkelly999@gmail.com</a><br>> > > Date: Fri, 17 Jun 2011 12:56:25 -0700<br>> > > CC:<span class="ecxApple-converted-space"> </span><a href="mailto:swift-devel@ci.uchicago.edu">swift-devel@ci.uchicago.edu</a><br>> > ><span class="ecxApple-converted-space"> </span><br>> > > do "jstack -l <pid_of_swift_java_process>" whenever it happens and<br>> > send<br>> > > the output.<br>> > ><span class="ecxApple-converted-space"> </span><br>> > ><span class="ecxApple-converted-space"> </span><br>> > ><span class="ecxApple-converted-space"> </span><br>> > > On Fri, 2011-06-17 at 14:48 -0500, David Kelly wrote:<br>> > > > I saw similar things on my laptop (4 gb ram) this weekend when I<br>> > was<br>> > > > testing the galaxy demo scripts using the local provider. I was<br>> > using<br>> > > > trunk. In the output I would see things like "no activity for 10s"<br>> > and<br>> > > > it just would sit there and do nothing until I manually killed it.<br>> > But<br>> > > > most of the time it would work fine. I wrote a little shell script<br>> > > > that would repeatedly run it until it hung. Then I was talking to<br>> > Jon<br>> > > > about this and he saw something similar with his montage work. He<br>> > > > thought it might be related to a configuration issue - that either<br>> > > > wrapper.parameter.mode=files or status.mode=provider should be<br>> > set.<br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > > I can send my scripts as well if you need some help in tracking<br>> > this<br>> > > > down.<br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > > David<br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > > On Fri, Jun 17, 2011 at 2:38 PM, Michael Wilde <<a href="mailto:wilde@mcs.anl.gov">wilde@mcs.anl.gov</a>><br>> > > > wrote:<br>> > > > Alberto, how long are you letting it run for, and under what<br>> > > > environment? if you are running on your laptop, how much RAM<br>> > > > do you have? Its possible that you are seeing paging delays<br>> > > > if you are running the Swift Java app with too little memory.<br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > > Also, are you running trunk or 0.92.1? You should compare the<br>> > > > two.<br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > > Its *possible* that this simple test is hanging under recent<br>> > > > trunk mods, but its more likely that this is some kind of<br>> > > > resource shortage.<br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > > Can you run this on one of the Swift lab machines bridled or<br>> > > > communcado, or better yet on the MCS compute servers, or a<br>> > > > PADS worker node (which you can get with qsub -I on pads)?<br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > > Look at Swift under the "top" command to see if Swift is<br>> > > > running and slow, or is hung.<br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > > Stop by and we can discuss in more detail.<br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > > - Mike<br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > > ______________________________________________________________<br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > > When I run the following SwiftScript using suite.sh,<br>> > > > the report shows an odd behavior, most of the time it<br>> > > > times out, but once in a while it passes, however this<br>> > > > outcome is completely random, since sometimes that<br>> > > > test has passed 3 times in a row, and all of the<br>> > > > sudden it fails.<br>> > > > This is my script:<br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > > type messagefile;<br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > > app (messagefile t) greeting (string s[]) {<br>> > > > echo s[0] s[1] s[2] stdout=@filename(t);<br>> > > > }<br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > > messagefile outfile <"q5out.txt">;<br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > > string words[] = ["how","are","you"];<br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > > outfile = greeting(words);<br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > > Swift.properties contents:<br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > > $ cat swift.properties<span class="ecxApple-converted-space"> </span><br>> > > > wrapperlog.always.transfer=true<br>> > > > sitedir.keep=true<br>> > > > execution.retries=0<br>> > > > lazy.errors=false<br>> > > > status.mode=provider<br>> > > > use.provider.staging=false<br>> > > > provider.staging.pin.swiftfiles=false<br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > > Sites.template.xml contents:<br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > > $ cat sites.template.xml<span class="ecxApple-converted-space"> </span><br>> > > > <config><br>> > > > <pool handle="localhost"><br>> > > > <filesystem provider="local" /><br>> > > > <execution provider="coaster"<br>> > > > jobmanager="local:local"/><br>> > > > <profile namespace="globus"<br>> > > > key="internalHostname">127.0.0.1</profile><br>> > > > <profile namespace="karajan"<br>> > > > key="jobthrottle">1000</profile><br>> > > > <profile namespace="karajan"<br>> > > > key="initialScore">10000</profile><br>> > > > <profile namespace="globus"<br>> > > > key="jobsPerNode">4</profile><br>> > > > <profile namespace="globus"<br>> > > > key="slots">8</profile><br>> > > > <profile namespace="globus"<br>> > > > key="maxTime">1000</profile><br>> > > > <profile namespace="globus"<br>> > > > key="nodeGranularity">1</profile><br>> > > > <profile namespace="globus"<br>> > > > key="maxNodes">4</profile><br>> > > > <workdirectory>/tmp</workdirectory><br>> > > > </pool><br>> > > > </config><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > > -Alberto<br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > > _______________________________________________<br>> > > > Swift-devel mailing list<br>> > > ><span class="ecxApple-converted-space"> </span><a href="mailto:Swift-devel@ci.uchicago.edu">Swift-devel@ci.uchicago.edu</a><br>> > > ><span class="ecxApple-converted-space"> </span><a href="http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel" target="_blank">http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel</a><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > > --<span class="ecxApple-converted-space"> </span><br>> > > > Michael Wilde<br>> > > > Computation Institute, University of Chicago<br>> > > > Mathematics and Computer Science Division<br>> > > > Argonne National Laboratory<br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > > _______________________________________________<br>> > > > Swift-devel mailing list<br>> > > ><span class="ecxApple-converted-space"> </span><a href="mailto:Swift-devel@ci.uchicago.edu">Swift-devel@ci.uchicago.edu</a><br>> > > ><span class="ecxApple-converted-space"> </span><a href="http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel" target="_blank">http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel</a><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > ><span class="ecxApple-converted-space"> </span><br>> > > > _______________________________________________<br>> > > > Swift-devel mailing list<br>> > > ><span class="ecxApple-converted-space"> </span><a href="mailto:Swift-devel@ci.uchicago.edu">Swift-devel@ci.uchicago.edu</a><br>> > > ><span class="ecxApple-converted-space"> </span><a href="http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel" target="_blank">http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel</a><br>> > ><span class="ecxApple-converted-space"> </span><br>> > ><span class="ecxApple-converted-space"> </span><br>> > > _______________________________________________<br>> > > Swift-devel mailing list<br>> > ><span class="ecxApple-converted-space"> </span><a href="mailto:Swift-devel@ci.uchicago.edu">Swift-devel@ci.uchicago.edu</a><br>> > ><span class="ecxApple-converted-space"> </span><a href="http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel" target="_blank">http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel</a><br>> ><span class="ecxApple-converted-space"> </span><br>><span class="ecxApple-converted-space"> </span><br>><span class="ecxApple-converted-space"> </span><br></div></div></div>_______________________________________________<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></span></blockquote></div><br></div></div> </div></body>
</html>