su2hmc
Loading...
Searching...
No Matches
par_mpi.c File Reference

MPI routines. More...

#include <su2hmc.h>
Include dependency graph for par_mpi.c:

Go to the source code of this file.

Functions

int Par_begin (int argc, char *argv[])
 Initialises the MPI configuration.
int Par_sread (const int iread, const float beta, const float fmu, const float akappa, const Complex_f ajq, const float c_sw, Complex *u11, Complex *u12, Complex *u11t, Complex *u12t)
 Reads and assigns the gauges from file.
int Par_swrite (const int itraj, const int icheck, const float beta, const float fmu, const float akappa, const Complex_f ajq, const float c_sw, Complex *u11, Complex *u12)
 Copies u11 and u12 into arrays without halos which then get written to output.
int Trial_Exchange (Complex *ut[2], Complex_f *ut_f[2])
 Exchanges the trial fields.

Variables

int * pcoord
 The processor grid.
int pstart [ndim][nproc]
 The initial lattice site on each sublattice in a given direction.
int pstop [ndim][nproc]
 The final lattice site on each sublattice in a given direction.
int rank
 The MPI rank.
int size
 The number of MPI ranks in total.
int pu [ndim]
 Processors in the up direction.
int pd [ndim]
 Processors in the down direction.

Detailed Description

MPI routines.

Definition in file par_mpi.c.

Variable Documentation

◆ pcoord

int* pcoord

The processor grid.

Definition at line 17 of file par_mpi.c.

◆ pd

int pd[ndim]

Processors in the down direction.

Definition at line 22 of file par_mpi.c.

◆ pstart

int pstart[ndim][nproc]

The initial lattice site on each sublattice in a given direction.

Definition at line 18 of file par_mpi.c.

◆ pstop

int pstop[ndim][nproc]

The final lattice site on each sublattice in a given direction.

Definition at line 19 of file par_mpi.c.

◆ pu

int pu[ndim]

Processors in the up direction.

Definition at line 21 of file par_mpi.c.

◆ rank

int rank

The MPI rank.

Definition at line 20 of file par_mpi.c.

◆ size

int size

The number of MPI ranks in total.

Definition at line 20 of file par_mpi.c.