hi Dave,
On 15/11/17 21:34, Dave May wrote:
Or am I wrong to expect this to give the same results regardless of
blocksize?
Yep.
Maybe I am not using this function correctly then.
The man page says it "Provides the local block numbering for a list of
integers specified with a block global numbering."
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.
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.
What's the value of nout?
nout returns 1 on both ranks, as expected.
- Adrian
--
Dr Adrian Croucher
Senior Research Fellow
Department of Engineering Science
University of Auckland, New Zealand
email: [email protected]
tel: +64 (0)9 923 4611