QUDA  v1.1.0
A library for QCD on GPUs
Classes | Macros
communicator_qmp.cpp File Reference
#include <communicator_quda.h>
#include <mpi_comm_handle.h>
#include <mpi.h>

Go to the source code of this file.

Classes

struct  MsgHandle_s
 

Macros

#define QMP_CHECK(qmp_call)
 
#define MPI_CHECK(mpi_call)
 
#define USE_MPI_GATHER
 

Macro Definition Documentation

◆ MPI_CHECK

#define MPI_CHECK (   mpi_call)
Value:
do { \
int status = mpi_call; \
if (status != MPI_SUCCESS) { \
char err_string[128]; \
int err_len; \
MPI_Error_string(status, err_string, &err_len); \
err_string[127] = '\0'; \
errorQuda("(MPI) %s", err_string); \
} \
} while (0)

Definition at line 10 of file communicator_qmp.cpp.

◆ QMP_CHECK

#define QMP_CHECK (   qmp_call)
Value:
do { \
QMP_status_t status = qmp_call; \
if (status != QMP_SUCCESS) errorQuda("(QMP) %s", QMP_error_string(status)); \
} while (0)
#define errorQuda(...)
Definition: util_quda.h:120

Definition at line 4 of file communicator_qmp.cpp.

◆ USE_MPI_GATHER

#define USE_MPI_GATHER

Definition at line 30 of file communicator_qmp.cpp.