<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Thanks to all of you for you explanations. Now it makes a lot more sense to me.<div>When Beagle is back up again, I will try to put all of this to good use and then finish the matlab/swift wiki (more like start it...)</div><div><br><div><div>On Apr 2, 2012, at 5:01 PM, Jonathan Monette wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">It all depends on ho you want to shape your jobs.<div>slots: The maximum number of coaster blocks to submit(pbs jobs).</div><div>maxNodes: The maximum number of nodes in a coaster block</div><div>nodeGranularity: How much to increment node count by(nodeGranularity <= maxNodes)</div><div><br></div><div>For instance, the following settings:</div><div><div><profile namespace "globus" key="slots">1</profile></div><div><profile namespace "globus" key="maxNodes">10</profile></div><div><profile namespace "globus" key="nodeGranularity">1</profile></div></div><div><br></div><div>will submit a single coaster block at a time to the system with a node count of anywhere between 1-10.</div><div><br></div><div>By changing nodeGranularity to 10 we will get a single coaster block with 10 nodes. That is the only size block that will be submitted while in the previous example we could get a varying size of coaster blocks.</div><div><br></div><div>Adjusting slots will provide more active coaster blocks.</div><div><br></div><div>In Glen's example he will requests "$nodes" number of single node jobs. He could have said the same thing by setting:</div><div><div><profile namespace "globus" key="slots">1</profile></div><div><profile namespace "globus" key="maxNodes">$nodes</profile></div><div><profile namespace "globus" key="nodeGranularity">$nodes</profile></div></div><div><br></div><div>In his example, several single node coaster blocks would be submitted for execution. With the above settings, a single multi-node coaster block would be submitted. If the machine is overloaded and there is slow response time, then Glen's approach would probably be better as the scheduler may bias some single node jobs to run over multi-node jobs to keep the entire machine busy. This way progress will be made(even if it is slow progress).</div><div><br></div><div>Another setting that should be set is:</div><div><profile namespace="globus" key="lowOverallocation">100</profile></div><div><profile namespace="globus" key="highOverallocation">100</profile></div><div><br></div><div>This will force the coaster blocks to be exactly the maxTime you asked for. If those are not set coasters dynamically chooses a wall time which is often lower than the time you specified.</div><div><br></div><div>I hope all this makes sense. We are in the process of improving documentation for Swift in general and this is one of the areas we need to better explain. Please let me know if this all makes sense or anything else I could help with.</div><div><br></div><div><br></div><div><div><div>On Apr 2, 2012, at 3:57 PM, Glen Hocky wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">What I used to use was (shell variables should be self explanatory). This should limit your number of nodes to $nodes while putting 1 coaster on each one to run your jobs...<div>Things may have changed in the last few months and this might not work correctly any more...<br>
<div><br></div><div><div> <profile key="jobsPerNode" namespace="globus">24</profile></div><div><div> <profile namespace="globus" key="providerAttributes">pbs.aprun;pbs.mpp;depth=24</profile></div>
</div><div><br></div><div> <profile namespace="env" key="OMP_NUM_THREADS">$PPN</profile></div><div> <profile namespace="globus" key="maxwalltime">$TIME</profile></div>
<div> <profile namespace="globus" key="maxTime">$MAXTIME</profile></div><div> <profile namespace="globus" key="slots">$nodes</profile></div><div> <profile namespace="globus" key="nodeGranularity">1</profile></div>
<div> <profile namespace="globus" key="maxNodes">1</profile></div><div> <profile namespace="globus" key="lowOverAllocation">100</profile></div><div> <profile namespace="globus" key="highOverAllocation">100</profile></div>
<div> <profile namespace="karajan" key="jobThrottle">200.00</profile></div><div> <profile namespace="karajan" key="initialScore">10000</profile></div>
<div>
<br></div><div><br><br><div class="gmail_quote">On Mon, Apr 2, 2012 at 4:54 PM, Jonathan Monette <span dir="ltr"><<a href="mailto:jonmon@mcs.anl.gov">jonmon@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">
So you can very nodeGranulairty. Right now in your sites file you have it set to 1. That means that coasters will try jobs anywhere in the range 1-50 nodes. If you set nodeGranularity to 50, then coasters will submit a job with 50 nodes.<br>
<div class="HOEnZb"><div class="h5"><br>
On Apr 2, 2012, at 3:48 PM, Lorenzo Pesce wrote:<br>
<br>
> Nth question from me.<br>
><br>
> Do you know of any implicit of explicit limitation in the number of nodes when one submits a job requesting less than 1 hr on Beagle?<br>
><br>
> I asked for 50 nodes (I think) and I got only two.<br>
><br>
> This is my sites file<br>
><br>
> <config><br>
> <pool handle="pbs"><br>
> <execution provider="coaster" jobmanager="local:pbs"/><br>
> <!-- replace with your project --><br>
> <profile namespace="globus" key="project">CI-IBN000103</profile><br>
><br>
> <profile namespace="globus" key="providerAttributes">pbs.aprun;pbs.mpp;depth=24</profile><br>
><br>
> <profile namespace="globus" key="jobsPerNode">24</profile><br>
> <profile namespace="globus" key="maxTime">3600</profile><br>
><br>
> <profile namespace="globus" key="slots">1</profile><br>
> <profile namespace="globus" key="nodeGranularity">1</profile><br>
> <profile namespace="globus" key="maxNodes">50</profile><br>
><br>
> <profile namespace="karajan" key="jobThrottle">12</profile><br>
> <profile namespace="karajan" key="initialScore">10000</profile><br>
><br>
> <filesystem provider="local"/><br>
> <!-- replace this with your home on lustre --><br>
> <workdirectory>/lustre/beagle/GCNet/swift.workdir</workdirectory><br>
> </pool><br>
> </config><br>
><br>
><br>
> _______________________________________________<br>
> Swift-user mailing list<br>
> <a href="mailto:Swift-user@ci.uchicago.edu">Swift-user@ci.uchicago.edu</a><br>
> <a href="https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user" target="_blank">https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user</a><br>
<br>
_______________________________________________<br>
Swift-user mailing list<br>
<a href="mailto:Swift-user@ci.uchicago.edu">Swift-user@ci.uchicago.edu</a><br>
<a href="https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user" target="_blank">https://lists.ci.uchicago.edu/cgi-bin/mailman/listinfo/swift-user</a><br>
</div></div></blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></blockquote></div><br></div></body></html>