MPI_Is_thread_main functie
Retourneert een vlag die aangeeft of deze thread MPI_Init of MPI_Init_thread.
Syntaxis
int MPIAPI MPI_Is_thread_main(
_Out_ int *flag
);
Parameters
-
vlag [uit]
Vlag is waar als MPI_Init of MPI_Init_thread door deze thread is aangeroepen en anders onwaar.
Retourwaarde
Retourneert MPI_SUCCESS bij succes. Anders is de retourwaarde een foutcode.
In Fortran wordt de retourwaarde opgeslagen in de parameter IERROR .
Fortran
MPI_IS_THREAD_MAIN(FLAG, IERROR)
LOGICAL FLAG
INTEGER IERROR
Vereisten
Product |
HPC Pack 2012 MS-MPI Redistributable Package, HPC Pack 2008 R2 MS-MPI Redistributable Package, HPC Pack 2008 MS-MPI Redistributable Package of HPC Pack 2008 Client Utilities |
Header |
Mpi.h; Mpif.h |
Bibliotheek |
Msmpi.lib |
DLL |
Msmpi.dll |