12#ifndef ARCANE_IMPL_SEQUENTIALPARALLELSUPERMNGR_H
13#define ARCANE_IMPL_SEQUENTIALPARALLELSUPERMNGR_H
17#include "arcane/utils/TraceAccessor.h"
18#include "arcane/utils/ScopedPtr.h"
20#include "arcane/core/AbstractService.h"
21#include "arcane/core/ParallelSuperMngDispatcher.h"
37class ARCANE_IMPL_EXPORT SequentialParallelSuperMng
39,
public ParallelSuperMngDispatcher
46 ~SequentialParallelSuperMng()
override;
48 void build()
override;
57 MP::Communicator
communicator()
const override {
return m_communicator; }
64 void tryAbort()
override;
72 MP::Communicator m_communicator;
AbstractService(const ServiceBuildInfo &)
Constructor from a ServiceBuildInfo.
Interface of a thread manager.
Interface of a timer manager.
Communicator for message exchange.
Reference to an instance.
Encapsulation of an automatically destructing pointer.
void initialize() override
Initializes the instance.
Integer nbLocalSubDomain() override
Number of subdomains to create locally.
void barrier() override
Parallelism manager for all allocated resources.
void * getMPICommunicator() override
Address of the MPI communicator associated with this manager.
MP::Communicator communicator() const override
MPI communicator associated with this manager.
Integer masterIORank() const override
Rank of the instance managing input/output (for which isMasterIO() is true).
Int32 commSize() const override
Returns the total number of processes used.
void build() override
Build-level construction of the service.
bool isParallel() const override
Returns true if the execution is parallel.
bool isMasterIO() const override
Returns true if the instance is a master I/O manager.
IApplication * m_application
Associated supervisor.
IApplication * application() const override
Returns the main manager.
Int32 commRank() const override
Returns the process number (between 0 and nbProcess()-1).
IThreadMng * threadMng() const override
Thread manager.
Int32 traceRank() const override
Rank of this instance for traces.
Structure containing the information to create a service.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
Int32 Integer
Type representing an integer.
std::int32_t Int32
Signed integer type of 32 bits.