GADGET-4
hypercube_allgatherv.cc File Reference

a simple version of an Allgatherv implemented with a hypercube communication model 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 "../mpi_utils/mpi_utils.h"

Go to the source code of this file.

Macros

#define TAG   100
 

Functions

int myMPI_Allgatherv (void *sendbuf, int sendcount, MPI_Datatype sendtype, void *recvbuf, int *recvcount, int *displs, MPI_Datatype recvtype, MPI_Comm comm)
 

Detailed Description

a simple version of an Allgatherv implemented with a hypercube communication model

Definition in file hypercube_allgatherv.cc.

Macro Definition Documentation

◆ TAG

#define TAG   100

Definition at line 24 of file hypercube_allgatherv.cc.

Function Documentation

◆ myMPI_Allgatherv()

int myMPI_Allgatherv ( void *  sendbuf,
int  sendcount,
MPI_Datatype  sendtype,
void *  recvbuf,
int *  recvcount,
int *  displs,
MPI_Datatype  recvtype,
MPI_Comm  comm 
)

Definition at line 26 of file hypercube_allgatherv.cc.