Global to local coordinates with explicit ownership given.
g2lcoord(dim, bldim, gi, gj, gridinfo)Global dimension.
Blocking dimension.
Global row and column indices, respectively.
The return of base.blacs(ICTXT(x)). See the Details section
for more information.
For the process that owns the desired local data at global indices
(gi, gj), the return is the local index. Otherwise, NA
is returned.