25 #include "timpi/timpi_config.h" 35 #endif // #ifdef TIMPI_HAVE_MPI 78 TIMPIInit(
int argc,
const char *
const * argv,
79 int mpi_thread_requested=0,
80 bool handle_mpi_errors=
false,
81 MPI_Comm COMM_WORLD_IN=MPI_COMM_WORLD);
83 TIMPIInit(
int argc,
const char *
const * argv,
84 int mpi_thread_requested=0,
85 bool handle_mpi_errors=
false);
105 std::unique_ptr<Communicator>
_comm;
108 std::unique_ptr<SemiPermanent::Ref>
_ref;
110 #ifdef TIMPI_HAVE_MPI 121 #endif // TIMPI_INIT_H TIMPIInit(int argc, const char *const *argv, int mpi_thread_requested=0, bool handle_mpi_errors=false, MPI_Comm COMM_WORLD_IN=MPI_COMM_WORLD)
Initialize the library for use, with the command line options provided.
std::unique_ptr< SemiPermanent::Ref > _ref
The TIMPIInit class, when constructed, initializes any dependent libraries (e.g.
Encapsulates the MPI_Comm object.
virtual ~TIMPIInit()
Destructor.
MPI_Errhandler my_errhandler
std::unique_ptr< Communicator > _comm
const Communicator & comm() const
Returns the Communicator created by this object, which will be a compatibility shim if MPI is not ena...