monolish
0.17.3-dev.16
MONOlithic LInear equation Solvers for Highly-parallel architecture
include
monolish_mpi.hpp
Go to the documentation of this file.
1
// this source code is generated by include/mpi/gen_all.sh
2
#pragma once
3
4
#include "
monolish/common/monolish_common.hpp
"
5
#include <climits>
6
#include <vector>
7
8
#if defined MONOLISH_USE_MPI
9
#include <mpi.h>
10
#else
11
// MPI dummy
12
#include "
monolish/mpi/mpi_dummy.hpp
"
13
#endif
14
15
#if SIZE_MAX == ULONG_MAX
16
#define MPI_SIZE_T MPI_UNSIGNED_LONG
17
#elif SIZE_MAX == ULLONG_MAX
18
#define MPI_SIZE_T MPI_UNSIGNED_LONG_LONG
19
#elif SIZE_MAX == UINT_MAX
20
#define MPI_SIZE_T MPI_UNSIGNED
21
#endif
22
23
#include "
monolish/mpi/monolish_mpi_core.hpp
"
monolish_common.hpp
monolish_mpi_core.hpp
mpi_dummy.hpp
Generated by
1.9.1