46 : fCondor(0), fTimer(0)
88 Error(
"StartSlaves",
"Empty Condor image found for system %s",
120 while ((to = next())) {
163 while (
claims.GetSize() > 0) {
185 c->fPerfIdx,
c->fImage,
c->fWorkDir);
214 if (
p &&
p->Value()) {
222 Warning(
"StartSlaves",
"could not create TSlave object!");
228 if (
p &&
p->Value()) {
240 Warning(
"StartSlaves",
"could not create TSlave object!");
244 if (idx>=
claims.GetSize()) {
289 PDB(kCondor,1)
Info(
"SetActive",
"-- Condor Resume --");
298 PDB(kCondor,1)
Info(
"SetActive",
"-- Delayed Condor Suspend (%d msec / to %lld) --",
313 ad =
"JobUniverse = 5\n";
316 ad +=
"In = \"/dev/null\"\n";
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
winID h TVirtualViewer3D TVirtualGLPainter p
R__EXTERN TProofServ * gProofServ
const char *const kPROOF_ConfFile
const char *const kPROOF_ConfDir
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.
Bool_t Resume()
Resume worker.
TList * Claim(Int_t n, const char *cmd)
Claim n virtual machines This function figures out the image and performance index before returning t...
TString GetImage(const char *host) const
Get image of the worker.
void Add(TObject *obj) override
virtual void Add(TSocket *sock, Int_t interest=kRead)
Add socket to the monitor's active list.
Mother of all ROOT objects.
virtual void Warning(const char *method, const char *msgfmt,...) const
Issue warning message.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
Class used by TMap to store (key,value) pairs.
Bool_t StartSlaves(Bool_t) override
Setup Condor workers using dynamic information.
TProofCondor(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 proof using condor.
~TProofCondor() override
Clean up Condor PROOF environment.
TString GetJobAd()
Get job Ad.
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 TString & GetImage() const
const TString & GetWorkDir() const
Int_t GetPerfIndex() const
const TString & GetNodeName() const
The purpose of this class is to provide a standard interface to static config files.
const char * GetOrdinal() const
TSocket * GetSocket() const
void InitMembers()
Default initializations.
Int_t Init(const char *masterurl, const char *conffile, const char *confdir, Int_t loglevel, const char *alias=0)
Start the PROOF environment.
const char * GetConfDir() const
TSlave * CreateSlave(const char *url, const char *ord, Int_t perf, const char *image, const char *workdir)
Create a new TSlave of type TSlave::kSlave.
Int_t GetLogLevel() const
Bool_t Connect(const char *signal, const char *receiver_class, void *receiver, const char *slot)
Non-static method is used to connect from the signal of this object to the receiver slot.
Class describing a PROOF worker server.
virtual Int_t Send(const TMessage &mess)
Send a TMessage object.
const char * Data() const
virtual Bool_t ExpandPathName(TString &path)
Expand a pathname getting rid of special shell characters like ~.
virtual TTime Now()
Get current time in milliseconds since 0:00 Jan 1 1995.
virtual const char * HostName()
Return the system's host name.
virtual void Sleep(UInt_t milliSec)
Sleep milliSec milli seconds.
virtual const char * TempDirectory() const
Return a user configured or systemwide directory to create temporary files in.
Handles synchronous and a-synchronous timer events.
virtual void Start(Long_t milliSec=-1, Bool_t singleShot=kFALSE)
Starts the timer with a milliSec timeout.
This class represents a WWW compatible URL.