Transmit an individual to another process
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
none
#include "pgapack.h" void PGASendIndividual(ctx, p, pop, dest, tag, comm) PGAContext *ctx int p int pop int dest int tag MPI_Comm comm
parallel.c
PGAContext *ctx; int p, dest; : dest = SelectAFreeProcessor(); PGASendIndividual(ctx, p, PGA_NEWPOP, dest, PGA_SR_STRINGTOEVAL, comm);