Function PGASendEvaluation

Function Documentation

static void PGASendEvaluation(PGAContext *ctx, int p, int pop, int dest, int tag, MPI_Comm comm)

Transmit evaluation and aux eval to another process.

Example

PGAContext *ctx;
int p, dest;

...
dest = SelectAFreeProcessor ();
PGASendEvaluation (ctx, p, PGA_NEWPOP, dest, PGA_COMM_EVALOFSTRING, comm);

Parameters
  • ctx – context variable

  • p – index of an individual

  • pop – symbolic constant of the population

  • dest – ID of the process where this is going

  • tag – MPI tag to send with the individual

  • comm – MPI communicator