Thanks, I can now run 100k plus without any issues.<br><br><div class="gmail_quote">On Wed, Oct 24, 2012 at 2:54 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><br>
Ok, I can reproduce that 0.1.0. The workaround is to set
environment variable TURBINE_CACHE_SIZE=0 before running. <br><div><div class="h5">
<br>
On 10/24/2012 02:41 PM, Justin M Wozniak wrote:<br>
</div></div></div><div><div class="h5">
<blockquote type="cite">
<div>Hi Scott, <br>
This script works for me up to at least 10,000 iterations.
Which version are you running? <br>
Justin<br>
<br>
On 10/24/2012 01:20 PM, Scott Krieder wrote:<br>
</div>
<blockquote type="cite">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>
<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>
</pre>
</blockquote>
<br>
<br>
<pre cols="72">--
Justin M Wozniak
</pre>
<br>
<fieldset></fieldset>
<br>
<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>
</pre>
</blockquote>
<br>
<br>
<pre cols="72">--
Justin M Wozniak
</pre>
</div></div></div>
</blockquote></div><br>