PGAReceiveIndividual(3)

PGAReceiveIndividual3

Receive an individual from another process

Part of PGAReceiveIndividual(4).

Usage

#include "pgapack.h"
void  PGAReceiveIndividual(ctx, p, pop, source, tag, comm, status)
PGAContext *ctx
int p
int pop
int source
int tag
MPI_Comm comm
MPI_Status *status

Input parameters

ctx

- contex variable

p

- index of an individual

pop

- symbolic constant of the population

source

- ID of the process from which to receive

tag

- MPI tag to look for

status

- pointer to an MPI status structure

Output parameters

side

-effect.

Location

parallel.c

Examples

Receive a string from the master process (rank == 0) with tag
PGA_SR_STRINGTOEVAL, and place it into the first temporary location
in PGA_NEWPOP.
PGAContext *ctx;
MPI_Comm    comm;
MPI_Status  status;
:
PGAReceiveIndividual(ctx, PGA_TEMP1, PGA_NEWPOP, 0, PGA_SR_STRINGTOEVAL,
comm, &status);

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.