47ScipParaRacingRampUpParamSetMpi::createDatatype(
50 const int nBlocks = 7;
52 MPI_Datatype datatype;
54 int blockLengths[nBlocks];
55 MPI_Aint displacements[nBlocks];
56 MPI_Datatype types[nBlocks];
58 MPI_Aint startAddress = 0;
61 for(
int i = 0; i < nBlocks; i++ )
73 displacements[1] = address - startAddress;
77 displacements[2] = address - startAddress;
81 displacements[3] = address - startAddress;
85 displacements[4] = address - startAddress;
89 displacements[5] = address - startAddress;
93 displacements[6] = address - startAddress;
95 types[2] = MPI_DOUBLE;
98 MPI_Type_create_struct(nBlocks, blockLengths, displacements, types, &datatype)
113 MPI_Datatype datatype;
116 MPI_Type_commit( &datatype )
122 MPI_Type_free( &datatype )
142 MPI_Datatype datatype;
145 MPI_Type_commit( &datatype )
151 MPI_Type_free( &datatype )
virtual int receive(UG::ParaComm *comm, int source)=0
virtual int send(UG::ParaComm *comm, int destination)=0
int receive(UG::ParaComm *comm, int source)
int send(UG::ParaComm *comm, int dest)
MPI_Datatype createDatatype()
ScipDiffParamSet * scipDiffParamSet
int generateBranchOrderSeed
double timeLimit
stop racing time limit
int nNodesLeft
stop racing number of nodes left
Base class of communicator object.
int terminationCriteria
termination criteria of racing ramp-up : 0: number of nodes left, 1: time limit meaning must be defin...
static ScipParaCommTh * comm
static const int TagRacingRampUpParamSet
#define DEF_PARA_COMM(para_comm, comm)
#define MPI_CALL(mpicall)
#define PARA_COMM_CALL(paracommcall)
ScipDiffParamSet extension for MPI communication.
SCIP ParaComm extension for MPI communication.
#define DEF_SCIP_PARA_COMM(scip_para_comm, comm)
ScipParaRacingRampUpParamSet extension for MPI communication.