Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
MpiMessagePassingMng.cc
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2024 CEA (www.cea.fr) IFPEN (www.ifpenergiesnouvelles.com)
4// See the top-level COPYRIGHT file for details.
5// SPDX-License-Identifier: Apache-2.0
6//-----------------------------------------------------------------------------
7/*---------------------------------------------------------------------------*/
8/* MpiMessagePassingMng.cc (C) 2000-2024 */
9/* */
10/* Implémentation MPI du gestionnaire des échanges de messages. */
11/*---------------------------------------------------------------------------*/
12/*---------------------------------------------------------------------------*/
13
14#include "arccore/message_passing_mpi/MpiMessagePassingMng.h"
15#include "arccore/message_passing/Communicator.h"
16
17/*---------------------------------------------------------------------------*/
18/*---------------------------------------------------------------------------*/
19
20namespace Arccore::MessagePassing::Mpi
21{
22
23/*---------------------------------------------------------------------------*/
24/*---------------------------------------------------------------------------*/
25
26MpiMessagePassingMng::
27MpiMessagePassingMng(const BuildInfo& bi)
28: MessagePassingMng(bi.commRank(),bi.commSize(),bi.dispatchers())
29, m_mpi_communicator(bi.communicator())
30{
31 setCommunicator(Communicator{m_mpi_communicator});
32}
33
34/*---------------------------------------------------------------------------*/
35/*---------------------------------------------------------------------------*/
36
37} // End namespace Arccore::MessagePassing::Mpi
38
39/*---------------------------------------------------------------------------*/
40/*---------------------------------------------------------------------------*/