10#ifndef TEUCHOS_GLOBAL_MPI_SESSION_HPP 
   11#define TEUCHOS_GLOBAL_MPI_SESSION_HPP 
   18#include "TeuchosCore_ConfigDefs.hpp" 
   20#include "Teuchos_ArrayView.hpp" 
  156  static bool mpiIsInitialized();
 
  163  static bool mpiIsFinalized();
 
  175  static int getRank();
 
  187  static int getNProc();
 
  197  static void barrier();
 
  234#ifdef HAVE_TEUCHOSCORE_KOKKOS 
  242  static std::vector<std::string> 
getArgv ();
 
  248  static bool haveMPIState_;
 
  249  static bool mpiIsFinalized_;
 
  252#ifdef HAVE_TEUCHOSCORE_KOKKOS 
  260  static std::vector<std::string> 
argvCopy_;
 
  263  static void initialize( std::ostream *out );
 
  265  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,...