root / www / HPL_pnum.html
Historique | Voir | Annoter | Télécharger (1,45 ko)
1 |
<HTML>
|
---|---|
2 |
<HEAD>
|
3 |
<TITLE>HPL_pnum HPL 2.0 Library Functions September 10, 2008</TITLE> |
4 |
</HEAD>
|
5 |
|
6 |
<BODY BGCOLOR="WHITE" TEXT = "#000000" LINK = "#0000ff" VLINK = "#000099" |
7 |
ALINK = "#ffff00"> |
8 |
|
9 |
<H1>Name</H1> |
10 |
<B>HPL_pnum</B> Rank determination. |
11 |
|
12 |
<H1>Synopsis</H1> |
13 |
<CODE>#include "hpl.h"</CODE><BR><BR> |
14 |
<CODE>int</CODE> |
15 |
<CODE>HPL_pnum(</CODE> |
16 |
<CODE>const HPL_T_grid *</CODE> |
17 |
<CODE>GRID</CODE>, |
18 |
<CODE>const int</CODE> |
19 |
<CODE>MYROW</CODE>, |
20 |
<CODE>const int</CODE> |
21 |
<CODE>MYCOL</CODE> |
22 |
<CODE>);</CODE> |
23 |
|
24 |
<H1>Description</H1> |
25 |
<B>HPL_pnum</B> |
26 |
determines the rank of a process as a function of its |
27 |
coordinates in the grid. |
28 |
|
29 |
<H1>Arguments</H1> |
30 |
<PRE>
|
31 |
GRID (local input) const HPL_T_grid * |
32 |
On entry, GRID points to the data structure containing the |
33 |
process grid information. |
34 |
</PRE>
|
35 |
<PRE>
|
36 |
MYROW (local input) const int |
37 |
On entry, MYROW specifies the row coordinate of the process |
38 |
whose rank is to be determined. MYROW must be greater than or |
39 |
equal to zero and less than NPROW. |
40 |
</PRE>
|
41 |
<PRE>
|
42 |
MYCOL (local input) const int |
43 |
On entry, MYCOL specifies the column coordinate of the |
44 |
process whose rank is to be determined. MYCOL must be greater |
45 |
than or equal to zero and less than NPCOL. |
46 |
</PRE>
|
47 |
|
48 |
<H1>See Also</H1> |
49 |
<A HREF="HPL_grid_init.html">HPL_grid_init</A>, |
50 |
<A HREF="HPL_grid_info.html">HPL_grid_info</A>, |
51 |
<A HREF="HPL_grid_exit.html">HPL_grid_exit</A>. |
52 |
|
53 |
</BODY>
|
54 |
</HTML>
|