Function PGAReceiveRandSeed
Defined in File parallel.c
Function Documentation
-
static int PGAReceiveRandSeed(PGAContext *ctx, int source, MPI_Comm comm, MPI_Status *status)
Receive random seed.
Example
Receive seed from main-process
PGAContext *ctx; MPI_Comm comm; MPI_Status stat; ... int seed = PGAReceiveRandSeed (ctx, 0, comm, &stat);
- Parameters:
ctx – contex variable
source – ID of the process from which to receive
comm – an MPI communicator
status – pointer to an MPI status structure
- Returns:
seed