Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
MpiBatchMainFactory.h
1// -*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
2//-----------------------------------------------------------------------------
3// Copyright 2000-2026 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/* MpiBatchMainFactory.h (C) 2000-2016 */
9/* */
10/* Main factory for 'MPI'. */
11/*---------------------------------------------------------------------------*/
12#ifndef ARCANE_PARALLEL_MPI_MPIBATCHMAINFACTORY_H
13#define ARCANE_PARALLEL_MPI_MPIBATCHMAINFACTORY_H
14/*---------------------------------------------------------------------------*/
15/*---------------------------------------------------------------------------*/
16
17#include "arcane/impl/MainFactory.h"
18#include "arcane/impl/ArcaneMain.h"
19
20/*---------------------------------------------------------------------------*/
21/*---------------------------------------------------------------------------*/
22
23namespace Arcane
24{
25
26/*---------------------------------------------------------------------------*/
27/*---------------------------------------------------------------------------*/
28
29class ARCANE_MPI_EXPORT MpiBatchMainFactory
30: public MainFactory
31{
32 public:
33
34 virtual IArcaneMain* createArcaneMain(const ApplicationInfo& app_info);
39 static int exec(const ApplicationInfo& app_info);
40};
41
42/*---------------------------------------------------------------------------*/
43/*---------------------------------------------------------------------------*/
44
45} // namespace Arcane
46
47/*---------------------------------------------------------------------------*/
48/*---------------------------------------------------------------------------*/
49
50#endif
Application information.
Interface of the code management class.
Definition IArcaneMain.h:55
virtual IArcaneMain * createArcaneMain(const ApplicationInfo &app_info)
Creates an instance of IArcaneMain.
static int exec(const ApplicationInfo &app_info)
Executes the application specified by app_info using MPI as the parallelism manager.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --