Tags:
create new tag
view all tags
-- HuangQiulan - 2010-01-28

To run examples on the PROOF cluster

Three examples on PROOF

Test_simple

Run an analysis filling 20 histos with 1000 gaussian random numbers. Without any input data.

  su - proof
  cd test
  cd test_simple
  root
    *******************************************
  *                                         *
  *        W E L C O M E  to  R O O T       *
  *                                         *
  *   Version   5.26/00  14 December 2009   *
  *                                         *
  *  You are welcome to visit our Web site  *
  *          http://root.cern.ch            *
  *                                         *
  *******************************************

ROOT 5.26/00 (trunk@31882, Dec 14 2009, 20:18:36 on linuxx8664gcc)

CINT/ROOT C/C++ Interpreter version 5.17.00, Dec 21, 2008
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] .x run_simple.C+

Test_h1

This runs the 'famous' H1 analysis. The data are read from three forms:

HELP the HTTP server at root.cern.ch

HELP Sharing file system like NFS and AFS

HELP XROOTD

HELP LUSTRE

// Create the chain
   TChain *chain = new TChain("h42");
   //chain->Add("http://root.cern.ch/files/h1/dstarmb.root");
   //chain->Add("http://root.cern.ch/files/h1/dstarp1a.root");
   //chain->Add("http://root.cern.ch/files/h1/dstarp1b.root");
   //chain->Add("http://root.cern.ch/files/h1/dstarp2.root");

   /* Run the proof with the files from xrootd*/
   //chain->Add("root://prfserver01.ihep.ac.cn//xrootd/test/FS_test/dstarmb.root");
   //chain->Add("root://prfserver01.ihep.ac.cn//xrootd/test/FS_test/dstarp1a.root");
   //chain->Add("root://prfserver01.ihep.ac.cn//xrootd/test/FS_test/dstarp1b.root");
   //chain->Add("root://prfserver01.ihep.ac.cn//xrootd/test/FS_test/dstarp2.root");

   /*Run the proof with the files from NFS*/
   //chain->Add("file:/pool/huangql/proof/rootfile/dstarmb.root");
   //chain->Add("file:/pool/huangql/proof/rootfile/dstarp1a.root");
   //chain->Add("file:/pool/huangql/proof/rootfile/dstarp1b.root");
   //chain->Add("file:/pool/huangql/proof/rootfile/dstarp2.root");

   /*Run the proof with files from lustre*/
   chain->Add("file:/lustre/proof/rootfile/dstarmb.root");
   chain->Add("file:/lustre/proof/rootfile/dstarp1a.root");
   chain->Add("file:/lustre/proof/rootfile/dstarp1b.root");
   chain->Add("file:/lustre/proof/rootfile/dstarp2.root");

We can run the test to get the result for each data source and analysis the performance of different input filesystem for PROOF. You may get the detail analysis from Performance.

Test_event

This is an example of using PROOF par files. It runs event generation and simple analysis based on the 'Event' class found under test.

 root[] runProof("event")

BES

The tests for BESIII is being debugged.
Topic revision: r1 - 2010-01-28 - HuangQiulan
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback