<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div>Hi Scott,</div><div><br></div><div>You can set up a consumable resource to track usage of GPUs:</div><div><br></div><div>http://gridscheduler.sourceforge.net/howto/consumable.html</div><div><br></div><div>And we also have a load sensor that monitors the GPU devices:</div><div><br></div><div>https://gridscheduler.svn.sourceforge.net/svnroot/gridscheduler/trunk/source/dist/gpu/gpu_sensor.c</div><div><br></div><div>If you want to use the (2nd - ie. dynamic) method, then you will need to set it up by following this HOWTO:<br></div><div><br></div><div>http://gridscheduler.sourceforge.net/howto/loadsensor.html</div><div><br></div><div>The first method of using a consumable resource works best if you don't run GPU</div><div> programs outside of Open Grid Scheduler/Grid Engine.</div><div><br></div><div>Also note that in the next
 release of StarCluster GPU support will be enhanced.<br><span></span></div><div><br><span></span></div><div>Rayson<br><br>=================================<br>Open Grid Scheduler / Grid Engine<br><a href="http://gridscheduler.sourceforge.net/" target="_blank"><span class="yshortcuts" id="lw_1336772366_0">http://gridscheduler.sourceforge.net/</span></a><br><br>Scalable Grid Engine Support Program<br><a href="http://www.scalablelogic.com/" target="_blank"><span class="yshortcuts" id="lw_1336772366_1">http://www.scalablelogic.com/</span></a></div><div><br></div><div><br></div>  <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Scott Le Grand &lt;varelse2005@gmail.com&gt;<br> <b><span style="font-weight: bold;">To:</span></b>
 starcluster@mit.edu <br> <b><span style="font-weight: bold;">Sent:</span></b> Friday, May 11, 2012 5:25 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> [StarCluster] CG1 plus StarCluster Questions<br> </font> </div> <br>
<div id="yiv855300604">Hey guys, I'm really impressed with StarCluster and I've used it to create clusters ranging from 2 to 70 instances...<br><br>I've also customized it to use CUDA 4.2 and 295.41, the latest toolkit and driver, because my code has GTX 680 support and I don't want to have to comment it out just to build it (and 4.1 had a horrendous perf regression).<br>

<br>Anyway, 2 questions, one of which I think you already answered:<br><br>1. I'd like to setup a custom AMI that by default has configured 2 GPUs as a consumable resource.&nbsp; I already have code to utilize exclusive mode and choose whichever GPU isn't in use in my app, but that all falls down because the queueing system is based on CPU cores rather than GPU count.&nbsp; How would I set this up once so I can save the customized AMI and never have to do it again?<br>

<br>2. I'm also seeing the .ssh directories disappear on restart.&nbsp; But I'll look at your solution as I've just been restarting the whole cluster up to now.<br><br><br><br>
</div><br>_______________________________________________<br>StarCluster mailing list<br><a ymailto="mailto:StarCluster@mit.edu" href="mailto:StarCluster@mit.edu">StarCluster@mit.edu</a><br><a href="http://mailman.mit.edu/mailman/listinfo/starcluster" target="_blank">http://mailman.mit.edu/mailman/listinfo/starcluster</a><br><br><br> </div> </div>  </div></body></html>