YetAnotherCoupler 3.5.2
Loading...
Searching...
No Matches
test_mpi_error.c

This example tests the yac_mpi_error interface.

// Copyright (c) 2024 The YAC Authors
//
// SPDX-License-Identifier: BSD-3-Clause
#include <stdlib.h>
#include <mpi.h>
#include "yac_mpi_common.h"
int main (void) {
MPI_Init(NULL, NULL);
yac_mpi_error(MPI_ERR_COMM, MPI_COMM_WORLD);
MPI_Finalize();
return EXIT_SUCCESS;
}
int main(int argc, char **argv)
void yac_mpi_error(int error_code, MPI_Comm comm)
Definition yac_mpi.c:117