1 / 7

Weekly Report LSF, Resources Interface

Weekly Report LSF, Resources Interface. LSF Update. [Up to us to install it ourselves..] Location of RPM’s and documentation for LSF: /afs/cern.ch/project/lsf/6.1/install http://batch.web.cern.ch/batch/doc-privinst.html https://uimon.cern.ch/twiki/bin/view/FIOgroup/LSFBatchHome

mili
Download Presentation

Weekly Report LSF, Resources Interface

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Weekly ReportLSF, Resources Interface P. Nilsson

  2. LSF Update • [Up to us to install it ourselves..] • Location of RPM’s and documentation for LSF: /afs/cern.ch/project/lsf/6.1/install http://batch.web.cern.ch/batch/doc-privinst.html https://uimon.cern.ch/twiki/bin/view/FIOgroup/LSFBatchHome • The latest version for SLC3 on i386 is LSF-2.4-GLIBC-2.3-6.1-22.i386.rpm (LSF core software) • LSF installation on Proof cluster (progress) https://uimon.cern.ch/twiki/bin/view/FIOgroup/LsfProof (we should continue updating this page) P. Nilsson

  3. Resources Interface • Main interface class • Additional info (config file, LSF requests, ..) is communicated via the constructors of the derived classes class TProofResources : public TObject { public: virtual TProofNodeInfo *GetMaster(void) = 0; virtual TList *GetWorkers(void) = 0; private: virtual TProofNodeInfo *GetNodeInfo(TString name) = 0; ClassDef(TProofResources,0) }; P. Nilsson

  4. Resources Interface • Static resources class • Reads and interprets the static config file • Creates a TList of TProofNodeInfo objects for workers and a single TProofNodeInfo object for the master • Implemented in TProof::StartSlaves (v5-06-01) class TProofResourcesStatic : public TProofResources { public: TProofResourcesStatic(const TString confDir, const TString fileName); // ctor virtual ~TProofResourcesStatic(void); // dtor TProofNodeInfo *GetMaster(void); // Return the master TList *GetWorkers(void); // Get all workers ...several private methods } P. Nilsson

  5. Resources Interface • LSF resources class • Submits a request to LSF system • Creates a TList of TProofNodeInfo objects for workers and a single TProofNodeInfo object for the master • Not implemented in Proof yet (stand-alone code is running on lxplus) class TProofResourcesLSF : public TProofResources { public: TProofResourcesLSF(Char_t *request, Int_t N); // ctor virtual ~TProofResourcesLSF(void); // dtor TProofNodeInfo *GetMaster(void); // Get the master (current host) TList *GetWorkers(void); // Get the workers ...several private methods } P. Nilsson

  6. Resources Interface • TNodeInfo data members • ‘Getters’ added for all data members enum ENodeType { kMaster, kSubMaster, kWorker }; ENodeType fNodeType; // Distinction between master, submaster and worker TString fNodeName; // Name of the node TString fWorkDir; // Working directory TString fOrdinal; // Worker ordinal number TString fImage; // File system image TString fId; // Id number TString fConfig; // Configuration file name [for submasters] TString fMsd; // ... [for submasters] Int_t fPort; // Port number Int_t fPerfIndex; // Performance index P. Nilsson

  7. Resources Interface • Done: TProof::StartSlaves() • Currently updating: TProofSuperMaster::StartSlaves() • Static config file used also used in TProofServ and TProofCondor P. Nilsson

More Related