DragonFly On-Line Manual Pages
HPL_pnum(3) HPL Library Functions HPL_pnum(3)
HPL_pnum - Rank determination.
int HPL_pnum( const HPL_T_grid * GRID, const int MYROW, const int MYCOL
HPL_pnum determines the rank of a process as a function of its
coordinates in the grid.
GRID (local input) const HPL_T_grid *
On entry, GRID points to the data structure containing the
process grid information.
MYROW (local input) const int
On entry, MYROW specifies the row coordinate of the process
whose rank is to be determined. MYROW must be greater than or
equal to zero and less than NPROW.
MYCOL (local input) const int
On entry, MYCOL specifies the column coordinate of the
process whose rank is to be determined. MYCOL must be greater
than or equal to zero and less than NPCOL.
HPL_grid_init (3), HPL_grid_info (3), HPL_grid_exit (3).
HPL 2.1 October 26, 2012 HPL_pnum(3)