diff options
Diffstat (limited to 'Source/Utils/MPIInitHelpers.H')
-rw-r--r-- | Source/Utils/MPIInitHelpers.H | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/Source/Utils/MPIInitHelpers.H b/Source/Utils/MPIInitHelpers.H index 7147ee0e1..d0c2f8e1d 100644 --- a/Source/Utils/MPIInitHelpers.H +++ b/Source/Utils/MPIInitHelpers.H @@ -11,6 +11,13 @@ namespace utils { + /** Return the required MPI threading + * + * @return the MPI_THREAD_* level required for MPI_Init_thread + */ + int + warpx_mpi_thread_required (); + /** Initialize MPI * * @return pair(required, provided) of MPI thread level from MPI_Init_thread @@ -21,11 +28,9 @@ namespace utils /** Check if the requested MPI thread level is valid * * Prints warnings and notes otherwise. - * - * @param mpi_thread_levels pair(required, provided) of MPI thread level from MPI_Init_thread */ void - warpx_check_mpi_thread_level (std::pair< int, int > const mpi_thread_levels); + warpx_check_mpi_thread_level (); } // namespace utils |