#include "Common.h"
#include "Paso.h"
Go to the source code of this file.
Classes | |
struct | Paso_MPIInfo |
Defines | |
#define | MPI_INT 6 |
#define | MPI_DOUBLE 11 |
#define | MPI_COMM_WORLD 91 |
#define | PASO_MPI_TODO { fprintf( stdout, "\nTODO : %s:%d\n", __FILE__, __LINE__); MPI_Finalize(); exit(1); } |
Typedefs | |
typedef int | MPI_Comm |
typedef int | MPI_Request |
typedef int | Paso_MPI_rank |
typedef struct Paso_MPIInfo | Paso_MPIInfo |
Functions | |
Paso_MPIInfo * | Paso_MPIInfo_alloc (MPI_Comm comm) |
void | Paso_MPIInfo_free (Paso_MPIInfo *) |
Paso_MPIInfo * | Paso_MPIInfo_getReference (Paso_MPIInfo *in) |
int | Paso_MPIInfo_initialized (void) |
index_t | Paso_MPIInfo_mod (index_t n, index_t k) |
dim_t | Paso_MPIInfo_setDistribution (Paso_MPIInfo *in, index_t min_id, index_t max_id, index_t *distribution) |
void | Paso_MPIInfo_Split (Paso_MPIInfo *mpi_info, dim_t n, dim_t *local_N, index_t *offset) |
bool_t | Paso_MPIInfo_noError (Paso_MPIInfo *mpi_info) |
char * | Paso_MPI_appendRankToFileName (const char *, int, int) |
#define MPI_COMM_WORLD 91 |
Referenced by escript::DataTagged::dump(), escript::DataExpanded::dump(), escript::DataConstant::dump(), Finley_Mesh_read(), Finley_Mesh_read_MPI(), Finley_Mesh_readGmsh(), Finley_RectangularMesh_Hex20(), Finley_RectangularMesh_Hex8(), Finley_RectangularMesh_Rec4(), Finley_RectangularMesh_Rec8(), escript::Data::get_MPIComm(), escript::getMPIRankWorld(), escript::getMPISizeWorld(), escript::getMPIWorldMax(), escript::Data::infWorker(), escript::Data::integrateWorker(), escript::load(), finley::loadMesh(), escript::Data::LsupWorker(), escript::MPIBarrierWorld(), Paso_SystemMatrix_loadMM_toCSC(), Paso_SystemMatrix_loadMM_toCSR(), escript::printParallelThreadCnt(), and escript::Data::supWorker().
#define MPI_DOUBLE 11 |
Referenced by escript::Data::calc_maxGlobalDataPoint(), escript::Data::calc_minGlobalDataPoint(), Finley_Mesh_read_MPI(), Finley_NodeFile_gather_global(), escript::Data::getValueOfGlobalDataPointAsTuple(), escript::Data::infWorker(), escript::Data::integrateWorker(), escript::Data::LsupWorker(), Paso_Coupler_startCollect(), Paso_FCTransportProblem_checkinSolution(), Paso_FCTransportProblem_getSafeTimeStepSize(), Paso_InnerProduct(), Paso_l2(), Paso_lsup(), Paso_Solver(), Paso_Solver_BiCGStab(), Paso_Solver_GMRES(), Paso_Solver_PCG(), and escript::Data::supWorker().
#define MPI_INT 6 |
Referenced by escript::Data::calc_maxGlobalDataPoint(), escript::Data::calc_minGlobalDataPoint(), finley::MeshAdapter::dump(), escript::DataTagged::dump(), escript::DataExpanded::dump(), escript::DataConstant::dump(), Finley_ElementFile_distributeByRankOfDOF(), Finley_ElementFile_setElementDistribution(), Finley_Mesh_createNodeFileMappings(), Finley_Mesh_optimizeDOFDistribution(), Finley_Mesh_optimizeDOFLabeling(), Finley_Mesh_read_MPI(), Finley_Mesh_resolveNodeIds(), Finley_NodeFile_createDenseDOFLabeling(), Finley_NodeFile_createDenseNodeLabeling(), Finley_NodeFile_createDenseReducedDOFLabeling(), Finley_NodeFile_createDenseReducedNodeLabeling(), Finley_NodeFile_gather_global(), Finley_NodeFile_setGlobalDOFRange(), Finley_NodeFile_setGlobalIdRange(), Finley_NodeFile_setGlobalNodeIDIndexRange(), Finley_NodeFile_setGlobalReducedDegreeOfFreedomRange(), Finley_NodeFile_setGlobalReducedNodeIDIndexRange(), Finley_Util_setValuesInUse(), escript::getMPIWorldMax(), Mesh_createDOFMappingAndCoupling(), and Paso_MPIInfo_noError().
#define PASO_MPI_TODO { fprintf( stdout, "\nTODO : %s:%d\n", __FILE__, __LINE__); MPI_Finalize(); exit(1); } |
typedef int MPI_Comm |
typedef int MPI_Request |
typedef int Paso_MPI_rank |
typedef struct Paso_MPIInfo Paso_MPIInfo |
char* Paso_MPI_appendRankToFileName | ( | const char * | , | |
int | , | |||
int | ||||
) |
Paso_MPIInfo* Paso_MPIInfo_alloc | ( | MPI_Comm | comm | ) |
References Paso_MPIInfo::comm, MEMALLOC, Paso_MPIInfo::msg_tag_counter, PASO_MPI_ERROR, Paso_setError(), Paso_MPIInfo::rank, Paso_MPIInfo::reference_counter, and Paso_MPIInfo::size.
Referenced by Finley_Mesh_read(), Finley_Mesh_read_MPI(), Finley_Mesh_readGmsh(), Finley_RectangularMesh_Hex20(), Finley_RectangularMesh_Hex8(), Finley_RectangularMesh_Rec4(), Finley_RectangularMesh_Rec8(), finley::loadMesh(), Paso_SystemMatrix_loadMM_toCSC(), and Paso_SystemMatrix_loadMM_toCSR().
void Paso_MPIInfo_free | ( | Paso_MPIInfo * | ) |
References MEMFREE, and Paso_MPIInfo::reference_counter.
Referenced by Finley_ElementFile_free(), Finley_Mesh_free(), Finley_Mesh_read(), Finley_Mesh_read_MPI(), Finley_Mesh_readGmsh(), Finley_NodeFile_free(), Finley_RectangularMesh_Hex20(), Finley_RectangularMesh_Hex8(), Finley_RectangularMesh_Rec4(), Finley_RectangularMesh_Rec8(), finley::loadMesh(), Paso_Connector_free(), Paso_Coupler_free(), Paso_Distribution_free(), Paso_FCTransportProblem_free(), Paso_Function_LinearSystem_free(), Paso_SharedComponents_free(), Paso_SystemMatrix_free(), Paso_SystemMatrix_loadMM_toCSC(), Paso_SystemMatrix_loadMM_toCSR(), and Paso_SystemMatrixPattern_free().
Paso_MPIInfo* Paso_MPIInfo_getReference | ( | Paso_MPIInfo * | in | ) |
References Paso_MPIInfo::reference_counter.
Referenced by Finley_ElementFile_alloc(), Finley_Mesh_alloc(), Finley_NodeFile_alloc(), Paso_Connector_alloc(), Paso_Coupler_alloc(), Paso_Distribution_alloc(), Paso_FCTransportProblem_alloc(), Paso_Function_LinearSystem_alloc(), Paso_SharedComponents_alloc(), Paso_SystemMatrix_alloc(), and Paso_SystemMatrixPattern_alloc().
int Paso_MPIInfo_initialized | ( | void | ) |
References PASO_MPI_ERROR, Paso_setError(), and TRUE.
Referenced by Finley_Mesh_optimizeDOFDistribution(), Finley_Mesh_optimizeDOFLabeling(), Finley_NodeFile_createDenseDOFLabeling(), Finley_NodeFile_createDenseNodeLabeling(), Finley_NodeFile_createDenseReducedDOFLabeling(), Finley_NodeFile_createDenseReducedNodeLabeling(), and Finley_NodeFile_gather_global().
bool_t Paso_MPIInfo_noError | ( | Paso_MPIInfo * | mpi_info | ) |
References Paso_MPIInfo::comm, MPI_INT, PASO_MPI_ERROR, Paso_noError(), Paso_setError(), and Paso_MPIInfo::size.
Referenced by Finley_makePattern(), Finley_Mesh_optimizeDOFLabeling(), Finley_Mesh_saveVTK(), Finley_MPI_noError(), Finley_NodeFile_gather_global(), Paso_Solver_setPreconditioner(), and Paso_SystemMatrix_borrowNormalization().
dim_t Paso_MPIInfo_setDistribution | ( | Paso_MPIInfo * | in, | |
index_t | min_id, | |||
index_t | max_id, | |||
index_t * | distribution | |||
) |
void Paso_MPIInfo_Split | ( | Paso_MPIInfo * | mpi_info, | |
dim_t | n, | |||
dim_t * | local_N, | |||
index_t * | offset | |||
) |
References Paso_MPIInfo::rank, and Paso_MPIInfo::size.
Referenced by Finley_RectangularMesh_Hex20(), Finley_RectangularMesh_Hex8(), Finley_RectangularMesh_Rec4(), and Finley_RectangularMesh_Rec8().