WarpX
MPIInitHelpers.H
Go to the documentation of this file.
1 /* Copyright 2020 Axel Huebl
2  *
3  * This file is part of ABLASTR.
4  *
5  * License: BSD-3-Clause-LBNL
6  */
7 #ifndef ABLASTR_MPI_INIT_HELPERS_H_
8 #define ABLASTR_MPI_INIT_HELPERS_H_
9 
10 #include <utility>
11 
13 {
18  constexpr int
20 
25  std::pair< int, int >
26  mpi_init (int argc, char* argv[]);
27 
33  void
34  mpi_finalize ();
35 
40  void
42 
43 } // namespace ablastr::parallelization
44 
45 #endif // ABLASTR_MPI_INIT_HELPERS_H_
Definition: KernelTimer.H:21
std::pair< int, int > mpi_init(int argc, char *argv[])
Definition: MPIInitHelpers.cpp:49
constexpr int mpi_thread_required()
Definition: MPIInitHelpers.cpp:33
void check_mpi_thread_level()
Definition: MPIInitHelpers.cpp:82
void mpi_finalize()
Definition: MPIInitHelpers.cpp:74