Documentation / Manuel développeur
Modules disponibles
Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,  
Uranie / ReLauncher v4.9.0
|
#include <TMpiRun.h>
Public Member Functions | |
TMpiRun (URANIE::Relauncher::TEval *r, int *argc, char ***argv) | |
TMpiRun (URANIE::Relauncher::TEval *r, Bool_t init=kTRUE) | |
TMpiRun (URANIE::Relauncher::TEval *r, MPI_Comm comm) | |
virtual | ~TMpiRun () |
virtual void | startSlave () |
virtual Bool_t | onMaster () |
virtual Bool_t | readyToGet () |
Public Member Functions inherited from URANIE::Relauncher::TSeparateRun | |
TSeparateRun (URANIE::Relauncher::TEval *r) | |
virtual | ~TSeparateRun () |
virtual void | stopSlave () |
virtual void | put (long, vector< URANIE::DataServer::UEntry * > *in, vector< URANIE::DataServer::UEntry * > *out, int=0) |
virtual int | get (long &) |
Public Member Functions inherited from URANIE::Relauncher::TShareRun | |
TShareRun (TEval *fun) | |
virtual | ~TShareRun () |
virtual TEval * | getEval () |
Public Member Functions inherited from URANIE::Relauncher::TRun | |
virtual | ~TRun () |
Protected Member Functions | |
virtual int | wait_service () |
virtual int | send_header (int canal, int *head, int size) |
virtual int | send_value (int canal, double *mesg, int size) |
virtual int | receive_header (int canal, int *head, int size) |
virtual int | receive_value (int canal, double *mesg, int size) |
Protected Member Functions inherited from URANIE::Relauncher::TSeparateRun | |
void | send_uentry (int canal, int ncalc, int size, vector< URANIE::DataServer::UEntry * > *in) |
void | to_uentry (int *isz, double *vals, std::vector< URANIE::DataServer::UEntry * > &dest) |
void | empty_uentry (TIter &next, std::vector< URANIE::DataServer::UEntry * > &dest) |
void | calcul_loop () |
Protected Attributes | |
int | _id |
MPI_Comm | _comm |
Protected Attributes inherited from URANIE::Relauncher::TSeparateRun | |
int | _sizein |
int | _sizeout |
int | _nbress |
std::queue< element > | _pend |
std::queue< int > | _sleep |
std::vector< struct element > | _run |
Protected Attributes inherited from URANIE::Relauncher::TShareRun | |
TEval * | _fun |
Static Protected Attributes | |
static int | _count = 0 |
Additional Inherited Members | |
Public Attributes inherited from URANIE::Relauncher::TRun | |
Int_t | _ncpus |
Constructor & Destructor Documentation
◆ TMpiRun() [1/3]
URANIE::MpiRelauncher::TMpiRun::TMpiRun | ( | URANIE::Relauncher::TEval * | r, |
int * | argc, | ||
char *** | argv | ||
) |
◆ TMpiRun() [2/3]
URANIE::MpiRelauncher::TMpiRun::TMpiRun | ( | URANIE::Relauncher::TEval * | r, |
Bool_t | init = kTRUE |
||
) |
◆ TMpiRun() [3/3]
URANIE::MpiRelauncher::TMpiRun::TMpiRun | ( | URANIE::Relauncher::TEval * | r, |
MPI_Comm | comm | ||
) |
◆ ~TMpiRun()
|
virtual |
References _count, and URANIE::Relauncher::TSeparateRun::stopSlave().
Member Function Documentation
◆ onMaster()
|
virtual |
Implements URANIE::Relauncher::TRun.
Reimplemented in URANIE::MpiRelauncher::TBiMpiRun.
References _id.
◆ readyToGet()
|
virtual |
Implements URANIE::Relauncher::TRun.
◆ receive_header()
|
protectedvirtual |
Implements URANIE::Relauncher::TSeparateRun.
Referenced by URANIE::MpiRelauncher::TBiMpiRun::leader_loop().
◆ receive_value()
|
protectedvirtual |
Implements URANIE::Relauncher::TSeparateRun.
Referenced by URANIE::MpiRelauncher::TBiMpiRun::leader_loop().
◆ send_header()
|
protectedvirtual |
Implements URANIE::Relauncher::TSeparateRun.
Referenced by URANIE::MpiRelauncher::TBiMpiRun::leader_loop().
◆ send_value()
|
protectedvirtual |
Implements URANIE::Relauncher::TSeparateRun.
◆ startSlave()
|
virtual |
Reimplemented from URANIE::Relauncher::TSeparateRun.
Reimplemented in URANIE::MpiRelauncher::TBiMpiRun.
References _id, URANIE::Relauncher::TRun::_ncpus, URANIE::Relauncher::TSeparateRun::_sleep, and URANIE::Relauncher::TSeparateRun::calcul_loop().
◆ wait_service()
|
protectedvirtual |
Implements URANIE::Relauncher::TSeparateRun.
Member Data Documentation
◆ _comm
|
protected |
◆ _count
|
staticprotected |
Referenced by TMpiRun(), TMpiRun(), TMpiRun(), and ~TMpiRun().
◆ _id
|
protected |
Referenced by URANIE::MpiRelauncher::TBiMpiRun::calculSize(), onMaster(), startSlave(), TMpiRun(), TMpiRun(), and TMpiRun().