70 likes | 198 Vues
This report outlines the latest updates and developments in the LSF (Load Sharing Facility) resources interface by P. Nilsson. It highlights the location of RPMs and relevant documentation, as well as the installation progress on the Proof cluster. The report details the architecture of the resources interface classes, including the main and static resources classes, methods for managing nodes, and data member configurations. Further improvements and updates are being communicated through dedicated pages on the CERN Wiki.
E N D
Weekly ReportLSF, Resources Interface P. Nilsson
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
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
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
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
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
Resources Interface • Done: TProof::StartSlaves() • Currently updating: TProofSuperMaster::StartSlaves() • Static config file used also used in TProofServ and TProofCondor P. Nilsson