GADGET-4
myalltoall.cc File Reference

a simple wrapper around MPI_Alltoallv that can deal with data in individual sends that are very big More...

#include "gadgetconfig.h"
#include <math.h>
#include <mpi.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../data/allvars.h"
#include "../data/dtypes.h"
#include "../data/mymalloc.h"
#include "../mpi_utils/mpi_utils.h"

Go to the source code of this file.

Macros

#define PCHAR(a)   ((char *)a)
 

Functions

int myMPI_Alltoallv_new_prep (int *sendcnt, int *recvcnt, int *rdispls, MPI_Comm comm, int method)
 
void myMPI_Alltoallv_new (void *sendbuf, int *sendcnt, int *sdispls, MPI_Datatype sendtype, void *recvbuf, int *recvcnt, int *rdispls, MPI_Datatype recvtype, MPI_Comm comm, int method)
 
void myMPI_Alltoallv (void *sendb, size_t *sendcounts, size_t *sdispls, void *recvb, size_t *recvcounts, size_t *rdispls, int len, int big_flag, MPI_Comm comm)
 
void my_int_MPI_Alltoallv (void *sendb, int *sendcounts, int *sdispls, void *recvb, int *recvcounts, int *rdispls, int len, int big_flag, MPI_Comm comm)
 
int myMPI_Alltoall (const void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int recvcount, MPI_Datatype recvtype, MPI_Comm comm)
 

Detailed Description

a simple wrapper around MPI_Alltoallv that can deal with data in individual sends that are very big

Definition in file myalltoall.cc.

Macro Definition Documentation

◆ PCHAR

#define PCHAR (   a)    ((char *)a)

Definition at line 25 of file myalltoall.cc.

Function Documentation

◆ my_int_MPI_Alltoallv()

void my_int_MPI_Alltoallv ( void *  sendb,
int *  sendcounts,
int *  sdispls,
void *  recvb,
int *  recvcounts,
int *  rdispls,
int  len,
int  big_flag,
MPI_Comm  comm 
)

Definition at line 241 of file myalltoall.cc.

◆ myMPI_Alltoall()

int myMPI_Alltoall ( const void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int  recvcount,
MPI_Datatype  recvtype,
MPI_Comm  comm 
)

Definition at line 301 of file myalltoall.cc.

◆ myMPI_Alltoallv()

void myMPI_Alltoallv ( void *  sendb,
size_t *  sendcounts,
size_t *  sdispls,
void *  recvb,
size_t *  recvcounts,
size_t *  rdispls,
int  len,
int  big_flag,
MPI_Comm  comm 
)

Definition at line 181 of file myalltoall.cc.

◆ myMPI_Alltoallv_new()

void myMPI_Alltoallv_new ( void *  sendbuf,
int *  sendcnt,
int *  sdispls,
MPI_Datatype  sendtype,
void *  recvbuf,
int *  recvcnt,
int *  rdispls,
MPI_Datatype  recvtype,
MPI_Comm  comm,
int  method 
)

Definition at line 74 of file myalltoall.cc.

◆ myMPI_Alltoallv_new_prep()

int myMPI_Alltoallv_new_prep ( int *  sendcnt,
int *  recvcnt,
int *  rdispls,
MPI_Comm  comm,
int  method 
)

Definition at line 36 of file myalltoall.cc.