42#ifndef TEUCHOS_GLOBAL_MPI_SESSION_HPP
43#define TEUCHOS_GLOBAL_MPI_SESSION_HPP
188 static bool mpiIsInitialized();
195 static bool mpiIsFinalized();
207 static int getRank();
219 static int getNProc();
229 static void barrier();
266#ifdef HAVE_TEUCHOSCORE_KOKKOSCORE
274 static std::vector<std::string>
getArgv ();
284#ifdef HAVE_TEUCHOSCORE_KOKKOSCORE
292 static std::vector<std::string>
argvCopy_;
295 static void initialize( std::ostream *out );
297 static void justInTimeInitialize();
#define TEUCHOSCORE_LIB_DLL_EXPORT
Initialize, finalize, and query the global MPI session.
static bool mpiIsFinalized_
static bool haveMPIState_
Concrete serial communicator subclass.