GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » Fairroot » General Discussion » Problem on running FairRoot tutorial macro
icon4.gif  Problem on running FairRoot tutorial macro [message #17646] Sat, 13 December 2014 10:12 Go to next message
kamalpdutta is currently offline  kamalpdutta
Messages: 30
Registered: December 2014
Location: Guwahati, India
continuous participant
From: 14.139.207*
Dear All,

I have just builded FairRoot on my ubuntu 14.04 32 bit machine with https://github.com/FairRootGroup/FairSoft. But I am getting problem on running tutorials. For example on running Tutorial1, following error is shown

Processing run_tutorial1.C...
Error: Symbol FairRunSim is not defined in current scope run_tutorial1.C:61:
Error: Symbol FairRunSim is not defined in current scope run_tutorial1.C:61:
Error: type FairRunSim not defined FILE:/home/kamalpdutta/PANDA/buildFairRoot/share/fairbase/example/Tutori al1/./run_tutorial1.C LINE:61
Error: Invalid type 'FairRunSim*' in declaration of 'run' run_tutorial1.C:61:
*** Interpreter error recovered ***

Please help me regarding this.

regards
Kamal Dutta
Re: Problem on running FairRoot tutorial macro [message #17647 is a reply to message #17646] Sat, 13 December 2014 10:29 Go to previous messageGo to next message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *ext.kfa-juelich.de
Hi,

did you setup the environment correctly? This is done by running the following command to execute a script in your build directory.

source <build_dir>/config.sh

<build_dir> has to be changed to your build directory.

Ciao

Florian
Re: Problem on running FairRoot tutorial macro [message #17648 is a reply to message #17647] Sat, 13 December 2014 10:54 Go to previous messageGo to next message
kamalpdutta is currently offline  kamalpdutta
Messages: 30
Registered: December 2014
Location: Guwahati, India
continuous participant
From: 14.139.207*
Hi Ciao,

Thanks for your qick reply. Yes I did source config.sh in my build directory. It echo following

System during compilation: Ubuntu 14.04.1 LTS
i686
System now : Ubuntu 14.04.1 LTS
i686

But still showing the same error.

regards'
Kamal Dutta
Re: Problem on running FairRoot tutorial macro [message #17660 is a reply to message #17647] Wed, 17 December 2014 07:12 Go to previous messageGo to next message
kamalpdutta is currently offline  kamalpdutta
Messages: 30
Registered: December 2014
Location: Guwahati, India
continuous participant
From: 14.139.207*
Hi Ciao and all,

Installing external dec-14 version and new FairRoot v-14.11, I am able to run FairRoot Tutorials. But its shows the following bug,

Loading Geant3 libraries ...
dlopen error: /home/kamalpdutta/PANDA/EXTERNAL/dec14/lib/libgeant321.so: undefined symbol: pycomp_
Load Error: Failed to load Dynamic link library /home/kamalpdutta/PANDA/EXTERNAL/dec14/lib/libgeant321.so
Warning: Return value of void g3libs() ignored /home/kamalpdutta/PANDA/FairRoot-v-14.11/example/gconfig/g3libs.C:26:
Error: Symbol TGeant3 is not defined in current scope /home/kamalpdutta/PANDA/FairRoot-v-14.11/example/gconfig/g3Config.C:16:
Error: Invalid type 'TGeant3*' in declaration of 'geant3' /home/kamalpdutta/PANDA/FairRoot-v-14.11/example/gconfig/g3Config.C:16:
(long)0
*** Interpreter error recovered ***
SetCuts Macro: Setting Processes..
Error: illegal pointer to class object gMC 0x0 2139 /home/kamalpdutta/PANDA/FairRoot-v-14.11/example/gconfig/SetCuts.C:30:
*** Interpreter error recovered ***

*** Break *** segmentation violation

Can you please idetify the source of this bug ?

regards

Kamal Dutta
Re: Problem on running FairRoot tutorial macro [message #17661 is a reply to message #17660] Wed, 17 December 2014 09:37 Go to previous messageGo to next message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *ikp.kfa-juelich.de
Hi,

Quote:
Can you please idetify the source of this bug ?


Can you please identify the macro which doesn't work. Can you please give some more information about your system (OS, compiler, ...).
without this information it is hard to guess what could be the problem.

Ciao

Florian
Re: Problem on running FairRoot tutorial macro [message #17662 is a reply to message #17661] Wed, 17 December 2014 09:44 Go to previous messageGo to next message
kamalpdutta is currently offline  kamalpdutta
Messages: 30
Registered: December 2014
Location: Guwahati, India
continuous participant
From: 14.139.207*
Dear Ciao,
The error I have shown is for Tutorial1. I am using Ubuntu 14.04.1 32 machine. The external package installation log file is attached here, where you can get other details of my system.


regards
Kamal Dutta
Re: Problem on running FairRoot tutorial macro [message #17832 is a reply to message #17646] Mon, 02 February 2015 09:38 Go to previous message
Tonya Evdokimova is currently offline  Tonya Evdokimova
Messages: 2
Registered: February 2013
Location: Protvino, Russia
occasional visitor
From: 194.190.166*
Hello.

I can confirm this behaviour on 32 bit Ubuntu 12.04.05 LTS. GCC version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)

I installed new external packages fairroot jul14p3 + pandaroot (trunk) following the procedure from https://panda-wiki.gsi.de/foswiki/bin/view/Computing/PandaRootInstallGit.

Installation itself went without any problems. But if i try to run any sim macro: /run/sim_complete.C or /emc/sim_emc.C I've got exactly the same problem Kamal Dutta mentioned.


ROOT 5.34/19 (v5-34-19@v5-34-19, янв. 28 2015, 14:07:24 on linux)

CINT/ROOT C/C++ Interpreter version 5.18.00, July 2, 2010
Type ? for help. Commands must be C++ statements.
Enclose multiple statements between { }.
root [0] 
Processing sim_emc.C...
[INFO   ] FairRootManager::OpenOutFile("sim_emc.root")
[INFO   ] Media file used : /home/uzbton/fairroot_jul14/fairsoft_jul14p3/pandaroot/geometry/media_pnd.geo  
Error in <TClonesArray::SetClass>: called with a null pointer
 -I container name PndEmcGeoPar
[INFO   ] ==============  FairRunSim: Initialising simulation run ============== 
Info in <TGeoManager::TGeoManager>: Geometry FAIRGeom, FAIR geometry created
[INFO   ] FairGeoMedia: Read media 
 -I container name PndEmcDigiPar
 -I container name PndEmcDigiNonuniformityPar

************************************************************* 
     initialisation for run id 1422865622
************************************************************* 
-I- FairRunTimeDB::InitContainer() PndEmcGeoPar
[ERROR  ] init() PndEmcGeoPar  not initialized 
-I- FairRunTimeDB::InitContainer() PndEmcDigiPar
PndEmcDigiPar initialized from Ascii file
-I- FairRunTimeDB::InitContainer() PndEmcDigiNonuniformityPar
[ERROR  ] init() PndEmcDigiNonuniformityPar  not initialized 
Error in <FairRuntimeDb::initContainers()>: Error occured during initialization
[INFO   ] PndFieldMap: Reading field map from ROOT file  /home/uzbton/fairroot_jul14/fairsoft_jul14p3/pandaroot/input/TransMap.1500.root  
[INFO   ] PndFieldMap: Reading field map from ROOT file  /home/uzbton/fairroot_jul14/fairsoft_jul14p3/pandaroot/input/DipoleMap1.1500.root  
[INFO   ] PndFieldMap: Reading field map from ROOT file  /home/uzbton/fairroot_jul14/fairsoft_jul14p3/pandaroot/input/DipoleMap2.1500.root  
[INFO   ] PndFieldMap: Reading field map from ROOT file  /home/uzbton/fairroot_jul14/fairsoft_jul14p3/pandaroot/input/SolenoidMap1.root  
[INFO   ] PndFieldMap: Reading field map from ROOT file  /home/uzbton/fairroot_jul14/fairsoft_jul14p3/pandaroot/input/SolenoidMap2.root  
[INFO   ] PndFieldMap: Reading field map from ROOT file  /home/uzbton/fairroot_jul14/fairsoft_jul14p3/pandaroot/input/SolenoidMap3.root  
[INFO   ] PndFieldMap: Reading field map from ROOT file  /home/uzbton/fairroot_jul14/fairsoft_jul14p3/pandaroot/input/SolenoidMap4.root  
[INFO   ] -------------- Standard Config is called ------------------------------------ 
Loading Geant3 libraries ...
dlopen error: /home/uzbton/fairroot_jul14/install/lib/libgeant321.so: undefined symbol: pycomp_
Load Error: Failed to load Dynamic link library /home/uzbton/fairroot_jul14/install/lib/libgeant321.so
Warning: Return value of void g3libs() ignored /home/uzbton/fairroot_jul14/fairsoft_jul14p3/pandaroot/gconfig/g3libs.C:19:
Error: Symbol TGeant3 is not defined in current scope  /home/uzbton/fairroot_jul14/fairsoft_jul14p3/pandaroot/gconfig/g3Config.C:9:
Error: Invalid type 'TGeant3*' in declaration of 'geant3' /home/uzbton/fairroot_jul14/fairsoft_jul14p3/pandaroot/gconfig/g3Config.C:9:
(long)0
*** Interpreter error recovered ***
SetCuts Macro: Setting Processes..
Error: illegal pointer to class object gMC 0x0 4010  /home/uzbton/fairroot_jul14/fairsoft_jul14p3/pandaroot/gconfig/SetCuts.C:23:
*** Interpreter error recovered ***




I have installed prevoius version of Fairroot (dec13) and pandaroots (23950 trunk and jan14 release) it works without problems.

Please give me a hint how to solve this issue.

Thank you.

Previous Topic: pointer handling in base/source/swaplw.c can fail on 64 bit systems
Next Topic: Radiation length units
Goto Forum:
  


Current Time: Mon Nov 25 08:17:26 CET 2024

Total time taken to generate the page: 0.00829 seconds