72 gROOT->GetListOfProofs()->Add(
this);
91 Error(
"StartSlaves",
"getting list of submaster nodes");
110 while ((to = next())) {
138 if (
slave->IsValid()) {
146 Info(
"StartSlaves",
"submaster on host %s created and"
147 " added to list",
submaster->GetNodeName().Data());
181 Error(
"StartSlaves",
"master and submaster protocols"
182 " not compatible (%d and %d)",
206 if (
sl->GetStatus() == -99) {
207 Error(
"StartSlaves",
"not allowed to connect to PROOF master server");
212 if (!
sl->IsValid()) {
213 Error(
"StartSlaves",
"failed to setup connection with PROOF master server");
248 if (
dset->ElementsValid())
return;
284 if (
elem->GetValid())
continue;
286 if (
p &&
p->Value()) {
290 Error(
"ValidateDSet",
"no mass storage domain '%s' associated"
291 " with available submasters",
311 dset->GetDirectory());
319 elem->GetDirectory(),
elem->GetFirst(),
332 "Sending TDSet with %d elements to worker %s"
333 " to be validated", set.GetListOfElements()->GetSize(),
335 sl->GetSocket()->Send(
mesg);
338 Warning(
"ValidateDSet",
"not a TSlave object");
345 Info(
"ValidateDSet",
"Calling Collect");
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
#define R__ASSERT(e)
Checks condition e and reports a fatal error if it's false.
winID h TVirtualViewer3D TVirtualGLPainter p
const Bool_t kSortDescending
R__EXTERN TProofServ * gProofServ
const char *const kPROOF_ConfFile
const char *const kPROOF_ConfDir
const Int_t kPROOF_Protocol
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
R__EXTERN TSystem * gSystem
virtual Int_t GetSize() const
Return the capacity of the collection, i.e.
Manages an element of a TDSet.
This class implements a data set to be used for PROOF processing.
virtual Bool_t Add(const char *file, const char *objname=0, const char *dir=0, Long64_t first=0, Long64_t num=-1, const char *msd=0)
Add file to list of files to be analyzed.
TList * GetListOfElements() const
void Add(TObject *obj) override
virtual void Add(TSocket *sock, Int_t interest=kRead)
Add socket to the monitor's active list.
Collectable string class.
Mother of all ROOT objects.
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
void SetBit(UInt_t f, Bool_t set)
Set or unset the user status bits as specified in f.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
Class used by TMap to store (key,value) pairs.
Longptr_t ExecPlugin(int nargs)
The PROOF manager interacts with the PROOF server coordinator to create or destroy a PROOF session,...
The purpose of this class is to provide a complete node description for masters, submasters and worke...
const char * GetOrdinal() const
const char * GetImage() const
virtual EQueryAction GetWorkers(TList *workers, Int_t &prioritychange, Bool_t resume=kFALSE)
Get list of workers to be used from now on.
const char * GetUser() const
TSocket * GetSocket() const
const char * GetGroup() const
const char * GetWorkDir() const
Implementation of TProof controlling PROOF federated clusters.
Bool_t StartSlaves(Bool_t) override
Start up PROOF submasters.
TProofSuperMaster(const char *masterurl, const char *conffile=kPROOF_ConfFile, const char *confdir=kPROOF_ConfDir, Int_t loglevel=0, const char *alias=0, TProofMgr *mgr=0)
Start super master PROOF session.
Long64_t Process(TDSet *set, const char *selector, Option_t *option="", Long64_t nentries=-1, Long64_t firstentry=0) override
Process a data set (TDSet) using the specified selector (.C) file.
void ValidateDSet(TDSet *dset) override
Validate a TDSet.
TVirtualProofPlayer * MakePlayer(const char *player=0, TSocket *s=0) override
Construct a TProofPlayer object.
TVirtualProofPlayer * GetPlayer() const
TPluginHandler * GetProgressDialog() const
Int_t Collect(const TSlave *sl, Long_t timeout=-1, Int_t endtype=-1, Bool_t deactonfail=kFALSE)
Collect responses from slave sl.
void SetPlayer(TVirtualProofPlayer *player)
Set a new PROOF player.
void InitMembers()
Default initializations.
TSlave * CreateSubmaster(const char *url, const char *ord, const char *image, const char *msd, Int_t nwk=1)
Create a new TSlave of type TSlave::kMaster.
Int_t Init(const char *masterurl, const char *conffile, const char *confdir, Int_t loglevel, const char *alias=0)
Start the PROOF environment.
TList * GetListOfActiveSlaves() const
void SetDSet(TDSet *dset)
Class describing a PROOF worker server.
virtual Int_t Send(const TMessage &mess)
Send a TMessage object.
A sorted doubly linked list.
virtual const char * HostName()
Return the system's host name.
This class represents a WWW compatible URL.
const char * GetHostFQDN() const
Return fully qualified domain name of url host.
Abstract interface for the PROOF player.
static TVirtualProofPlayer * Create(const char *player, TProof *p, TSocket *s=0)
Create a PROOF player.
virtual Long64_t Process(TDSet *set, const char *selector, Option_t *option="", Long64_t nentries=-1, Long64_t firstentry=0)=0