<div dir="ltr"><div style><span style="font-family:arial,sans-serif;font-size:13px">Hi Mark!</span></div><div style><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div style><span style="font-family:arial,sans-serif;font-size:13px">This is more a question for the OGS mailing list (</span><span style="font-family:arial,sans-serif;font-size:13px;font-weight:bold;white-space:nowrap"><a href="mailto:users-request@gridengine.org">users-request@gridengine.org</a>) </span><span style="font-family:arial,sans-serif;font-size:13px">than the StarCluster one, but here is my answer anyway.</span></div>
<div style><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div style><span style="font-family:arial,sans-serif;font-size:13px">I don't think it can be done by default. I would do it by adding your gpus to complex variables. First, do </span></div>
<div style><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div style><span style="font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16px;white-space:pre"><font color="#000000">qconf -mc</font></span><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div style><span style="color:rgb(221,17,68);font-family:Consolas,'Liberation Mono',Courier,monospace;font-size:12px;line-height:16px;white-space:pre"><br></span></div>There you may create your gpus as complex values. I would go with<div>
gpu gpu INT <= YES YES {default?} 0</div><div><br></div><div>You can replace default with the number of gpus you want your requests to take by default. Then, for each of your nodes, you must do</div><div><br></div><div>
qconf -me {node name}</div><div><br></div><div>Then on the line "complex_values", you may add "gpu={num_gpus}". (Remove the NONE string if it's present.) Of course, you have to replace "num_gpus" with your count of gpus.</div>
<div><br></div><div>Then, when making your requests, you can add "-l gpu={num gpu requested}" to your command. Taking your question as an example, you would do "qsub -l gpu=2 ...". IMPORTANT: If you set 0 as default in qconf -mc, all your requests using gpus must use the "-l gpu=" option, otherwise OGS will assume they don't use any.</div>
<div><br></div><div style>I hope this helps!</div><div style>Mich</div><div><div style><br></div><span style="font-family:arial,sans-serif;font-size:13px"><div><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div>From: Mark Ebersole <<a href="mailto:markeber@gmail.com">markeber@gmail.com</a>></span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">To: <a href="mailto:starcluster@MIT.EDU">starcluster@MIT.EDU</a></span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">Cc: </span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Date: Mon, 17 Dec 2012 15:27:59 -0700</span><br style="font-family:arial,sans-serif;font-size:13px">
<span style="font-family:arial,sans-serif;font-size:13px">Subject: [StarCluster] GPU load sensor support</span><br style="font-family:arial,sans-serif;font-size:13px"><span style="font-family:arial,sans-serif;font-size:13px">Does the the Sun Grid Engine used in StarCluster support the use of load sensors for the GPUs in a GPU-compute AMI? For example, can I do a qsub and request a node(s) that has two free GPUs?</span><div style="font-family:arial,sans-serif;font-size:13px">
<br></div><div style="font-family:arial,sans-serif;font-size:13px">I searched through the features/bugs/mail archive, but don't see any info on this.</div><div style="font-family:arial,sans-serif;font-size:13px"><br>
</div>
<div style="font-family:arial,sans-serif;font-size:13px">Thanks!</div><div><br></div></div></div>