YAC 3.13.0
Yet Another Coupler
Loading...
Searching...
No Matches
test_mpi_error.c
Go to the documentation of this file.
1// Copyright (c) 2024 The YAC Authors
2//
3// SPDX-License-Identifier: BSD-3-Clause
4
5#include <stdlib.h>
6#include <mpi.h>
7
8#include "yac_mpi_common.h"
9
15int main (void) {
16
17 MPI_Init(NULL, NULL);
18
19 yac_mpi_error(MPI_ERR_COMM, MPI_COMM_WORLD);
20
21 MPI_Finalize();
22
23 return EXIT_SUCCESS;
24}
25
void yac_mpi_error(int error_code, MPI_Comm comm)
Definition yac_mpi.c:118