Debian Codegraph @

hpl/www/HPL_indxg2p.html

raw
1 <HTML>
2 <HEAD>
3 <TITLE>HPL_indxg2p 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_indxg2p</B> Map a global index into a process coordinate.
11
12 <H1>Synopsis</H1>
13 <CODE>#include "hpl.h"</CODE><BR><BR>
14 <CODE>int</CODE>
15 <CODE>HPL_indxg2p(</CODE>
16 <CODE>const int</CODE>
17 <CODE>IG</CODE>,
18 <CODE>const int</CODE>
19 <CODE>INB</CODE>,
20 <CODE>const int</CODE>
21 <CODE>NB</CODE>,
22 <CODE>const int</CODE>
23 <CODE>SRCPROC</CODE>,
24 <CODE>const int</CODE>
25 <CODE>NPROCS</CODE>
26 <CODE>);</CODE>
27
28 <H1>Description</H1>
29 <B>HPL_indxg2p</B>
30 computes the process coordinate which posseses the entry
31 of a matrix specified by a global index IG.
32
33 <H1>Arguments</H1>
34 <PRE>
35 IG (input) const int
36 On entry, IG specifies the global index of the matrix entry.
37 IG must be at least zero.
38 </PRE>
39 <PRE>
40 INB (input) const int
41 On entry, INB specifies the size of the first block of the
42 global matrix. INB must be at least one.
43 </PRE>
44 <PRE>
45 NB (input) const int
46 On entry, NB specifies the blocking factor used to partition
47 and distribute the matrix A. NB must be larger than one.
48 </PRE>
49 <PRE>
50 SRCPROC (input) const int
51 On entry, SRCPROC specifies the coordinate of the process
52 that possesses the first row or column of the matrix. SRCPROC
53 must be at least zero and strictly less than NPROCS.
54 </PRE>
55 <PRE>
56 NPROCS (input) const int
57 On entry, NPROCS specifies the total number of process rows
58 or columns over which the matrix is distributed. NPROCS must
59 be at least one.
60 </PRE>
61
62 <H1>See Also</H1>
63 <A HREF="HPL_indxg2l.html">HPL_indxg2l</A>,
64 <A HREF="HPL_indxg2p.html">HPL_indxg2p</A>,
65 <A HREF="HPL_indxl2g.html">HPL_indxl2g</A>,
66 <A HREF="HPL_numroc.html">HPL_numroc</A>,
67 <A HREF="HPL_numrocI.html">HPL_numrocI</A>.
68
69 </BODY>
70 </HTML>