sopalin_define.h

Summary
sopalin_define.h
Variables
sopalin_define.hdefine maccros for sopalin
TAG_COMMMPI tags
Enumerations
COMMSTEPCommunication steps.
Macros and Variables
Init parametersValues used to init coefficcients
Communications
COMPUTEEffective computaiton or not.
STATS_SOPALINStatistics about memory used.
TRYLOCKCompute the number of pthread_mutex_lock et cond_wait “missed”.
USE_CSCTODO : fill-in
MULT_SMXmulti-right-hand-side method
SMP_RAFFAdd multi-threading in reffinement steps.
l
API_CALLAdd prefixe (U (LU),L (LLt) or D (LDLt)) to sopalin functions.
MyMPI_AllreduceRedefine MPI_Allreduce for Funneled mode.
MyMPI_ReduceRedefine MPI_Reduce for Funneled mode.

Variables

sopalin_define.h

TagComm_t

define maccros for sopalin

TAG_COMM

CommStep_t

MPI tags

TAG_FANINTags for fanin buffers
TAG_BLOCKTags for block buffers
TAG_DOWNTags for down step buffers
TAG_UPTags for up step buffers

Enumerations

COMMSTEP

Communication steps.

COMMSTEP_ENDAll communications are ended
COMMSTEP_INITSignal the return of communication thread in initial state
COMMSTEP_FACTOAsk to begin the factorization step
COMMSTEP_FACTOENDSignal the end of communications in factorization step
COMMSTEP_DOWNAsk to begin the down step
COMMSTEP_UPAsk to begin the up step
COMMSTEP_UPDOENDSignal the end of different steps during backward/forward substitution
COMMSTEP_ALLREDUCEAsk for an MPI_ALLREDUCE in Funneled mode
COMMSTEP_REDUCEAsk for an MPI_REDUCE in Funneled mode

Macros and Variables

Init parameters

Values used to init coefficcients

ZERO0.0
UN1.0
DEUX2.0

Communications

THREAD_COMMCreate one or several specific threads to receive data.
EXACT_TAGDo not use MPI_ANY_TAG
EXACT_THREADThe tag used is the receiving thread, otherwise the task number ( limited by the number of tag allowed by MPI)

COMPUTE

Effective computaiton or not.

STATS_SOPALIN

Statistics about memory used.

TRYLOCK

Compute the number of pthread_mutex_lock et cond_wait “missed”.

USE_CSC

TODO : fill-in

MULT_SMX

multi-right-hand-side method

SMP_RAFF

Add multi-threading in reffinement steps.

Deactivated if FORCE_NOSMP ou NOSMP_RAFF is defined.

l

int l

API_CALL

Add prefixe (U (LU),L (LLt) or D (LDLt)) to sopalin functions.

MyMPI_Allreduce

Redefine MPI_Allreduce for Funneled mode.

Parameters

lsendbufSend buffer.
lrecvbufReceiving buffer.
lcountNumber of elements.
ldatatypeType of elements.
lopReduction operation.
lcommMPI communicator.

MyMPI_Reduce

Redefine MPI_Reduce for Funneled mode.

Parameters

lsendbufSend buffer.
lrecvbufReceiving buffer.
lcountNumber of elements.
ldatatypeType of elements.
lopReduction operation.
lrootRoot of the operation.
lcommMPI communicator.
TagComm_t
define maccros for sopalin
CommStep_t
MPI tags
int l
Close