[ROOT] Run on PROOF the h1analysis.C from Example Analysis of User Guide V3.10

From: Jose M. Lopez-Garcia (Jose.Lopez-Garcia@cern.ch)
Date: Thu Mar 18 2004 - 19:48:23 MET


   Hello everyone,

   I am trying run on PROOF the file h1analysis.C extracted from User 
Guideof ROOT. When I run with ROOT I have not any problem but I can't run 
it on PROOF and I have two questions:

1. Have I modify the file (h1nalaysis.C) to update it to PROOF?(For example introduccing 
   new code lines)

2. Which is the command to subimit the file to PROOF? Because I am using 
   the following commands:

   root[0] gROOT->gProof() //I login without problems in my cluster.
   root[1] gProof->Exec(".x h1analysis.C")  //I got the error:
           Error: cannot open file "h1analysis.h"  FILE:h1analysis.C LINE:23
           *** Interpreter error recovered ***
           This error is repeted for each machine of our cluster. And this 
            file exist.
   root[2] gProof->Process("h1analysis.C") //I got the error:
           Error: Can't call TVirtualProof::Process("h1analysis.C") in current scope FILE:(tmpfile) LINE:1
           Possible candidates are...
           filename       line:size busy function type and name  (in TVirtualProof)(compiled)        0:0    0 public: virtual Int_t Process(TDSet* set,const char* selector,Option_t* option=,Long64_t nentries=-1,Long64_t 
           firstentry=0,TEventList* evl=0)=0;
           filename       line:size busy function type and name  (in TObject)
           filename       line:size busy function type and name  (in TQObject)
           Error: Symbol gProof is not defined in current scope  FILE:(tmpfile) LINE:1
           Error: Failed to evaluate gProof->Process("h1analysis.C")Possible candidates are...
           filename       line:size busy function type and name

  Our cluster are PC with Fermilinux (Kernel 2.4.20-18.7) and the version 
of ROOT is  3.05/07.

  Thank you very much in advance for you collaboration.
  Best Regards.
    
-----------------------------------------------------------------------


José María López García
Jose.lopez-garcia@cern.ch 
Departamento de Física de la Universidad de Oviedo.
Facultad de Ciencias, Avda Calvo Sotelo S/N, CP/33011  Oviedo 
Tel:+34 985106252
Fax:+34 985103324



This archive was generated by hypermail 2b29 : Sun Jan 02 2005 - 05:50:06 MET