Search:

HPL_pnum(3) HPL Library Functions HPL_pnum(3)## NAME

HPL_pnum - Rank determination.## SYNOPSIS

#include"hpl.h"intHPL_pnum(constHPL_T_grid*GRID,constintMYROW,constintMYCOL);## DESCRIPTION

HPL_pnumdetermines 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). HPL 2.1 October 26, 2012 HPL_pnum(3)

Search: