forked from etmc/tmLQCD
/
mpi_init.h
30 lines (25 loc) · 845 Bytes
/
mpi_init.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/* $Id$ */
#ifndef _MPI_INIT_H
#define _MPI_INIT_H
#ifdef MPI
#include <mpi.h>
/* Datatypes for the data exchange */
extern MPI_Datatype gauge_time_slice_cont;
extern MPI_Datatype gauge_time_slice_split;
extern MPI_Datatype deri_time_slice_cont;
extern MPI_Datatype deri_time_slice_split;
extern MPI_Datatype field_time_slice_cont;
extern MPI_Datatype gauge_x_slice_cont;
extern MPI_Datatype gauge_x_slice_gath;
extern MPI_Datatype gauge_x_slice_gath_split;
extern MPI_Datatype field_x_slice_cont;
extern MPI_Datatype field_x_slice_gath;
extern MPI_Datatype deri_x_slice_cont;
extern MPI_Datatype deri_x_slice_gath;
extern MPI_Datatype deri_x_slice_gath_split;
extern MPI_Datatype gauge_yz_edge_cont;
extern MPI_Datatype gauge_yz_edge_gath;
extern MPI_Datatype gauge_yz_edge_gath_split;
#endif
void mpi_init(int argc, char *argv[]);
#endif