SST 15.0
Structural Simulation Toolkit
sst_mpi.h
1// Copyright 2009-2025 NTESS. Under the terms
2// of Contract DE-NA0003525 with NTESS, the U.S.
3// Government retains certain rights in this software.
4//
5// Copyright (c) 2009-2025, NTESS
6// All rights reserved.
7//
8// This file is part of the SST software package. For license
9// information, see the LICENSE file in the top level directory of the
10// distribution.
11
12#ifndef SST_CORE_SST_MPI_H
13#define SST_CORE_SST_MPI_H
14
15#include "warnmacros.h"
16
17#ifdef SST_CONFIG_HAVE_MPI
18
19DISABLE_WARN_MISSING_OVERRIDE
20DISABLE_WARN_CAST_FUNCTION_TYPE
21
22#include <mpi.h>
23
24REENABLE_WARNING
25REENABLE_WARNING
26
27#define UNUSED_WO_MPI(x) x
28
29#else
30
31#define UNUSED_WO_MPI(x) UNUSED(x)
32
33#endif
34
35#endif