FORM v5.0.0-35-g6318119
Macros
mpidbg.h File Reference
#include <stdarg.h>
#include <stdio.h>
#include <string.h>
#include <mpi.h>
Include dependency graph for mpidbg.h:

Go to the source code of this file.

Macros

#define MPIDBG_LINESIZE   1024
 
#define MPIDBG_BUFSIZE   128
 
#define MPIDBG_RANK   MPIDBG_Get_rank()
 
#define MPIDBG_Out(...)   MPIDBG_Out(file, line, func, __VA_ARGS__)
 
#define MPIDBG_EXTARG   const char *file, int line, const char *func
 
#define MPI_Init(...)   MPIDBG_Init(__VA_ARGS__, __FILE__, __LINE__, __func__)
 
#define MPI_Finalize()   MPIDBG_Finalize(__FILE__, __LINE__, __func__)
 
#define MPI_Send(...)   MPIDBG_Send(__VA_ARGS__, __FILE__, __LINE__, __func__)
 
#define MPI_Recv(...)   MPIDBG_Recv(__VA_ARGS__, __FILE__, __LINE__, __func__)
 
#define MPI_Bsend(...)   MPIDBG_Bsend(__VA_ARGS__, __FILE__, __LINE__, __func__)
 
#define MPI_Ssend(...)   MPIDBG_Ssend(__VA_ARGS__, __FILE__, __LINE__, __func__)
 
#define MPI_Rsend(...)   MPIDBG_Rsend(__VA_ARGS__, __FILE__, __LINE__, __func__)
 
#define MPI_Isend(...)   MPIDBG_Isend(__VA_ARGS__, __FILE__, __LINE__, __func__)
 
#define MPI_Ibsend(...)   MPIDBG_Ibsend(__VA_ARGS__, __FILE__, __LINE__, __func__)
 
#define MPI_Issend(...)   MPIDBG_Issend(__VA_ARGS__, __FILE__, __LINE__, __func__)
 
#define MPI_Irsend(...)   MPIDBG_Irsend(__VA_ARGS__, __FILE__, __LINE__, __func__)
 
#define MPI_Irecv(...)   MPIDBG_Irecv(__VA_ARGS__, __FILE__, __LINE__, __func__)
 
#define MPI_Wait(...)   MPIDBG_Wait(__VA_ARGS__, __FILE__, __LINE__, __func__)
 
#define MPI_Test(...)   MPIDBG_Test(__VA_ARGS__, __FILE__, __LINE__, __func__)
 
#define MPI_Waitany(...)   MPIDBG_Waitany(__VA_ARGS__, __FILE__, __LINE__, __func__)
 
#define MPI_Testany(...)   MPIDBG_Testany(__VA_ARGS__, __FILE__, __LINE__, __func__)
 
#define MPI_Waitall(...)   MPIDBG_Waitall(__VA_ARGS__, __FILE__, __LINE__, __func__)
 
#define MPI_Testall(...)   MPIDBG_Testall(__VA_ARGS__, __FILE__, __LINE__, __func__)
 
#define MPI_Waitsome(...)   MPIDBG_Waitsome(__VA_ARGS__, __FILE__, __LINE__, __func__)
 
#define MPI_Testsome(...)   MPIDBG_Testsome(__VA_ARGS__, __FILE__, __LINE__, __func__)
 
#define MPI_Iprobe(...)   MPIDBG_Iprobe(__VA_ARGS__, __FILE__, __LINE__, __func__)
 
#define MPI_Probe(...)   MPIDBG_Probe(__VA_ARGS__, __FILE__, __LINE__, __func__)
 
#define MPI_Cancel(...)   MPIDBG_Cancel(__VA_ARGS__, __FILE__, __LINE__, __func__)
 
#define MPI_Test_cancelled(...)   MPIDBG_Test_cancelled(__VA_ARGS__, __FILE__, __LINE__, __func__)
 
#define MPI_Barrier(...)   MPIDBG_Barrier(__VA_ARGS__, __FILE__, __LINE__, __func__)
 
#define MPI_Bcast(...)   MPIDBG_Bcast(__VA_ARGS__, __FILE__, __LINE__, __func__)
 
#define MPI_Reduce(...)   MPIDBG_Reduce(__VA_ARGS__, __FILE__, __LINE__, __func__)
 

Detailed Description

MPI APIs with the logging feature. NOTE: This file needs C99.

Definition in file mpidbg.h.

Macro Definition Documentation

◆ MPIDBG_LINESIZE

#define MPIDBG_LINESIZE   1024

Definition at line 49 of file mpidbg.h.

◆ MPIDBG_BUFSIZE

#define MPIDBG_BUFSIZE   128

Definition at line 50 of file mpidbg.h.

◆ MPIDBG_RANK

#define MPIDBG_RANK   MPIDBG_Get_rank()

Definition at line 61 of file mpidbg.h.

◆ MPIDBG_Out

#define MPIDBG_Out (   ...)    MPIDBG_Out(file, line, func, __VA_ARGS__)

Definition at line 78 of file mpidbg.h.

◆ MPIDBG_EXTARG

#define MPIDBG_EXTARG   const char *file, int line, const char *func

Definition at line 157 of file mpidbg.h.

◆ MPI_Init

#define MPI_Init (   ...)    MPIDBG_Init(__VA_ARGS__, __FILE__, __LINE__, __func__)

Definition at line 174 of file mpidbg.h.

◆ MPI_Finalize

#define MPI_Finalize ( )    MPIDBG_Finalize(__FILE__, __LINE__, __func__)

Definition at line 193 of file mpidbg.h.

◆ MPI_Send

#define MPI_Send (   ...)    MPIDBG_Send(__VA_ARGS__, __FILE__, __LINE__, __func__)

Definition at line 212 of file mpidbg.h.

◆ MPI_Recv

#define MPI_Recv (   ...)    MPIDBG_Recv(__VA_ARGS__, __FILE__, __LINE__, __func__)

Definition at line 235 of file mpidbg.h.

◆ MPI_Bsend

#define MPI_Bsend (   ...)    MPIDBG_Bsend(__VA_ARGS__, __FILE__, __LINE__, __func__)

Definition at line 254 of file mpidbg.h.

◆ MPI_Ssend

#define MPI_Ssend (   ...)    MPIDBG_Ssend(__VA_ARGS__, __FILE__, __LINE__, __func__)

Definition at line 273 of file mpidbg.h.

◆ MPI_Rsend

#define MPI_Rsend (   ...)    MPIDBG_Rsend(__VA_ARGS__, __FILE__, __LINE__, __func__)

Definition at line 292 of file mpidbg.h.

◆ MPI_Isend

#define MPI_Isend (   ...)    MPIDBG_Isend(__VA_ARGS__, __FILE__, __LINE__, __func__)

Definition at line 311 of file mpidbg.h.

◆ MPI_Ibsend

#define MPI_Ibsend (   ...)    MPIDBG_Ibsend(__VA_ARGS__, __FILE__, __LINE__, __func__)

Definition at line 330 of file mpidbg.h.

◆ MPI_Issend

#define MPI_Issend (   ...)    MPIDBG_Issend(__VA_ARGS__, __FILE__, __LINE__, __func__)

Definition at line 349 of file mpidbg.h.

◆ MPI_Irsend

#define MPI_Irsend (   ...)    MPIDBG_Irsend(__VA_ARGS__, __FILE__, __LINE__, __func__)

Definition at line 368 of file mpidbg.h.

◆ MPI_Irecv

#define MPI_Irecv (   ...)    MPIDBG_Irecv(__VA_ARGS__, __FILE__, __LINE__, __func__)

Definition at line 387 of file mpidbg.h.

◆ MPI_Wait

#define MPI_Wait (   ...)    MPIDBG_Wait(__VA_ARGS__, __FILE__, __LINE__, __func__)

Definition at line 412 of file mpidbg.h.

◆ MPI_Test

#define MPI_Test (   ...)    MPIDBG_Test(__VA_ARGS__, __FILE__, __LINE__, __func__)

Definition at line 442 of file mpidbg.h.

◆ MPI_Waitany

#define MPI_Waitany (   ...)    MPIDBG_Waitany(__VA_ARGS__, __FILE__, __LINE__, __func__)

Definition at line 470 of file mpidbg.h.

◆ MPI_Testany

#define MPI_Testany (   ...)    MPIDBG_Testany(__VA_ARGS__, __FILE__, __LINE__, __func__)

Definition at line 503 of file mpidbg.h.

◆ MPI_Waitall

#define MPI_Waitall (   ...)    MPIDBG_Waitall(__VA_ARGS__, __FILE__, __LINE__, __func__)

Definition at line 529 of file mpidbg.h.

◆ MPI_Testall

#define MPI_Testall (   ...)    MPIDBG_Testall(__VA_ARGS__, __FILE__, __LINE__, __func__)

Definition at line 560 of file mpidbg.h.

◆ MPI_Waitsome

#define MPI_Waitsome (   ...)    MPIDBG_Waitsome(__VA_ARGS__, __FILE__, __LINE__, __func__)

Definition at line 586 of file mpidbg.h.

◆ MPI_Testsome

#define MPI_Testsome (   ...)    MPIDBG_Testsome(__VA_ARGS__, __FILE__, __LINE__, __func__)

Definition at line 612 of file mpidbg.h.

◆ MPI_Iprobe

#define MPI_Iprobe (   ...)    MPIDBG_Iprobe(__VA_ARGS__, __FILE__, __LINE__, __func__)

Definition at line 641 of file mpidbg.h.

◆ MPI_Probe

#define MPI_Probe (   ...)    MPIDBG_Probe(__VA_ARGS__, __FILE__, __LINE__, __func__)

Definition at line 664 of file mpidbg.h.

◆ MPI_Cancel

#define MPI_Cancel (   ...)    MPIDBG_Cancel(__VA_ARGS__, __FILE__, __LINE__, __func__)

Definition at line 683 of file mpidbg.h.

◆ MPI_Test_cancelled

#define MPI_Test_cancelled (   ...)    MPIDBG_Test_cancelled(__VA_ARGS__, __FILE__, __LINE__, __func__)

Definition at line 707 of file mpidbg.h.

◆ MPI_Barrier

#define MPI_Barrier (   ...)    MPIDBG_Barrier(__VA_ARGS__, __FILE__, __LINE__, __func__)

Definition at line 726 of file mpidbg.h.

◆ MPI_Bcast

#define MPI_Bcast (   ...)    MPIDBG_Bcast(__VA_ARGS__, __FILE__, __LINE__, __func__)

Definition at line 745 of file mpidbg.h.

◆ MPI_Reduce

#define MPI_Reduce (   ...)    MPIDBG_Reduce(__VA_ARGS__, __FILE__, __LINE__, __func__)

Definition at line 764 of file mpidbg.h.