<div dir="ltr">Thanks <span style="color:rgb(0,0,0);font-family:Helvetica,sans-serif;font-size:13.63636302948px">Shri,</span><div><span style="color:rgb(0,0,0);font-family:Helvetica,sans-serif;font-size:13.63636302948px"><br></span></div><div><font color="#000000" face="Helvetica, sans-serif"><span style="font-size:13.63636302948px">And a simple fix for my hypre problem was to get an interactive shell and configure on a compute node.</span></font></div><div><font color="#000000" face="Helvetica, sans-serif"><span style="font-size:13.63636302948px"><br></span></font></div><div><font color="#000000" face="Helvetica, sans-serif"><span style="font-size:13.63636302948px">Mark</span></font></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jan 9, 2015 at 12:25 AM, Abhyankar, Shrirang G. <span dir="ltr"><<a href="mailto:abhyshr@mcs.anl.gov" target="_blank">abhyshr@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 style="color:rgb(0,0,0);font-size:14px;font-family:Helvetica,sans-serif;word-wrap:break-word">
<div>Mark,</div>
<div>  The input for -threadcomm_affinities are the processor numbers </div>
<div><br>
</div>
<div>So -threadcomm_nthreads 4 </div><span class="">
<div>     -threadcomm_affinities 0 1 2 3</div>
<div><br>
</div>
</span><div>will pin the 4 threads to processors 0,1,2,3. Unfortunately, there is no standardization of processor number mapping on physical and/or logical cores (it is decided by the OS I think). For example, on one node with two quad-core CPUs (total 8 processors,
 no hyperthreading), the 1st CPU may have processor numbers 0,1,3,5, while the other 2,4,6,8. On another node with similar hardware, the processor numbers may be 0,1,2,3 on the 1st CPU and 4,5,6,7 on the second. Hence, tools like likwid or hwloc are very helpful
 for getting the hardware layout. You may also obtain this info by looking at /proc/cupinfo on linux.</div>
<div><br>
</div>
<div>Shri</div>
<span>
<div style="font-family:Calibri;font-size:11pt;text-align:left;color:black;BORDER-BOTTOM:medium none;BORDER-LEFT:medium none;PADDING-BOTTOM:0in;PADDING-LEFT:0in;PADDING-RIGHT:0in;BORDER-TOP:#b5c4df 1pt solid;BORDER-RIGHT:medium none;PADDING-TOP:3pt">
<span style="font-weight:bold">From: </span>Mark Adams <<a href="mailto:mfadams@lbl.gov" target="_blank">mfadams@lbl.gov</a>><br>
<span style="font-weight:bold">Date: </span>Thu, 8 Jan 2015 21:43:30 -0500<br>
<span style="font-weight:bold">To: </span>barry smith <<a href="mailto:bsmith@mcs.anl.gov" target="_blank">bsmith@mcs.anl.gov</a>><br>
<span style="font-weight:bold">Cc: </span>petsc-dev mailing list <<a href="mailto:petsc-dev@mcs.anl.gov" target="_blank">petsc-dev@mcs.anl.gov</a>><br>
<span style="font-weight:bold">Subject: </span>Re: [petsc-dev] configuring hypre on batch system<br>
</div><div><div class="h5">
<div><br>
</div>
<blockquote style="BORDER-LEFT:#b5c4df 5 solid;PADDING:0 0 0 5;MARGIN:0 0 0 5">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span><br>
> -threadcomm_affinities 0 1 2 3 4 5 6 7  ?????<br>
<br>
</span>I    don't know what the flag is here<br>
<span><br>
</span></blockquote>
<div><br>
</div>
<div>Neither do I.  The web page <a href="http://www.mcs.anl.gov/petsc/features/threads.html" target="_blank">http://www.mcs.anl.gov/petsc/features/threads.html</a> says:</div>
<div><br>
</div>
<div>
<ul style="color:rgb(0,0,0);font-family:Times;font-size:medium;background-color:rgb(213,234,255)">
<li><br>
-threadcomm_affinities <list_of_affinities>: Sets the core affinities of threads</li></ul>
</div>
<div>I'm not sure what to put here ...</div>
<div><br>
</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span>> -threadcomm_type openmp<br>
><br>
> Then would I get threaded MatVec and other CG + MG stuff?  I know this will not be faster but I just need data to corroborate what we all know.  And I don't care about setup.<br>
<br>
</span>  Depends on the smoother, we don't have any threaded SOR, if you using Jacobi + Cheyby it will be threaded.<br>
<br>
</blockquote>
<div><br>
</div>
<div>Oh right, thanks,</div>
<div><br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
</div></div></span>
</div>

</blockquote></div><br></div>