12#ifndef ARCANE_PARALLEL_THREAD_SHAREDMEMORYPARALLELSUPERMNG_H
13#define ARCANE_PARALLEL_THREAD_SHAREDMEMORYPARALLELSUPERMNG_H
17#include "arcane/core/IParallelSuperMng.h"
39class ARCANE_THREAD_EXPORT SharedMemoryParallelSuperMng
47 ~SharedMemoryParallelSuperMng()
override;
50 void build()
override;
61 void tryAbort()
override;
64 Int32 nbLocalSubDomain()
override;
83 bool m_has_mpi_init =
false;
File containing declarations concerning the message passing model.
Abstract class of the parallelism supervisor.
Interface of a thread manager.
Communicator for message exchange.
Container for shared memory message manager information.
void build() override
Constructs the instance members.
bool m_is_parallel
Statistics.
Int32 commSize() const override
Returns the total number of processes used.
void barrier() override
Parallelism manager for all allocated resources.
IApplication * m_application
Main manager.
void * getMPICommunicator() override
Address of the MPI communicator associated with this manager.
Parallel::Communicator communicator() const override
MPI communicator associated with this manager.
Int32 commRank() const override
Returns the process number (between 0 and nbProcess()-1).
bool isMasterIO() const override
Returns true if the instance is a master I/O manager.
bool isParallel() const override
Returns true if the execution is parallel.
Int32 masterIORank() const override
Rank of the instance managing input/output (for which isMasterIO() is true).
IApplication * application() const override
Returns the main manager.
Int32 traceRank() const override
Rank of this instance for traces.
void initialize() override
Initializes the instance.
Statistics on parallelism.
Reference to an instance.
Structure containing the information to create a service.
Declarations of types and methods used by message exchange mechanisms.
-- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature --
ArrayView< Int64 > Int64ArrayView
C equivalent of a 1D array of 64-bit integers.
ArrayView< Byte > ByteArrayView
C equivalent of a 1D array of characters.
ArrayView< Int32 > Int32ArrayView
C equivalent of a 1D array of 32-bit integers.
ArrayView< Real > RealArrayView
C equivalent of a 1D array of reals.
std::int32_t Int32
Signed integer type of 32 bits.