GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » General Discussion » PROOF in FairRoot
Re: PROOF in FairRoot [message #13297 is a reply to message #13293] Wed, 04 April 2012 21:22 Go to previous messageGo to previous message
Radoslaw Karabowicz is currently offline  Radoslaw Karabowicz
Messages: 108
Registered: June 2004
Location: GSI
continuous participant
From: *dip0.t-ipconnect.de
Dear Stefano,

As I said before the tasks have to be properly initialized or their members be switched off for streaming ( //! ). This I did not commit to SVN yet. I will do it probably tomorrow when I find some time to do it properly.

I've just got the plain pandaroot trunk and can see the same errors that you have when running with MVD and STT. From my experience I think it is the MVD that causes most of the problems. However when I switch them off, the PROOF does what it should.

So, can you just make a quick check and comment out all the tasks, leaving only GEM digitizer and hit finder?

Below you can see the running with only GEM:

Quote:

karabowi@lxi047::~/pandaroot_15235/trunk/macro/global$ root -l -q 'tracks_BARREL_1000.C("proof",4)' root [0]
Processing tracks_BARREL_1000.C("proof",4)...
FairRootManager::OpenOutFile("tracks_22Part_n4000.root")
[INFO ] The input consists out of the following trees and files:
[INFO ] - cbmsim
[INFO ] - /misc/karabowi/pandaroot_15235/trunk/macro/global/points_22Part_n1000_f0 .root
[INFO ] - file:///misc/karabowi/pandaroot_15235/trunk/macro/global/points_22Part_n 1000_f1.root
[INFO ] - file:///misc/karabowi/pandaroot_15235/trunk/macro/global/points_22Part_n 1000_f2.root
[INFO ] - file:///misc/karabowi/pandaroot_15235/trunk/macro/global/points_22Part_n 1000_f3.root
FairRunAna::RunOnProof(0,4000): running FairAnaSelector on proof server: "" with PAR file name = "$VMCWORKDIR/gconfig/libFairRoot.par".
+++++++ T P R O O F +++++++++++++++++++++++++++++++++
creating TProof* proof = TProof::Open("");
+++ Starting PROOF-Lite with 8 workers +++
Opening connections to workers: OK (8 workers)
Setting up worker servers: OK (8 workers)
PROOF set to parallel mode (8 workers)
+++++++ C R E A T E D +++++++++++++++++++++++++++++++
0309: ClearPackages
0309: UploadPackages
0309: EnablePackages
EXECUTING libFairRoot.par/SETUP.C without includes
Function SETUP_c7827247() busy. loaded after "/misc/karabowi/pandaroot_15235/trunk/gconfig/rootlogon.C"
Error: G__unloadfile() Can not unload "/misc/karabowi/pandaroot_15235/trunk/gconfig/rootlogon.C", file busy /tmp/SETUP_c7827247.C:20:
Note: File "/misc/karabowi/pandaroot_15235/trunk/gconfig/rootlogon.C" already loaded
*** Interpreter error recovered ***
DONT MIND THE ERRORS HERE, ITS EXECUTED.
0309: ShowPackages
*** Package cache client:/misc/karabowi/.proof/packages ***
total 0
drwxr-x--- 3 karabowi had1 22 31. Okt 13:34 libFairRoot
lrwxrwxrwx 1 karabowi had1 60 4. Apr 21:10 libFairRoot.par -> /misc/karabowi/pandaroot_15235/trunk/gconfig/libFairRoot.par

0309: Done
FairRunAna::RunOnProof(): The chain seems to have 4000 entries.
FairRunAna::RunOnProof(): There are 4 files in the chain.
FairRunAna::RunOnProof(): Starting inChain->Process("FairAnaSelector","",4000,0)

Info in <TProofLite::SetQueryRunning>: starting query: 1
Info in <TProofQueryResult::SetRunning>: nwrks: 8
Error in <TGSpeedo::TGSpeedo::Build>: speedo.gif not found
-I- FairAnaSelector::Begin()
Looking up for exact location of files: OK (4 files)
Looking up for exact location of files: OK (4 files)
Info in <TPacketizerAdaptive::TPacketizerAdaptive>: Setting max number of workers per node to 8
Validating files: OK (4 files)
Info in <TPacketizerAdaptive::InitStats>: fraction of remote files 1.000000
-I- FairAnaSelector::Terminate(): fOutput->ls() still sending)
OBJ: TSelectorList TSelectorList Special TList used in the TSelector : 0
OBJ: TList MissingFiles Doubly linked list : 0
OBJ: TStatus PROOF_Status : 0 at: 0x36b60b0
OBJ: TOutputListSelectorDataMap PROOF_TOutputListSelectorDataMap_object Converter from output list to TSelector data members : 0 at: 0x36c33a0
-I- FairAnaSelector::Terminate(): -------------
Lite-0: all output objects have been merged
FairRunAna::RunOnProof(): inChain->Process DONE
------------------------------------------------------------------------ --------
-------------- actual containers in runtime database -------------------------
-------------- runs, versions ------------------------------------------------
run id
container 1st-inp 2nd-inp output
-------------- input/output --------------------------------------------------
first Input:
OBJ: FairParRootFile /misc/karabowi/pandaroot_15235/trunk/macro/global/params_22Part_n1000.ro ot : 0 at: 0x2d9d610
Root file I/O /misc/karabowi/pandaroot_15235/trunk/macro/global/params_22Part_n1000.ro ot is open
detector I/Os: FairGenericParIo
second Input:
Ascii I/O /misc/karabowi/pandaroot_15235/trunk/macro/params/all.par is open
detector I/Os: FairGenericParIo
output: none


Macro finished succesfully.
Output file is tracks_22Part_n4000.root
Parameter file is /misc/karabowi/pandaroot_15235/trunk/macro/global/params_22Part_n1000.ro ot
Real time 14.6925 s, CPU time 0.73 s


And when running with all:

Quote:

karabowi@lxi047::~/pandaroot_15235/trunk/macro/global$ root -l -q 'tracks_BARREL_1000.C("proof",4)' root [0]
Processing tracks_BARREL_1000.C("proof",4)...
FairRootManager::OpenOutFile("tracks_22Part_n4000.root")
Info in (PndGeoHandling::Instance): Making a new instance using the framework.
Info in <PndSdsHybridHitProducer::PndSdsHybridHitProducer>: MVD Hybrid Hit Producer created, Parameters will be taken from RTDB
[INFO ] The input consists out of the following trees and files:
[INFO ] - cbmsim
[INFO ] - /misc/karabowi/pandaroot_15235/trunk/macro/global/points_22Part_n1000_f0 .root
[INFO ] - file:///misc/karabowi/pandaroot_15235/trunk/macro/global/points_22Part_n 1000_f1.root
[INFO ] - file:///misc/karabowi/pandaroot_15235/trunk/macro/global/points_22Part_n 1000_f2.root
[INFO ] - file:///misc/karabowi/pandaroot_15235/trunk/macro/global/points_22Part_n 1000_f3.root
FairRunAna::RunOnProof(0,4000): running FairAnaSelector on proof server: "" with PAR file name = "$VMCWORKDIR/gconfig/libFairRoot.par".
+++++++ T P R O O F +++++++++++++++++++++++++++++++++
creating TProof* proof = TProof::Open("");
+++ Starting PROOF-Lite with 8 workers +++
Opening connections to workers: OK (8 workers)
Setting up worker servers: OK (8 workers)
PROOF set to parallel mode (8 workers)
+++++++ C R E A T E D +++++++++++++++++++++++++++++++
0309: ClearPackages
0309: UploadPackages
0309: EnablePackages
EXECUTING libFairRoot.par/SETUP.C without includes
Function SETUP_c7827247() busy. loaded after "/misc/karabowi/pandaroot_15235/trunk/gconfig/rootlogon.C"
Error: G__unloadfile() Can not unload "/misc/karabowi/pandaroot_15235/trunk/gconfig/rootlogon.C", file busy /tmp/SETUP_c7827247.C:20:
Note: File "/misc/karabowi/pandaroot_15235/trunk/gconfig/rootlogon.C" already loaded
*** Interpreter error recovered ***
DONT MIND THE ERRORS HERE, ITS EXECUTED.
0309: ShowPackages
*** Package cache client:/misc/karabowi/.proof/packages ***
total 0
drwxr-x--- 3 karabowi had1 22 31. Okt 13:34 libFairRoot
lrwxrwxrwx 1 karabowi had1 60 4. Apr 21:11 libFairRoot.par -> /misc/karabowi/pandaroot_15235/trunk/gconfig/libFairRoot.par

0309: Done
FairRunAna::RunOnProof(): The chain seems to have 4000 entries.
FairRunAna::RunOnProof(): There are 4 files in the chain.
FairRunAna::RunOnProof(): Starting inChain->Process("FairAnaSelector","",4000,0)
Warning in <TBufferFile::WriteObjectAny>: since PndGeoHandling has no public constructor
which can be called without argument, objects of this class
can not be read with the current library. You will need to
add a default constructor before attempting to read it.
Error in <TClass::New>: cannot create object of class FairRuntimeDb
Warning in <TClass::TClass>: no dictionary for class pair<double,FairTimeStamp*> is available
Error in <Pair Emulation Building>: const char* is not yet supported in pair emulation
Error in <Pair Emulation Building>: const char* is not yet supported in pair emulation
Error in <Pair Emulation Building>: const char* is not yet supported in pair emulation
Error in <Pair Emulation Building>: const char* is not yet supported in pair emulation
Error in <TClass::BuildRealData>: Cannot find any ShowMembers function for PndSdsCalcStrip!
Warning in <TClass::TClass>: no dictionary for class BinaryFunctor is available
Error in <TStreamerInfo::Build:>: PndSdsPixelClusterTask: BinaryFunctor* has no streamer or dictionary, data member fFunctor will not be saved
Error in <TStreamerInfo::Build:>: PndSdsPixelClusterTask: BinaryFunctor* has no streamer or dictionary, data member fStartFunctor will not be saved
Warning in <TClass::TClass>: no dictionary for class PndSdsPixelBackMapping is available
Error in <TStreamerInfo::Build:>: PndSdsPixelClusterTask: PndSdsPixelBackMapping* has no streamer or dictionary, data member fBackMapping will not be saved
Warning in <TClass::TClass>: no dictionary for class PndSdsFEAmpModelSimple is available
Error in <TStreamerInfo::Build:>: PndSdsFE: PndSdsFEAmpModelSimple* has no streamer or dictionary, data member fFrontEndModel will not be saved
Error in <Pair Emulation Building>: const char* is not yet supported in pair emulation
Error in <Pair Emulation Building>: const char* is not yet supported in pair emulation
Error in <TStreamerInfo::Build:>: PndSdsStripClusterTask: BinaryFunctor* has no streamer or dictionary, data member fFunctor will not be saved
Error in <TClass::New>: cannot create object of class PndSdsChargeWeightingAlgorithms
Error in <TClass::New>: cannot create object of class PndGeoHandling
Error in <TBufferFile::ReadObject>: could not create object of class PndGeoHandling
Error in <TExMap::Remove>: key 4194304 not found at 291
Warning in <TBufferFile::CheckObject>: reference to object of unavailable class TObject, offset=4194304 pointer will be 0
Error: Symbol #include is not defined in current scope tracks_BARREL_1000.C:117:
Error: Symbol exception is not defined in current scope tracks_BARREL_1000.C:117:
Syntax Error: #include <exception> tracks_BARREL_1000.C:117:
Error: Symbol G__exception is not defined in current scope tracks_BARREL_1000.C:117:
Error: type G__exception not defined FILE:/misc/karabowi/pandaroot_15235/trunk/macro/global/./tracks_BARREL_1 000.C LINE:117
*** Interpreter error recovered ***


I have spent the last few days on fixing the problem with the root parameter files that one gives to FairRuntimeDb. Previously one needed to store the parameters in one root file while doing simulation. Currently FairParRootFileIo::open is taking also a TList of root parameter file names. Internally the files are merged into one file that is then given as input to the FairRuntimeDb as parameter file.

This you can test with sim_BARREL_1000sep.C and tracks_BARREL_1000sep.C

yours
radek

[Updated on: Wed, 04 April 2012 21:24]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Getting Hits by detectors registered in the output root file
Next Topic: Detector response analysis
Goto Forum:
  


Current Time: Sat Apr 20 02:26:49 CEST 2024

Total time taken to generate the page: 0.00954 seconds