<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>hi Dave,<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 15/11/17 21:34, Dave May wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAJ98EDo7OMCwpbDPTp0AamAL5JPYfZZWyOtKnHmSxqqoXQu5UA@mail.gmail.com">
      <div>
        <div>
          <div>
            <div>
              <div class="gmail_quote">
                <blockquote class="gmail_quote" style="margin:0 0 0
                  .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  <br>
                  Or am I wrong to expect this to give the same results
                  regardless of<br>
                  blocksize?</blockquote>
                <div dir="auto"><br>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <div>
        <div>
          <div>
            <div>
              <div class="gmail_quote">
                <div dir="auto">Yep.</div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    Maybe I am not using this function correctly then.<br>
    <br>
    The man page says it "Provides the local block numbering for a list
    of integers specified with a block global numbering."<br>
    <br>
    So I thought if I put in global block indices it would give me the
    corresponding local block indices- which would be the same
    regardless of the size of each block.<br>
    <blockquote type="cite"
cite="mid:CAJ98EDo7OMCwpbDPTp0AamAL5JPYfZZWyOtKnHmSxqqoXQu5UA@mail.gmail.com">
      <div>
        <div>
          <div>
            <div>
              <div class="gmail_quote">
                <div dir="auto"><br>
                </div>
                <div dir="auto">However the large negative number being
                  printed looks an uninitialized variable. This seems
                  odd as with mode = MASK nout should equal N and any
                  requested block indices not in the IS should result in
                  -1 being inserted in your local_indices array.</div>
                <div dir="auto"><br>
                </div>
                <div dir="auto">What's the value of nout?</div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    nout returns 1 on both ranks, as expected.<br>
    <br>
    - Adrian<br>
    <pre class="moz-signature" cols="72">-- 
Dr Adrian Croucher
Senior Research Fellow
Department of Engineering Science
University of Auckland, New Zealand
email: <a class="moz-txt-link-abbreviated" href="mailto:a.croucher@auckland.ac.nz">a.croucher@auckland.ac.nz</a>
tel: +64 (0)9 923 4611
</pre>
  </body>
</html>