ESPResSo 3.2.0-167-g2c9ead1-git
Extensible Simulation Package for Soft Matter Research
Functions | Variables
mpi.c File Reference

For more information about MPIFake, see mpi.h. More...

#include "mpi.h"
Include dependency graph for mpi.c:

Go to the source code of this file.

Functions

static void mpifake_dtblock (MPI_Datatype newtype, MPI_Datatype oldtype, int count, int disp)
static void mpifake_pack (void *dest, void *src, int num, MPI_Datatype dtype)
static int mpifake_unpack (void *dest, void *src, int num, MPI_Datatype dtype)
int MPI_Type_struct (int count, int *lengths, MPI_Aint *disps, MPI_Datatype *oldtypes, MPI_Datatype *newtype)
int MPI_Type_contiguous (int count, MPI_Datatype oldtype, MPI_Datatype *newtype)
int MPI_Type_vector (int count, int length, int stride, MPI_Datatype oldtype, MPI_Datatype *newtype)
int MPI_Type_hvector (int count, int length, int stride, MPI_Datatype oldtype, MPI_Datatype *newtype)
static void mpifake_pack_hvector (void *dest, void *src, int num, MPI_Datatype dtype, int vflag)
static void mpifake_pack_struct (void *dest, void *src, int num, MPI_Datatype dtype)
static int mpifake_unpack_hvector (void *dest, void *src, int num, MPI_Datatype dtype, int vflag)
static int mpifake_unpack_struct (void *dest, void *src, int num, MPI_Datatype dtype)
static void mpifake_cpy_hvector (void *dest, void *src, int num, MPI_Datatype dtype, int vflag)
static void mpifake_cpy_struct (void *dest, void *src, int count, MPI_Datatype dtype)
void mpifake_copy (void *src, void *dest, int *count, MPI_Datatype *dtype)
int mpifake_sendrecv (void *s, int scount, MPI_Datatype sdtype, void *r, int rcount, MPI_Datatype rdtype)

Variables

struct mpifake_dtype mpifake_dtype_lb = { 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL }
struct mpifake_dtype mpifake_dtype_ub = { 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL }
struct mpifake_dtype mpifake_dtype_byte = { 0, 0, sizeof(char), sizeof(char), 1, 1, sizeof(char), NULL, NULL, NULL, NULL }
struct mpifake_dtype mpifake_dtype_char = { 0, 0, sizeof(char), sizeof(char), 1, 1, sizeof(char), NULL, NULL, NULL, NULL }
struct mpifake_dtype mpifake_dtype_int = { 0, 0, sizeof(int), sizeof(int), 1, 1, sizeof(int), NULL, NULL, NULL, NULL }
struct mpifake_dtype mpifake_dtype_long = { 0, 0, sizeof(long), sizeof(long), 1, 1, sizeof(long), NULL, NULL, NULL, NULL }
struct mpifake_dtype mpifake_dtype_double = { 0, 0, sizeof(double), sizeof(double), 1, 1, sizeof(double), NULL, NULL, NULL, NULL }

Detailed Description

For more information about MPIFake, see mpi.h.

Definition in file mpi.c.


Function Documentation

int MPI_Type_contiguous ( int  count,
MPI_Datatype  oldtype,
MPI_Datatype newtype 
)
int MPI_Type_hvector ( int  count,
int  length,
int  stride,
MPI_Datatype  oldtype,
MPI_Datatype newtype 
)
int MPI_Type_struct ( int  count,
int *  lengths,
MPI_Aint disps,
MPI_Datatype oldtypes,
MPI_Datatype newtype 
)
int MPI_Type_vector ( int  count,
int  length,
int  stride,
MPI_Datatype  oldtype,
MPI_Datatype newtype 
)
void mpifake_copy ( void *  src,
void *  dest,
int *  count,
MPI_Datatype dtype 
)
static void mpifake_cpy_hvector ( void *  dest,
void *  src,
int  num,
MPI_Datatype  dtype,
int  vflag 
) [static]
static void mpifake_cpy_struct ( void *  dest,
void *  src,
int  count,
MPI_Datatype  dtype 
) [static]
static void mpifake_dtblock ( MPI_Datatype  newtype,
MPI_Datatype  oldtype,
int  count,
int  disp 
) [static]
static void mpifake_pack ( void *  dest,
void *  src,
int  num,
MPI_Datatype  dtype 
) [static]
static void mpifake_pack_hvector ( void *  dest,
void *  src,
int  num,
MPI_Datatype  dtype,
int  vflag 
) [static]
static void mpifake_pack_struct ( void *  dest,
void *  src,
int  num,
MPI_Datatype  dtype 
) [static]
int mpifake_sendrecv ( void *  s,
int  scount,
MPI_Datatype  sdtype,
void *  r,
int  rcount,
MPI_Datatype  rdtype 
)
static int mpifake_unpack ( void *  dest,
void *  src,
int  num,
MPI_Datatype  dtype 
) [static]
static int mpifake_unpack_hvector ( void *  dest,
void *  src,
int  num,
MPI_Datatype  dtype,
int  vflag 
) [static]
static int mpifake_unpack_struct ( void *  dest,
void *  src,
int  num,
MPI_Datatype  dtype 
) [static]

Variable Documentation

struct mpifake_dtype mpifake_dtype_byte = { 0, 0, sizeof(char), sizeof(char), 1, 1, sizeof(char), NULL, NULL, NULL, NULL }

Definition at line 30 of file mpi.c.

struct mpifake_dtype mpifake_dtype_char = { 0, 0, sizeof(char), sizeof(char), 1, 1, sizeof(char), NULL, NULL, NULL, NULL }

Definition at line 31 of file mpi.c.

struct mpifake_dtype mpifake_dtype_double = { 0, 0, sizeof(double), sizeof(double), 1, 1, sizeof(double), NULL, NULL, NULL, NULL }

Definition at line 34 of file mpi.c.

struct mpifake_dtype mpifake_dtype_int = { 0, 0, sizeof(int), sizeof(int), 1, 1, sizeof(int), NULL, NULL, NULL, NULL }

Definition at line 32 of file mpi.c.

struct mpifake_dtype mpifake_dtype_lb = { 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL }

Definition at line 28 of file mpi.c.

struct mpifake_dtype mpifake_dtype_long = { 0, 0, sizeof(long), sizeof(long), 1, 1, sizeof(long), NULL, NULL, NULL, NULL }

Definition at line 33 of file mpi.c.

struct mpifake_dtype mpifake_dtype_ub = { 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL, NULL }

Definition at line 29 of file mpi.c.