<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    I'm pretty sure if you specify 8 cores to use, it will use no more
    than 8 cores.<br>
    <br>
    <div class="moz-cite-prefix">On 11/22/19 11:33, Alexei Gorelik
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:YTOPR0101MB149820356258DB2187DF6297B2490@YTOPR0101MB1498.CANPRD01.PROD.OUTLOOK.COM">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p dir="ltr">Thanks!<br>
        What I meant is, phenix.refine seems to run a number of
        optimization threads (usually 10-14) independent of the number
        of cores specified (for example, 4 or 8). If i specify 8 cores,
        is there a way to force it to run 8 weight optimizations?</p>
      <div class="quote">On Nov 22, 2019 1:24 PM, Pavel Afonine
        <a class="moz-txt-link-rfc2396E" href="mailto:pafonine@lbl.gov">&lt;pafonine@lbl.gov&gt;</a> wrote:<br type="attribution">
        <blockquote class="quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div>Hi Alexei,<br>
            <br>
            <blockquote>
              <div style="font-family:'calibri' , 'arial' , 'helvetica'
                , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )">
                <span style="font-family:'calibri' , 'arial' ,
                  'helvetica' , sans-serif;background-color:rgb( 255 ,
                  255 , 255 );display:inline">Is there a setting to
                  control the number of parallel weight optimization
                  threads in phenix.refine?</span></div>
            </blockquote>
            <br>
            nproc parameter controls number of CPUs to be used in weight
            optimization.<br>
            <br>
            <blockquote>
              <div style="font-family:'calibri' , 'arial' , 'helvetica'
                , sans-serif;font-size:12pt;color:rgb( 0 , 0 , 0 )">
                <span style="font-family:'calibri' , 'arial' ,
                  'helvetica' , sans-serif;background-color:rgb( 255 ,
                  255 , 255 );display:inline">Also, is there a way to
                  force phenix.refine to perform global real-space
                  refinement (rsrg)?
                </span></div>
            </blockquote>
            <br>
            No. There is some built-in logic, phenix.refine does it when
            these conditions are met and it can un-do the result if it
            is not an improvement.
            <br>
            <br>
            Is there particular need to do this in your context?<br>
            <br>
            Pavel<br>
            <br>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <br>
  </body>
</html>