PGAGetCommunicator(3)

PGAGetCommunicator3

Returns the default communicator used when pgarun is called.

Part of PGAGetCommunicator(4).

Usage

#include "pgapack.h"
MPI_Comm  PGAGetCommunicator(ctx)
PGAContext *ctx

Input parameters

ctx

- context variable

Output parameters

none

Location

parallel.c

Examples

Example:
MPI_Comm comm;
PGAContext *ctx,
double f(PGAContext *ctx, int p, int pop);
:
ctx = PGACreate(&argc, argv, PGA_DATATYPE_BINARY, 100, PGA_MAXIMIZE);
PGASetUp(ctx);
comm = PGAGetCommunicator(ctx);

Releases

8 releases since Debian 1.1 (Buzz); the text changed 1 time.

  1. 1.1
  2. 1.2–3.1

From pgapack 1.0.0.1-3 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.