YetAnotherCoupler
3.2.0_a
Loading...
Searching...
No Matches
src
mci
mpi_handshake.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 MPI_HANDSHAKE_H
6
#define MPI_HANDSHAKE_H
7
8
#include <mpi.h>
9
10
/* Collective algorithm that splits a given MPI communicator into n
11
* communicators. Each new communicator contains all processes that
12
* provided the same group name.
13
* @param[in] comm MPI communicator that is to be split
14
* @param[in] n number communicator that are to be generated
15
* @param[in] group_name group names for the new communicators
16
* @param[out] group_comms new communicators
17
*/
18
void
yac_mpi_handshake
(
19
MPI_Comm comm,
size_t
n,
char
const
** group_names,
20
MPI_Comm * group_comms);
21
22
#endif
// MPI_HANDSHAKE_H
23
24
/*
25
* Local Variables:
26
* c-basic-offset: 2
27
* coding: utf-8
28
* indent-tabs-mode: nil
29
* show-trailing-whitespace: t
30
* require-trailing-newline: t
31
* End:
32
*/
yac_mpi_handshake
void yac_mpi_handshake(MPI_Comm comm, size_t n, char const **group_names, MPI_Comm *group_comms)
Definition
mpi_handshake.c:15
Generated on Mon Apr 8 2024 08:41:04 for YetAnotherCoupler by
1.9.8