|
core 1.5.0
Shared MPI block decomposition, asynchronous ghost-layer exchange, SDF geometry, load balancing (header-only C++20)
|
#include <cstdlib>#include <cstring>#include <map>Go to the source code of this file.
Classes | |
| struct | MPI_Status |
Namespaces | |
| namespace | peclet |
| namespace | peclet::core |
| namespace | peclet::core::mpi_stub |
Macros | |
| #define | MPI_COMM_WORLD 0 |
| #define | MPI_COMM_NULL (-1) |
| #define | MPI_REQUEST_NULL 0 |
| #define | MPI_INFO_NULL 0 |
| #define | MPI_STATUS_IGNORE (static_cast<MPI_Status*>(nullptr)) |
| #define | MPI_STATUSES_IGNORE (static_cast<MPI_Status*>(nullptr)) |
| #define | MPI_ANY_SOURCE (-1) |
| #define | MPI_UNDEFINED (-32766) |
| #define | MPI_UNWEIGHTED (static_cast<int*>(nullptr)) |
| #define | MPI_SUCCESS 0 |
| #define | MPI_BYTE 1 |
| #define | MPI_INT 4 |
| #define | MPI_LONG 8 |
| #define | MPI_DOUBLE 8 |
| #define | MPI_SUM 0 |
| #define | MPI_MAX 1 |
| #define | MPI_MIN 2 |
| #define | MPI_LAND 3 |
| #define | MPI_COMM_NULL_COPY_FN (static_cast<MPI_Comm_copy_attr_function*>(nullptr)) |
| #define | MPI_COMM_NULL_DELETE_FN (static_cast<MPI_Comm_delete_attr_function*>(nullptr)) |
| #define | MPI_KEYVAL_INVALID (-1) |
Typedefs | |
| using | MPI_Comm = int |
| using | MPI_Request = int |
| using | MPI_Datatype = int |
| using | MPI_Op = int |
| using | MPI_Info = int |
| using | MPI_Comm_copy_attr_function = int(MPI_Comm, int, void *, void *, void *, int *) |
| using | MPI_Comm_delete_attr_function = int(MPI_Comm, int, void *, void *) |
| #define MPI_COMM_WORLD 0 |
Definition at line 27 of file mpi_stub.hpp.
| #define MPI_COMM_NULL (-1) |
Definition at line 28 of file mpi_stub.hpp.
| #define MPI_REQUEST_NULL 0 |
Definition at line 29 of file mpi_stub.hpp.
| #define MPI_INFO_NULL 0 |
Definition at line 30 of file mpi_stub.hpp.
| #define MPI_STATUS_IGNORE (static_cast<MPI_Status*>(nullptr)) |
Definition at line 31 of file mpi_stub.hpp.
| #define MPI_STATUSES_IGNORE (static_cast<MPI_Status*>(nullptr)) |
Definition at line 32 of file mpi_stub.hpp.
| #define MPI_ANY_SOURCE (-1) |
Definition at line 33 of file mpi_stub.hpp.
| #define MPI_UNDEFINED (-32766) |
Definition at line 34 of file mpi_stub.hpp.
| #define MPI_UNWEIGHTED (static_cast<int*>(nullptr)) |
Definition at line 35 of file mpi_stub.hpp.
| #define MPI_SUCCESS 0 |
Definition at line 36 of file mpi_stub.hpp.
| #define MPI_BYTE 1 |
Definition at line 38 of file mpi_stub.hpp.
| #define MPI_INT 4 |
Definition at line 39 of file mpi_stub.hpp.
| #define MPI_LONG 8 |
Definition at line 40 of file mpi_stub.hpp.
| #define MPI_DOUBLE 8 |
Definition at line 41 of file mpi_stub.hpp.
| #define MPI_SUM 0 |
Definition at line 43 of file mpi_stub.hpp.
| #define MPI_MAX 1 |
Definition at line 44 of file mpi_stub.hpp.
| #define MPI_MIN 2 |
Definition at line 45 of file mpi_stub.hpp.
| #define MPI_LAND 3 |
Definition at line 46 of file mpi_stub.hpp.
| #define MPI_COMM_NULL_COPY_FN (static_cast<MPI_Comm_copy_attr_function*>(nullptr)) |
Definition at line 77 of file mpi_stub.hpp.
| #define MPI_COMM_NULL_DELETE_FN (static_cast<MPI_Comm_delete_attr_function*>(nullptr)) |
Definition at line 78 of file mpi_stub.hpp.
| #define MPI_KEYVAL_INVALID (-1) |
Definition at line 79 of file mpi_stub.hpp.
| using MPI_Comm = int |
Definition at line 17 of file mpi_stub.hpp.
| using MPI_Request = int |
Definition at line 18 of file mpi_stub.hpp.
| using MPI_Datatype = int |
Definition at line 19 of file mpi_stub.hpp.
| using MPI_Op = int |
Definition at line 20 of file mpi_stub.hpp.
| using MPI_Info = int |
Definition at line 21 of file mpi_stub.hpp.
| using MPI_Comm_copy_attr_function = int(MPI_Comm, int, void*, void*, void*, int*) |
Definition at line 75 of file mpi_stub.hpp.
| using MPI_Comm_delete_attr_function = int(MPI_Comm, int, void*, void*) |
Definition at line 76 of file mpi_stub.hpp.
|
inline |
Definition at line 48 of file mpi_stub.hpp.
References MPI_SUCCESS.
|
inline |
Definition at line 51 of file mpi_stub.hpp.
References MPI_SUCCESS.
Referenced by peclet::core::halo::detail::probeGpuAwareMpi().
|
inline |
Definition at line 55 of file mpi_stub.hpp.
References MPI_SUCCESS.
|
inline |
Definition at line 58 of file mpi_stub.hpp.
References MPI_SUCCESS.
Referenced by peclet::core::halo::GridHaloTopology< Dim >::operator=().
|
inline |
Definition at line 62 of file mpi_stub.hpp.
|
inline |
Definition at line 66 of file mpi_stub.hpp.
References MPI_SUCCESS.
Referenced by peclet::core::solver::andersonComm(), peclet::core::decomp::RedistributeTopology< Dim, T >::build(), peclet::core::decomp::makeStageComm(), and peclet::core::halo::NbxEngine::rank().
|
inline |
Definition at line 70 of file mpi_stub.hpp.
References MPI_SUCCESS.
Referenced by peclet::core::decomp::RedistributeTopology< Dim, T >::build(), peclet::core::halo::ParticleHaloTopology< Dim >::build(), peclet::core::decomp::gatherByGlobalId(), peclet::core::halo::ParticleMigrator< Dim >::gatherGhosts(), peclet::core::decomp::makeStageComm(), peclet::core::halo::rebalanceByParticleCount(), and peclet::core::halo::NbxEngine::size().
|
inline |
Definition at line 90 of file mpi_stub.hpp.
References peclet::core::mpi_stub::nextKeyval().
Referenced by peclet::core::halo::detail::nbxRoundTag().
|
inline |
Definition at line 95 of file mpi_stub.hpp.
References peclet::core::mpi_stub::attrs().
Referenced by peclet::core::halo::detail::nbxRoundTag().
|
inline |
Definition at line 103 of file mpi_stub.hpp.
References peclet::core::mpi_stub::attrs().
Referenced by peclet::core::halo::detail::nbxRoundTag().
|
inline |
Definition at line 107 of file mpi_stub.hpp.
References MPI_SUCCESS.
Referenced by peclet::core::halo::GridHaloTopology< Dim >::operator=(), and peclet::core::halo::detail::probeGpuAwareMpi().
|
inline |
Definition at line 110 of file mpi_stub.hpp.
References MPI_SUCCESS.
|
inline |
Definition at line 114 of file mpi_stub.hpp.
References MPI_SUCCESS.
Referenced by peclet::core::solver::andersonComm(), peclet::core::halo::GridHaloTopology< Dim >::buildTopology(), and peclet::core::halo::rebalanceByParticleCount().
|
inline |
Definition at line 120 of file mpi_stub.hpp.
References MPI_SUCCESS.
Referenced by peclet::core::solver::andersonComm().
|
inline |
Definition at line 126 of file mpi_stub.hpp.
References MPI_SUCCESS.
|
inline |
Definition at line 129 of file mpi_stub.hpp.
References MPI_SUCCESS.
Referenced by peclet::core::halo::NbxEngine::exchange().
|
inline |
Definition at line 132 of file mpi_stub.hpp.
References MPI_SUCCESS.
Referenced by peclet::core::halo::GridHalo< T >::exchangeBegin(), peclet::core::halo::ParticleHaloTopology< Dim >::reverse(), peclet::core::halo::GridHaloTopology< Dim >::reverseAdd(), and peclet::core::halo::GridHaloTopology< Dim >::start().
|
inline |
Definition at line 135 of file mpi_stub.hpp.
References MPI_SUCCESS.
Referenced by peclet::core::halo::GridHalo< T >::exchangeBegin(), peclet::core::halo::ParticleHaloTopology< Dim >::reverse(), peclet::core::halo::GridHaloTopology< Dim >::reverseAdd(), and peclet::core::halo::GridHaloTopology< Dim >::start().
|
inline |
Definition at line 138 of file mpi_stub.hpp.
References MPI_SUCCESS.
Referenced by peclet::core::halo::NbxEngine::exchange().
|
inline |
Definition at line 141 of file mpi_stub.hpp.
References MPI_SUCCESS.
Referenced by peclet::core::halo::NbxEngine::exchange().
|
inline |
Definition at line 145 of file mpi_stub.hpp.
References MPI_SUCCESS.
Referenced by peclet::core::halo::NbxEngine::exchange().
|
inline |
Definition at line 149 of file mpi_stub.hpp.
References MPI_SUCCESS.
Referenced by peclet::core::halo::NbxEngine::exchange().
|
inline |
Definition at line 153 of file mpi_stub.hpp.
References MPI_SUCCESS.
Referenced by peclet::core::halo::NbxEngine::exchange().
|
inline |
Definition at line 157 of file mpi_stub.hpp.
References MPI_SUCCESS.
|
inline |
Definition at line 160 of file mpi_stub.hpp.
References MPI_SUCCESS.
Referenced by peclet::core::halo::GridHalo< T >::exchangeEnd(), peclet::core::halo::ParticleHalo< Dim >::forward(), peclet::core::halo::ParticleHaloTopology< Dim >::reverse(), peclet::core::halo::ParticleHalo< Dim >::reverse(), peclet::core::halo::GridHaloTopology< Dim >::reverseAdd(), and peclet::core::halo::GridHaloTopology< Dim >::wait().
|
inline |
Definition at line 163 of file mpi_stub.hpp.
References MPI_SUCCESS, and MPI_UNDEFINED.
Referenced by peclet::core::halo::GridHaloTopology< Dim >::reverseAdd(), and peclet::core::halo::GridHaloTopology< Dim >::wait().
|
inline |
Definition at line 167 of file mpi_stub.hpp.
References MPI_SUCCESS.
Referenced by peclet::core::halo::NbxEngine::exchange().
|
inline |
Definition at line 170 of file mpi_stub.hpp.
References MPI_SUCCESS.
|
inline |
Definition at line 175 of file mpi_stub.hpp.
References MPI_SUCCESS.
Referenced by peclet::core::halo::GridHaloTopology< Dim >::exchangePersistent().