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.

Referenced by fei::Lookup_Impl::buildDatabases(), Filter::calculateResidualNorms(), fei_test_utils::copy_feiMatrix_to_FillableMat(), EqnCommMgr::exchangeSoln(), main(), fei::MatrixReducer::MatrixReducer(), read_input_and_execute_fullsystem_tests(), snl_fei::Broker_LinSysCore::setGlobalOffsets(), snl_fei::Broker_LinSysCore::setMatrixStructure(), fei::Matrix_Local::writeToFile(), and fei::MatrixReducer::writeToFile().

◆ MPI_Request

#define MPI_Request   int

◆ MPI_COMM_WORLD

#define MPI_COMM_WORLD   0

◆ MPI_Abort

#define MPI_Abort ( a,
b )   abort()

◆ MPI_Wtime

#define MPI_Wtime ( )    0.0

Definition at line 60 of file fei_mpi.h.

Referenced by FEDataFilter::solve().

◆ MPI_Barrier

#define MPI_Barrier ( a)    (void)a

◆ MPI_SUCCESS

#define MPI_SUCCESS   0