Tpetra parallel linear algebra  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Tpetra_Details_mpiIsInitialized.hpp
1 // @HEADER
2 // *****************************************************************************
3 // Tpetra: Templated Linear Algebra Services Package
4 //
5 // Copyright 2008 NTESS and the Tpetra contributors.
6 // SPDX-License-Identifier: BSD-3-Clause
7 // *****************************************************************************
8 // @HEADER
9 
10 #ifndef TPETRA_DETAILS_MPIISINITIALIZED
11 #define TPETRA_DETAILS_MPIISINITIALIZED
12 
13 #include "TpetraCore_config.h"
14 
15 namespace Tpetra {
16  namespace Details {
17 
32  bool mpiIsInitialized ();
33 
48  bool mpiIsFinalized ();
49 
50  } // namespace Details
51 } // namespace Tpetra
52 
53 #endif // TPETRA_DETAILS_MPIISINITIALIZED
bool mpiIsFinalized()
Has MPI_Finalize been called (on this process)?
bool mpiIsInitialized()
Has MPI_Init been called (on this process)?