Add some more globals per recent e-mails; keep the initially
requested MPI thread level as well as the provided MPI thread levels. Also keep a bool indicating whether there may be multiple user threads in MPI simultaneously (essentially whether we are MPI_THREAD_MULTIPLE or not) This commit was SVN r608.
Этот коммит содержится в:
родитель
9958416dda
Коммит
e268e16358
@ -4,9 +4,17 @@
|
||||
|
||||
#include "lam_config.h"
|
||||
|
||||
#include "mpi.h"
|
||||
|
||||
|
||||
/*
|
||||
* Global variables and symbols for the MPI layer
|
||||
*/
|
||||
|
||||
bool lam_mpi_initialized = false;
|
||||
bool lam_mpi_finalized = false;
|
||||
|
||||
bool lam_mpi_thread_multiple = false;
|
||||
int lam_mpi_thread_requested = MPI_THREAD_SINGLE;
|
||||
int lam_mpi_thread_provided = MPI_THREAD_SINGLE;
|
||||
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user