aboutsummaryrefslogtreecommitdiff
path: root/Source/Utils/MPIInitHelpers.H
diff options
context:
space:
mode:
authorGravatar Luca Fedeli <luca.fedeli@cea.fr> 2023-06-22 17:52:37 +0200
committerGravatar GitHub <noreply@github.com> 2023-06-22 15:52:37 +0000
commitca127c818c52679f6449e07a9deb9e538ddc3e1c (patch)
treedbceb5444566fc643b7469d7205bcff0e560ee6b /Source/Utils/MPIInitHelpers.H
parent830f780439a385c0639aa7784829bea5872bec3f (diff)
downloadWarpX-ca127c818c52679f6449e07a9deb9e538ddc3e1c.tar.gz
WarpX-ca127c818c52679f6449e07a9deb9e538ddc3e1c.tar.zst
WarpX-ca127c818c52679f6449e07a9deb9e538ddc3e1c.zip
Move MPIInitHelpers into ablastr (#4026)
* move MPIInitHelper into ablastr * fix bug * fix bug
Diffstat (limited to 'Source/Utils/MPIInitHelpers.H')
-rw-r--r--Source/Utils/MPIInitHelpers.H45
1 files changed, 0 insertions, 45 deletions
diff --git a/Source/Utils/MPIInitHelpers.H b/Source/Utils/MPIInitHelpers.H
deleted file mode 100644
index c1b1c2f6d..000000000
--- a/Source/Utils/MPIInitHelpers.H
+++ /dev/null
@@ -1,45 +0,0 @@
-/* Copyright 2020 Axel Huebl
- *
- * This file is part of WarpX.
- *
- * License: BSD-3-Clause-LBNL
- */
-#ifndef WARPX_MPI_INIT_HELPERS_H_
-#define WARPX_MPI_INIT_HELPERS_H_
-
-#include <utility>
-
-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
- */
- std::pair< int, int >
- warpx_mpi_init (int argc, char* argv[]);
-
- /** Finalize MPI
- *
- * This function is simply a wrapper around MPI_Finalize(). It is a no-op if
- * WarpX is compiled without MPI support.
- */
- void
- warpx_mpi_finalize ();
-
- /** Check if the requested MPI thread level is valid
- *
- * Prints warnings and notes otherwise.
- */
- void
- warpx_check_mpi_thread_level ();
-
-} // namespace utils
-
-#endif // WARPX_MPI_INIT_HELPERS_H_