HPL_pnum - Man Page

Rank determination.

Synopsis

#include "hpl.h"
 int HPL_pnum( const HPL_T_grid * GRID, const int MYROW, const int MYCOL );

Description

HPL_pnum determines  the  rank  of a  process  as a function  of  its coordinates in the grid.

Arguments

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.

See Also

HPL_grid_init (3), HPL_grid_info (3), HPL_grid_exit (3).

Referenced By

HPL_grid_exit(3), HPL_grid_info(3), HPL_grid_init(3).

February 24, 2016 HPL 2.2 HPL Library Functions