core
Shared MPI block decomposition + asynchronous ghost-layer exchange (header-only C++20)
Loading...
Searching...
No Matches
mpi.hpp
Go to the documentation of this file.
1
// core -- MPI include shim. Lets the whole stack compile with or without MPI from ONE code
2
// path. Include this instead of <mpi.h>. With MPI (the default) it is transparent; define
3
// PECLET_CORE_NO_MPI (CMake: -DPECLET_CORE_ENABLE_MPI=OFF) to build the single-rank, no-MPI variant
4
// against peclet/core/common/mpi_stub.hpp.
5
#pragma once
6
7
#if defined(PECLET_CORE_NO_MPI)
8
#include "
peclet/core/common/mpi_stub.hpp
"
9
#else
10
#include <mpi.h>
11
#endif
mpi_stub.hpp
include
peclet
core
common
mpi.hpp
Generated by
1.9.8