<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix"><br>
You can use <br>
<br>
turbine-cobalt-run -e OMP_NUM_THREADS=16<br>
<br>
just like any other environment variable.<br>
<br>
You can validate that it worked with: <br>
<br>
turbine-cobalt-run -V<br>
<br>
for verbose and look for the generated qsub line and/or put <br>
<br>
printf("threads: %s", getenv("OMP_NUM_THREADS"))<br>
<br>
in your Swift script. <br>
<br>
Justin<br>
<br>
On 04/14/2014 10:30 AM, Ketan Maheshwari wrote:<br>
</div>
<blockquote
cite="mid:CAMUuvir3a1p+WSEf9EVhDZNmu7A9qp511KFWvW9BA93FUzkOgw@mail.gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<div dir="ltr">Hi,
<div><br>
</div>
<div>I need to pass --env OMP_NUM_THREADS=16 to qsub resulting
from turbine-cobalt wrapper. How should I pass this?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Ketan</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
ExM-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ExM-user@lists.mcs.anl.gov">ExM-user@lists.mcs.anl.gov</a>
<a class="moz-txt-link-freetext" href="https://lists.mcs.anl.gov/mailman/listinfo/exm-user">https://lists.mcs.anl.gov/mailman/listinfo/exm-user</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Justin M Wozniak</pre>
</body>
</html>