<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'>
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><meta http-equiv="content-type" content="text/html; charset=utf-8">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: hategan@mcs.anl.gov<br>> To: alberto_chavez@live.com<br>> CC: davidkelly999@gmail.com; swift-devel@ci.uchicago.edu<br>> Date: Fri, 17 Jun 2011 17:09:52 -0700<br>> <br>> I'm sorry, but I don't follow. Is there a new error?<br>> <br>> <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>> > <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>> > <br>> > <br>> > -Alberto<br>> > <br>> > <br>> > > Subject: Re: [Swift-devel] Swift unresponsive while using local<br>> > provider.<br>> > > From: hategan@mcs.anl.gov<br>> > > To: davidkelly999@gmail.com<br>> > > Date: Fri, 17 Jun 2011 12:56:25 -0700<br>> > > CC: swift-devel@ci.uchicago.edu<br>> > > <br>> > > do "jstack -l <pid_of_swift_java_process>" whenever it happens and<br>> > send<br>> > > the output.<br>> > > <br>> > > <br>> > > <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>> > > > <br>> > > > I can send my scripts as well if you need some help in tracking<br>> > this<br>> > > > down.<br>> > > > <br>> > > > David<br>> > > > <br>> > > > On Fri, Jun 17, 2011 at 2:38 PM, Michael Wilde <wilde@mcs.anl.gov><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>> > > > <br>> > > > <br>> > > > Also, are you running trunk or 0.92.1? You should compare the<br>> > > > two.<br>> > > > <br>> > > > <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>> > > > <br>> > > > <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>> > > > <br>> > > > <br>> > > > Look at Swift under the "top" command to see if Swift is<br>> > > > running and slow, or is hung.<br>> > > > <br>> > > > <br>> > > > Stop by and we can discuss in more detail.<br>> > > > <br>> > > > <br>> > > > - Mike<br>> > > > <br>> > > > <br>> > > > <br>> > > > ______________________________________________________________<br>> > > > <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>> > > > <br>> > > > <br>> > > > type messagefile;<br>> > > > <br>> > > > <br>> > > > app (messagefile t) greeting (string s[]) {<br>> > > > echo s[0] s[1] s[2] stdout=@filename(t);<br>> > > > }<br>> > > > <br>> > > > <br>> > > > messagefile outfile <"q5out.txt">;<br>> > > > <br>> > > > <br>> > > > string words[] = ["how","are","you"];<br>> > > > <br>> > > > <br>> > > > outfile = greeting(words);<br>> > > > <br>> > > > <br>> > > > <br>> > > > <br>> > > > <br>> > > > <br>> > > > <br>> > > > Swift.properties contents:<br>> > > > <br>> > > > <br>> > > > $ cat swift.properties <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>> > > > <br>> > > > <br>> > > > Sites.template.xml contents:<br>> > > > <br>> > > > <br>> > > > $ cat sites.template.xml <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>> > > > <br>> > > > <br>> > > > -Alberto<br>> > > > <br>> > > > <br>> > > > _______________________________________________<br>> > > > Swift-devel mailing list<br>> > > > Swift-devel@ci.uchicago.edu<br>> > > > http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel<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>> > > > Swift-devel mailing list<br>> > > > Swift-devel@ci.uchicago.edu<br>> > > > http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel<br>> > > > <br>> > > > <br>> > > > _______________________________________________<br>> > > > Swift-devel mailing list<br>> > > > Swift-devel@ci.uchicago.edu<br>> > > > http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel<br>> > > <br>> > > <br>> > > _______________________________________________<br>> > > Swift-devel mailing list<br>> > > Swift-devel@ci.uchicago.edu<br>> > > http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel<br>> > <br>> <br>> <br></div></div> </div></body>
</html>