42#ifndef TEUCHOS_GLOBAL_MPI_SESSION_HPP
43#define TEUCHOS_GLOBAL_MPI_SESSION_HPP
50#include "TeuchosCore_ConfigDefs.hpp"
52#include "Teuchos_ArrayView.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 ();
280 static bool haveMPIState_;
281 static bool mpiIsFinalized_;
284#ifdef HAVE_TEUCHOSCORE_KOKKOSCORE
292 static std::vector<std::string>
argvCopy_;
295 static void initialize( std::ostream *out );
297 static void justInTimeInitialize();
Initialize, finalize, and query the global MPI session.
Smart reference counting pointer class for automatic garbage collection.
The Teuchos namespace contains all of the classes, structs and enums used by Teuchos,...