Rechercher une page de manuel
PGAGetNumProcs
Langue: en
Version: 300509 (debian - 07/07/09)
Section: 4 (Pilotes et protocoles réseau)
NAME
PGAGetNumProcs - Returns the size of communicator comm in processes.DESCRIPTION
If comm is NULL or a sequential version of PGAPack is used, PGAGetNumProcs() returns 1.INPUT PARAMETERS
- ctx
- - context variable structure pointer
- comm
- - an MPI communicator
OUTPUT PARAMETERS
- none
SYNOPSIS
#include "pgapack.h" int PGAGetNumProcs(ctx, comm) PGAContext *ctx MPI_Comm comm
LOCATION
parallel.cEXAMPLE
Example: PGAContext *ctx; : if (PGAGetNumProcs(ctx, MPI_COMM_WORLD) < 4) { printf("Too few processors for decent performance!); exit(-1); }
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre