<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="color: rgb(0, 0, 0); font-size: 14px; font-family: Helvetica, sans-serif; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div>Mark,</div>
<div>  The input for -threadcomm_affinities are the processor numbers </div>
<div><br>
</div>
<div>So -threadcomm_nthreads 4 </div>
<div>     -threadcomm_affinities 0 1 2 3</div>
<div><br>
</div>
<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 id="OLK_SRC_BODY_SECTION">
<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">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">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">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><br>
</div>
<blockquote id="MAC_OUTLOOK_ATTRIBUTION_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 class=""><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 class=""><br>
</span></blockquote>
<div><br>
</div>
<div>Neither do I.  The web page <a href="http://www.mcs.anl.gov/petsc/features/threads.html">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 class="">
-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 class="">> -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>
</span>
</body>
</html>