14#include "arccore/message_passing_mpi/MessagePassingMpiEnum.h"
16#include "arcane/utils/FatalErrorException.h"
17#include "arcane/std/Otf2MpiProfiling.h"
24using namespace Arccore::MessagePassing::Mpi;
66 _doEventEnter(eMpiName::Bcast);
76 _doEventLeave(eMpiName::Bcast);
92 _doEventEnter(eMpiName::Gather);
102 _doEventLeave(eMpiName::Gather);
123 _doEventEnter(eMpiName::Gatherv);
133 _doEventLeave(eMpiName::Gatherv);
149 _doEventEnter(eMpiName::Allgather);
159 _doEventLeave(eMpiName::Allgather);
178 _doEventEnter(eMpiName::Allgatherv);
188 _doEventLeave(eMpiName::Allgatherv);
211 _doEventEnter(eMpiName::Scatterv);
221 _doEventLeave(eMpiName::Scatterv);
233 _doEventEnter(eMpiName::Alltoall);
243 _doEventLeave(eMpiName::Alltoall);
256 _doEventEnter(eMpiName::Alltoallv);
266 _doEventLeave(eMpiName::Alltoallv);
277 _doEventEnter(eMpiName::Barrier);
287 _doEventLeave(eMpiName::Barrier);
299 _doEventEnter(eMpiName::Reduce);
309 _doEventLeave(eMpiName::Reduce);
324 _doEventEnter(eMpiName::Allreduce);
334 _doEventLeave(eMpiName::Allreduce);
345 _doEventEnter(eMpiName::Scan);
358 _doEventLeave(eMpiName::Scan);
371 _doEventEnter(eMpiName::Sendrecv);
376 _doEventLeave(eMpiName::Sendrecv);
388 _doEventEnter(eMpiName::Isend);
390 int r =
MPI_Isend(buf, count, datatype, dest, tag,
comm, request);
397 _doEventLeave(eMpiName::Isend);
408 _doEventEnter(eMpiName::Send);
415 _doEventLeave(eMpiName::Send);
427 _doEventEnter(eMpiName::Irecv);
429 int r =
MPI_Irecv(buf, count, datatype, source, tag,
comm, request);
434 _doEventLeave(eMpiName::Irecv);
445 _doEventEnter(eMpiName::Recv);
446 int r =
MPI_Recv(buf, count, datatype, source, tag,
comm, status);
451 _doEventLeave(eMpiName::Recv);
462 _doEventEnter(eMpiName::Test);
467 _doEventLeave(eMpiName::Test);
478 _doEventEnter(eMpiName::Probe);
480 _doEventLeave(eMpiName::Probe);
491 _doEventEnter(eMpiName::Get_count);
493 _doEventLeave(eMpiName::Get_count);
504 _doEventEnter(eMpiName::Wait);
506 _doEventLeave(eMpiName::Wait);
517 _doEventEnter(eMpiName::Waitall);
519 _doEventLeave(eMpiName::Waitall);
531 _doEventEnter(eMpiName::Testsome);
533 _doEventLeave(eMpiName::Testsome);
545 _doEventEnter(eMpiName::Waitsome);
547 _doEventLeave(eMpiName::Waitsome);
554void Otf2MpiProfiling::
564void Otf2MpiProfiling::
Fichier de configuration d'Arcane.
Lecteur des fichiers de maillage via la bibliothèque LIMA.
Classe d'encapsulation des fonctions de la librairie OTF2.
OTF2_EvtWriter * getEventWriter()
int getMpiNbRank() const
Helper sur le nombre de rank MPI.
static OTF2_TimeStamp getTime()
Méthode interne statique pour recuperer le timestamp.
int getMpiRank() const
Helper sur le numero de rank MPI.
ReturnType allGatherVariable(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int *recvcounts, const int *displs, MPI_Datatype recvtype, MPI_Comm comm) final
MPI_Allgatherv.
ReturnType allGather(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm) final
MPI_Allgather.
ReturnType waitAll(int count, MPI_Request array_of_requests[], MPI_Status array_of_statuses[]) final
MPI_Waitall.
ReturnType testSome(int incount, MPI_Request array_of_requests[], int *outcount, int array_of_indices[], MPI_Status array_of_statuses[]) final
MPI_Testsome.
ReturnType probe(int source, int tag, MPI_Comm comm, MPI_Status *status) final
MPI_Probe.
Otf2MpiProfiling(Otf2LibWrapper *otf2_wrapper)
Constructeur.
ReturnType barrier(MPI_Comm comm) final
MPI_Barrier.
ReturnType sendRecv(const void *sendbuf, int sendcount, MPI_Datatype sendtype, int dest, int sendtag, void *recvbuf, int recvcount, MPI_Datatype recvtype, int source, int recvtag, MPI_Comm comm, MPI_Status *status) final
MPI_Sendrecv.
ReturnType recv(void *buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Status *status) final
MPI_recv.
ReturnType reduce(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, int root, MPI_Comm comm) final
MPI_Reduce.
ReturnType scatterVariable(const void *sendbuf, const int *sendcounts, const int *displs, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm) final
MPI_Scatterv.
ReturnType allToAllVariable(const void *sendbuf, const int *sendcounts, const int *sdispls, MPI_Datatype sendtype, void *recvbuf, const int *recvcounts, const int *rdispls, MPI_Datatype recvtype, MPI_Comm comm) final
MPI_Alltoallv.
ReturnType allToAll(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm) final
MPI_Alltoall.
ReturnType gatherVariable(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, const int *recvcounts, const int *displs, MPI_Datatype recvtype, int root, MPI_Comm comm) final
MPI_Gatherv.
ReturnType scan(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm) final
MPI_Scan.
ReturnType waitSome(int incount, MPI_Request array_of_requests[], int *outcount, int array_of_indices[], MPI_Status array_of_statuses[]) final
MPI_Waitsome.
ReturnType getCount(const MPI_Status *status, MPI_Datatype datatype, int *count) final
MPI_Get_count.
ReturnType broadcast(void *buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm) final
MPI_Bcast.
ReturnType gather(const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, int root, MPI_Comm comm) final
MPI_Gather.
ReturnType wait(MPI_Request *request, MPI_Status *status) final
MPI_Wait.
ReturnType test(MPI_Request *request, int *flag, MPI_Status *status) final
MPI_Test.
ReturnType send(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm) final
MPI_Send.
ReturnType allReduce(const void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype, MPI_Op op, MPI_Comm comm) final
MPI_Allreduce.
ReturnType iSend(const void *buf, int count, MPI_Datatype datatype, int dest, int tag, MPI_Comm comm, MPI_Request *request) final
MPI_Isend.
ReturnType iRecv(void *buf, int count, MPI_Datatype datatype, int source, int tag, MPI_Comm comm, MPI_Request *request) final
MPI_Irecv.
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-