FEI Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
Macros
fei_mpi.h File Reference
#include "fei_macros.hpp"
Include dependency graph for fei_mpi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MPI_Comm   int
 
#define MPI_Request   int
 
#define MPI_COMM_WORLD   0
 
#define MPI_Abort(a, b)   abort()
 
#define MPI_Wtime()   0.0
 
#define MPI_Barrier(a)   (void)a
 
#define MPI_SUCCESS   0
 

Macro Definition Documentation

◆ MPI_Comm

#define MPI_Comm   int

If FEI_SER is defined, the user wants to build/run in purely serial mode, without linking against MPI. To minimize #ifdefs in FEI code, we do a few #defines for some common MPI symbols that appear in the code.

Definition at line 56 of file fei_mpi.h.

◆ MPI_Request

#define MPI_Request   int

Definition at line 57 of file fei_mpi.h.

◆ MPI_COMM_WORLD

#define MPI_COMM_WORLD   0

Definition at line 58 of file fei_mpi.h.

◆ MPI_Abort

#define MPI_Abort (   a,
 
)    abort()

Definition at line 59 of file fei_mpi.h.

◆ MPI_Wtime

#define MPI_Wtime ( )    0.0

Definition at line 60 of file fei_mpi.h.

◆ MPI_Barrier

#define MPI_Barrier (   a)    (void)a

Definition at line 61 of file fei_mpi.h.

◆ MPI_SUCCESS

#define MPI_SUCCESS   0

Definition at line 62 of file fei_mpi.h.