source: trunk/optimizer/src/pgapack/gekco/pgapack/man/man4/PGAGetRank.4 @ 815

Last change on this file since 815 was 815, checked in by liveletlive, 17 years ago

Committing the /tmp/gekco/pgapack folder that contains the older PGAPack version and Prof. Klimecks changes to it.

File size: 643 bytes
Line 
1.TH PGAGetRank 4 "05/01/95" " " "PGAPack"
2.SH NAME
3PGAGetRank \- Returns the rank of the processor in communicator comm.  If
4comm is NULL or a sequential version of PGAPack is used, PGAGetRank()
5returns 0.
6.SH INPUT PARAMETERS
7.PD 0
8.TP
9ctx
10- context variable structure pointer
11.PD 0
12.TP
13comm
14- an MPI communicator
15.PD 1
16.SH OUTPUT PARAMETERS
17.PD 0
18.TP
19none
20
21.PD 1
22.SH SYNOPSIS
23.nf
24#include "pgapack.h"
25int  PGAGetRank(ctx, comm)
26PGAContext *ctx
27MPI_Comm comm
28.fi
29.SH LOCATION
30parallel.c
31.SH EXAMPLE
32.nf
33Example:
34PGAContext  *ctx;
35int          rank;
36:
37rank = PGAGetRank(ctx, MPI_COMM_WORLD);
38if (rank == 0) {
39LetTheMasterDoSomething();
40}
41
42.fi
Note: See TracBrowser for help on using the repository browser.