peclet-dem 1.1.0
Performance-portable XPBD Discrete Element Method (Kokkos + ArborX)
Loading...
Searching...
No Matches
pmpi.cpp File Reference
#include <mpi.h>
#include <cstdio>
#include <cstdlib>

Go to the source code of this file.

Functions

int MPI_Allreduce (const void *a, void *b, int c, MPI_Datatype d, MPI_Op e, MPI_Comm f)
int MPI_Waitall (int a, MPI_Request *b, MPI_Status *c)
int MPI_Waitany (int a, MPI_Request *b, int *c, MPI_Status *d)
int MPI_Wait (MPI_Request *a, MPI_Status *b)
int MPI_Isend (const void *a, int b, MPI_Datatype c, int d, int e, MPI_Comm f, MPI_Request *g)
int MPI_Issend (const void *a, int b, MPI_Datatype c, int d, int e, MPI_Comm f, MPI_Request *g)
int MPI_Irecv (void *a, int b, MPI_Datatype c, int d, int e, MPI_Comm f, MPI_Request *g)
int MPI_Testall (int a, MPI_Request *b, int *c, MPI_Status *d)
int MPI_Test (MPI_Request *a, int *b, MPI_Status *c)
int MPI_Sendrecv (const void *a, int b, MPI_Datatype c, int d, int e, void *f, int g, MPI_Datatype h, int i, int j, MPI_Comm k, MPI_Status *l)
int MPI_Recv (void *a, int b, MPI_Datatype c, int d, int e, MPI_Comm f, MPI_Status *g)
int MPI_Send (const void *a, int b, MPI_Datatype c, int d, int e, MPI_Comm f)
int MPI_Neighbor_alltoallv (const void *a, const int *b, const int *c, MPI_Datatype d, void *e, const int *f, const int *g, MPI_Datatype h, MPI_Comm i)
int MPI_Iprobe (int a, int b, MPI_Comm c, int *d, MPI_Status *e)
int MPI_Ibarrier (MPI_Comm a, MPI_Request *b)
int MPI_Barrier (MPI_Comm a)
int MPI_Exscan (const void *a, void *b, int c, MPI_Datatype d, MPI_Op e, MPI_Comm f)
int MPI_Allgather (const void *a, int b, MPI_Datatype c, void *d, int e, MPI_Datatype f, MPI_Comm g)
int MPI_Allgatherv (const void *a, int b, MPI_Datatype c, void *d, const int *e, const int *f, MPI_Datatype g, MPI_Comm h)
int MPI_Alltoall (const void *a, int b, MPI_Datatype c, void *d, int e, MPI_Datatype f, MPI_Comm g)
int MPI_Alltoallv (const void *a, const int *b, const int *c, MPI_Datatype d, void *e, const int *f, const int *g, MPI_Datatype h, MPI_Comm i)
int MPI_Bcast (void *a, int b, MPI_Datatype c, int d, MPI_Comm e)
C int MPI_Init (int *a, char ***b)
int MPI_Init_thread (int *a, char ***b, int c, int *d)
int MPI_Finalize ()

Variables

static double T [64]
static long N [64]
static const char * NM [] ={"Allreduce","Waitall","Waitany","Wait","Isend","Issend","Irecv","Testall","Test","Sendrecv","Recv","Send","Neighbor_alltoallv","Iprobe","Ibarrier","Barrier","Exscan","Allgather","Allgatherv","Alltoall","Alltoallv","Bcast"}
static double t0

Function Documentation

◆ MPI_Allreduce()

int MPI_Allreduce ( const void * a,
void * b,
int c,
MPI_Datatype d,
MPI_Op e,
MPI_Comm f )

Definition at line 6 of file pmpi.cpp.

References N, and T.

◆ MPI_Waitall()

int MPI_Waitall ( int a,
MPI_Request * b,
MPI_Status * c )

Definition at line 7 of file pmpi.cpp.

References N, and T.

◆ MPI_Waitany()

int MPI_Waitany ( int a,
MPI_Request * b,
int * c,
MPI_Status * d )

Definition at line 8 of file pmpi.cpp.

References N, and T.

◆ MPI_Wait()

int MPI_Wait ( MPI_Request * a,
MPI_Status * b )

Definition at line 9 of file pmpi.cpp.

References N, and T.

◆ MPI_Isend()

int MPI_Isend ( const void * a,
int b,
MPI_Datatype c,
int d,
int e,
MPI_Comm f,
MPI_Request * g )

Definition at line 10 of file pmpi.cpp.

References N, and T.

◆ MPI_Issend()

int MPI_Issend ( const void * a,
int b,
MPI_Datatype c,
int d,
int e,
MPI_Comm f,
MPI_Request * g )

Definition at line 11 of file pmpi.cpp.

References N, and T.

◆ MPI_Irecv()

int MPI_Irecv ( void * a,
int b,
MPI_Datatype c,
int d,
int e,
MPI_Comm f,
MPI_Request * g )

Definition at line 12 of file pmpi.cpp.

References N, and T.

◆ MPI_Testall()

int MPI_Testall ( int a,
MPI_Request * b,
int * c,
MPI_Status * d )

Definition at line 13 of file pmpi.cpp.

References N, and T.

◆ MPI_Test()

int MPI_Test ( MPI_Request * a,
int * b,
MPI_Status * c )

Definition at line 14 of file pmpi.cpp.

References N, and T.

◆ MPI_Sendrecv()

int MPI_Sendrecv ( const void * a,
int b,
MPI_Datatype c,
int d,
int e,
void * f,
int g,
MPI_Datatype h,
int i,
int j,
MPI_Comm k,
MPI_Status * l )

Definition at line 15 of file pmpi.cpp.

References N, and T.

◆ MPI_Recv()

int MPI_Recv ( void * a,
int b,
MPI_Datatype c,
int d,
int e,
MPI_Comm f,
MPI_Status * g )

Definition at line 16 of file pmpi.cpp.

References N, and T.

◆ MPI_Send()

int MPI_Send ( const void * a,
int b,
MPI_Datatype c,
int d,
int e,
MPI_Comm f )

Definition at line 17 of file pmpi.cpp.

References N, and T.

◆ MPI_Neighbor_alltoallv()

int MPI_Neighbor_alltoallv ( const void * a,
const int * b,
const int * c,
MPI_Datatype d,
void * e,
const int * f,
const int * g,
MPI_Datatype h,
MPI_Comm i )

Definition at line 18 of file pmpi.cpp.

References N, and T.

◆ MPI_Iprobe()

int MPI_Iprobe ( int a,
int b,
MPI_Comm c,
int * d,
MPI_Status * e )

Definition at line 19 of file pmpi.cpp.

References N, and T.

◆ MPI_Ibarrier()

int MPI_Ibarrier ( MPI_Comm a,
MPI_Request * b )

Definition at line 20 of file pmpi.cpp.

References N, and T.

◆ MPI_Barrier()

int MPI_Barrier ( MPI_Comm a)

Definition at line 21 of file pmpi.cpp.

References N, and T.

◆ MPI_Exscan()

int MPI_Exscan ( const void * a,
void * b,
int c,
MPI_Datatype d,
MPI_Op e,
MPI_Comm f )

Definition at line 22 of file pmpi.cpp.

References N, and T.

◆ MPI_Allgather()

int MPI_Allgather ( const void * a,
int b,
MPI_Datatype c,
void * d,
int e,
MPI_Datatype f,
MPI_Comm g )

Definition at line 23 of file pmpi.cpp.

References N, and T.

◆ MPI_Allgatherv()

int MPI_Allgatherv ( const void * a,
int b,
MPI_Datatype c,
void * d,
const int * e,
const int * f,
MPI_Datatype g,
MPI_Comm h )

Definition at line 24 of file pmpi.cpp.

References N, and T.

◆ MPI_Alltoall()

int MPI_Alltoall ( const void * a,
int b,
MPI_Datatype c,
void * d,
int e,
MPI_Datatype f,
MPI_Comm g )

Definition at line 25 of file pmpi.cpp.

References N, and T.

◆ MPI_Alltoallv()

int MPI_Alltoallv ( const void * a,
const int * b,
const int * c,
MPI_Datatype d,
void * e,
const int * f,
const int * g,
MPI_Datatype h,
MPI_Comm i )

Definition at line 26 of file pmpi.cpp.

References N, and T.

◆ MPI_Bcast()

int MPI_Bcast ( void * a,
int b,
MPI_Datatype c,
int d,
MPI_Comm e )

Definition at line 27 of file pmpi.cpp.

References N, and T.

◆ MPI_Init()

C int MPI_Init ( int * a,
char *** b )
extern

Definition at line 28 of file pmpi.cpp.

References t0.

Referenced by NB_MODULE().

◆ MPI_Init_thread()

int MPI_Init_thread ( int * a,
char *** b,
int c,
int * d )

Definition at line 29 of file pmpi.cpp.

References t0.

◆ MPI_Finalize()

int MPI_Finalize ( )

Definition at line 30 of file pmpi.cpp.

References N, NM, T, and t0.

Variable Documentation

◆ T

◆ N

◆ NM

const char* NM[] ={"Allreduce","Waitall","Waitany","Wait","Isend","Issend","Irecv","Testall","Test","Sendrecv","Recv","Send","Neighbor_alltoallv","Iprobe","Ibarrier","Barrier","Exscan","Allgather","Allgatherv","Alltoall","Alltoallv","Bcast"}
static

Definition at line 5 of file pmpi.cpp.

Referenced by MPI_Finalize().

◆ t0

double t0
static

Definition at line 28 of file pmpi.cpp.

Referenced by MPI_Finalize(), MPI_Init(), and MPI_Init_thread().