MAIA
bb96820c
Multiphysics at AIA
Loading...
Searching...
No Matches
mpi.h
Go to the documentation of this file.
1
// Copyright (C) 2024 The m-AIA AUTHORS
2
//
3
// This file is part of m-AIA (https://git.rwth-aachen.de/aia/m-AIA/m-AIA)
4
//
5
// SPDX-License-Identifier: LGPL-3.0-only
6
7
// NOTE: commented on purpose to prevent multiple includes of mpi.h as it should only be included once in mpioverride.h
8
// which is the header that should be used everywhere
9
/* #ifndef MAIA_MPI_H_ */
10
/* #define MAIA_MPI_H_ */
16
#include "
INCLUDE/maiatypes.h
"
17
#include "
compiler_config.h
"
18
#include "
config.h
"
21
#ifndef MPICH_SKIP_MPICXX
22
#define MPICH_SKIP_MPICXX
23
#endif
25
#ifndef MPICH_IGNORE_CXX_SEEK
26
#define MPICH_IGNORE_CXX_SEEK
27
#endif
30
#if defined(MAIA_GCC_COMPILER)
32
#pragma GCC diagnostic push
33
#pragma GCC diagnostic ignored "-Wlong-long"
35
#if defined(HOST_Hawk)
36
#pragma GCC diagnostic ignored "-Wdeprecated-copy"
37
#pragma GCC diagnostic ignored "-Wredundant-decls"
38
#endif
39
#include <
mpi.h
>
40
#if defined(HOST_Hawk)
41
#pragma GCC diagnostic pop
42
#pragma GCC diagnostic pop
43
#endif
44
#pragma GCC diagnostic pop
45
#elif defined(MAIA_CLANG_COMPILER)
47
#pragma clang diagnostic push
48
#pragma clang diagnostic ignored "-Wcast-align"
49
#include <
mpi.h
>
50
#pragma clang diagnostic pop
51
#else
52
#include <
mpi.h
>
53
#endif
55
#if MPI_VERSION < 3 && !defined(HOST_Klogin)
56
#define MPI_Iallreduce MPIX_Iallreduce
57
#endif
58
59
// minimum upper bound for MPI tags as defined by the MPI standard
60
#ifndef MPI_TAG_UB
61
#define MPI_TAG_UB 32767
62
#endif
63
66
static
const
MPI_Request MPI_REQ_NULL = MPI_REQUEST_NULL;
67
68
/* #endif */
compiler_config.h
config.h
maiatypes.h
mpi.h
home
gitlab-runner
scratch
builds
oxpnswJ6
1
aia
m-AIA
m-AIA
src
COMM
mpi.h
Generated on Sun Jun 16 2024 23:43:57 for MAIA by
1.9.5