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

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

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

File size: 784 bytes
Line 
1.TH PGASetCommunicator 4 "05/01/95" " " "PGAPack"
2.SH NAME
3PGASetCommunicator \- Set the default communicator to use when PGARun is
4called.  Does not necessarily need to be the same as the number of
5processes in MPI_COMM_WORLD (which is the default).
6.SH INPUT PARAMETERS
7.PD 0
8.TP
9ctx
10- context variable
11.PD 0
12.TP
13comm
14- communicator to use
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"
25void  PGASetCommunicator(ctx, comm)
26PGAContext *ctx
27MPI_Comm comm
28.fi
29.SH LOCATION
30parallel.c
31.SH EXAMPLE
32.nf
33Example:
34MPI_Comm mycomm;
35PGAContext *ctx,
36double f(PGAContext *ctx, int p, int pop);
37:
38ctx = PGACreate(&argc, argv, PGA_DATATYPE_BINARY, 100, PGA_MAXIMIZE);
39PGASetCommunicator(ctx, mycomm);
40PGASetUp(ctx);
41PGARun(ctx, f);
42PGADestroy(ctx);
43
44.fi
Note: See TracBrowser for help on using the repository browser.