Arcane  v3.14.10.0
Documentation développeur
Chargement...
Recherche...
Aucune correspondance
MpiErrorHandler.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2022 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/* MpiErrorHandler.h (C) 2000-2020 */
9/* */
10/* Gestionnaire d'erreur pour MPI. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_PARALLEL_MPI_MPIERRORHANDLER_H
13#define ARCANE_PARALLEL_MPI_MPIERRORHANDLER_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/parallel/mpi/ArcaneMpi.h"
18
19/*---------------------------------------------------------------------------*/
20/*---------------------------------------------------------------------------*/
21
22namespace Arcane
23{
24
25/*---------------------------------------------------------------------------*/
26/*---------------------------------------------------------------------------*/
30class ARCANE_MPI_EXPORT MpiErrorHandler
31{
32 public:
33
36 void removeHandler();
37 void registerHandler(MPI_Comm comm);
38
39 private:
40
41 MPI_Errhandler m_err_handler;
42 bool m_has_err_handler;
43
44 private:
45
46 // Handler d'erreur
47 static void _ErrorHandler(MPI_Comm *, int *, ...);
48};
49
50/*---------------------------------------------------------------------------*/
51/*---------------------------------------------------------------------------*/
52
53} // End namespace Arcane
54
55/*---------------------------------------------------------------------------*/
56/*---------------------------------------------------------------------------*/
57
58#endif
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Definition Lima.cc:120
Interface des messages pour le type Type.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-