<div>Hi Justin,</div><div><br></div><div>I installed from the exm-0.1.0 tarball.</div><div><br></div><div>$ stc -v</div><div>STC: Swift-Turbine Compiler</div><div><span class="Apple-tab-span" style="white-space:pre"> </span> for Turbine: 0.0.6</div>
<div>TURBINE_INSTALL=/usr/local/exm-install/turbine</div><div>TURBINE_HOME=</div><div><br></div><div>$ turbine -v</div><div>Turbine 0.0.6</div><div> in: /usr/local/exm-install/turbine</div><div><br></div><div>Is there anything I need to update?</div>
<div><br></div><div>Thank you,</div><div>Scott</div><br><div class="gmail_quote">On Wed, Oct 24, 2012 at 2:41 PM, Justin M Wozniak <span dir="ltr"><<a href="mailto:wozniak@mcs.anl.gov" target="_blank">wozniak@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">
<div bgcolor="#FFFFFF" text="#000000">
<div>Hi Scott, <br>
This script works for me up to at least 10,000 iterations.
Which version are you running? <br>
Justin<div><div class="h5"><br>
<br>
On 10/24/2012 01:20 PM, Scott Krieder wrote:<br>
</div></div></div>
<blockquote type="cite"><div><div class="h5">Hi All,
<div><br>
</div>
<div>I am encountering an error when the bound on my foreach loop
exceeds 1,021.</div>
<div><br>
</div>
<div>
<div>#include <builtins.swift></div>
<div>#include <io.swift></div>
<div>#include <sys.swift></div>
<div>main{</div>
<div><br>
</div>
<div> int bound = toint(argv("bound"));</div>
<div> float sleepTime = tofloat(argv("sleeptime"));</div>
<div><br>
</div>
<div> // print for debug</div>
<div> printf("The number of arguments is: %i\n", argc());</div>
<div> printf("The bound is: %i\n", bound);</div>
<div> printf("The sleeptime is: %f\n", sleepTime);</div>
<div><br>
</div>
<div> // run the sleep</div>
<div> foreach i in [1:bound:1]{</div>
<div>
sleep(sleepTime);</div>
<div> }</div>
<div>}</div>
</div>
<div><br>
</div>
<div>Running with the bound set to 1022 and above results in the
following error:</div>
<div><br>
</div>
<div>
<div>===================================================================================</div>
<div>= BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES</div>
<div>= EXIT CODE: 11</div>
<div>= CLEANING UP REMAINING PROCESSES</div>
<div>= YOU CAN IGNORE THE BELOW CLEANUP MESSAGES</div>
<div>===================================================================================</div>
<div>YOUR APPLICATION TERMINATED WITH THE EXIT STRING:
Segmentation fault (signal 11)</div>
<div>This typically refers to a problem with your application.</div>
<div>Please see the FAQ page for debugging suggestions</div>
</div>
<div><br>
</div>
<div>Could someone point me to the FAQ page with debugging
suggestions? Are there any limits to the sizes of the foreach
loops?</div>
<div><br>
</div>
<div>Thank you,</div>
<div>Scott</div>
<br>
<fieldset></fieldset>
<br>
</div></div><pre>_______________________________________________
Exm-user mailing list
<a href="mailto:Exm-user@lists.mcs.anl.gov" target="_blank">Exm-user@lists.mcs.anl.gov</a>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/exm-user" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/exm-user</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
</font></span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<br>
<pre cols="72">--
Justin M Wozniak
</pre>
</font></span></div>
</blockquote></div><br>