YetAnotherCoupler
3.2.0_a
Loading...
Searching...
No Matches
src
core
yac_mpi_common.h
Go to the documentation of this file.
1
// Copyright (c) 2024 The YAC Authors
2
//
3
// SPDX-License-Identifier: BSD-3-Clause
4
5
#ifndef YAC_MPI_COMMON_H
6
#define YAC_MPI_COMMON_H
7
8
#include <mpi.h>
9
13
#define yac_mpi_call(call, comm) \
14
do { \
15
int error_code = (call); \
16
if (error_code != MPI_SUCCESS) \
17
yac_mpi_error(error_code, comm); \
18
} while(0)
19
27
void
yac_mpi_error
(
int
error_code, MPI_Comm comm);
28
29
#endif
// YAC_MPI_COMMON_H
30
31
/*
32
* Local Variables:
33
* c-basic-offset: 2
34
* coding: utf-8
35
* indent-tabs-mode: nil
36
* show-trailing-whitespace: t
37
* require-trailing-newline: t
38
* End:
39
*/
yac_mpi_error
void yac_mpi_error(int error_code, MPI_Comm comm)
Definition
yac_mpi.c:116
Generated on Mon Apr 8 2024 08:41:04 for YetAnotherCoupler by
1.9.8