DESCRIPTIONIt is called after PGACreate and PGASetup have been called. If a NULL communicator is given, a sequential execution method is used, otherwise, work is divided among the processors in the communicator.
- - context variable
- - a pointer to the user's evaluation function, which must have the calling sequence shown in the example.
- - an MPI communicator
void PGARunGM(ctx, ctx, comm)
double (*f)(PGAContext *, int, int)
Example: PGAContext *ctx; double f(PGAContext *ctx, int p, int pop); : PGARunGM(ctx, f, MPI_COMM_WORLD);