GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » cann't start
cann't start [message #23608] Tue, 19 February 2019 10:46 Go to next message
Anna Skachkova is currently offline  Anna Skachkova
Messages: 37
Registered: September 2018
continuous participant
From: *jinr.ru
Dear colleagues,

I've got problems just in the beginning of starting PandaRoot. I've started with tutorials at thailand directory and got the diagnostics below. What can be the reason for that?

Thank you in advance,
Anna




~/WORK/PandaRoot/fairsoft_may18/pandaroot_dec18/tutorials/thailand2017$ tut_runall.sh

Processing tut_sim.C(100,"signal","pp_jpsi2pi_jpsi_mumu.dec",6.231552)...
In file included from input_line_10:1:
/home/anna/WORK/PandaRoot/fairsoft_may18/pandaroot_dec18/tutorials/thail and2017/tut_sim.C:29:3: error: unknown type name 'PndMasterRunSim'
PndMasterRunSim *fRun = new PndMasterRunSim();
^
/home/anna/WORK/PandaRoot/fairsoft_may18/pandaroot_dec18/tutorials/thail and2017/tut_sim.C:29:31: error: unknown type name 'PndMasterRunSim'
PndMasterRunSim *fRun = new PndMasterRunSim();
^
/home/anna/WORK/PandaRoot/fairsoft_may18/pandaroot_dec18/tutorials/thail and2017/tut_sim.C:43:3: error: unknown type name 'FairFilteredPrimaryGenerator'
FairFilteredPrimaryGenerator *primGen = fRun->GetFilteredPrimaryGenerator();
^

Processing tut_aod.C(100,"signal")...
In file included from input_line_10:1:
In file included from /home/anna/WORK/PandaRoot/fairsoft_may18/pandaroot_dec18/tutorials/thail and2017/tut_aod.C:10:
/home/anna/WORK/PandaRoot/fairsoft_may18/pandaroot_dec18/tutorials/thail and2017/auxtut.C:32:1: error: unknown type name 'FairRunAna'
FairRunAna* initrun(TString prefix, TString outfile, int min=-1, int max=-1)
^
/home/anna/WORK/PandaRoot/fairsoft_may18/pandaroot_dec18/tutorials/thail and2017/auxtut.C:42:2: error: use of undeclared identifier 'FairLogger'
FairLogger::GetLogger()->SetLogToFile(kFALSE);
^
/home/anna/WORK/PandaRoot/fairsoft_may18/pandaroot_dec18/tutorials/thail and2017/auxtut.C:43:2: error: unknown type name 'FairRunAna'
FairRunAna* fRun = new FairRunAna();
^
/home/anna/WORK/PandaRoot/fairsoft_may18/pandaroot_dec18/tutorials/thail and2017/auxtut.C:43:25: error: unknown type name 'FairRunAna'
FairRunAna* fRun = new FairRunAna();
^
/home/anna/WORK/PandaRoot/fairsoft_may18/pandaroot_dec18/tutorials/thail and2017/auxtut.C:44:2: error: unknown type name 'FairRuntimeDb'
FairRuntimeDb* rtdb = fRun->GetRuntimeDb();
^
/home/anna/WORK/PandaRoot/fairsoft_may18/pandaroot_dec18/tutorials/thail and2017/auxtut.C:45:22: error: unknown type name 'FairFileSource'
fRun->SetSource(new FairFileSource(inPidFile));
^
/home/anna/WORK/PandaRoot/fairsoft_may18/pandaroot_dec18/tutorials/thail and2017/auxtut.C:48:2: error: unknown type name 'FairParRootFileIo'
FairParRootFileIo* parIO = new FairParRootFileIo();
^
/home/anna/WORK/PandaRoot/fairsoft_may18/pandaroot_dec18/tutorials/thail and2017/auxtut.C:48:33: error: unknown type name 'FairParRootFileIo'
FairParRootFileIo* parIO = new FairParRootFileIo();
^
/home/anna/WORK/PandaRoot/fairsoft_may18/pandaroot_dec18/tutorials/thail and2017/auxtut.C:50:2: error: unknown type name 'FairParAsciiFileIo'
FairParAsciiFileIo* parIOPid = new FairParAsciiFileIo();
^
/home/anna/WORK/PandaRoot/fairsoft_may18/pandaroot_dec18/tutorials/thail and2017/auxtut.C:50:37: error: unknown type name 'FairParAsciiFileIo'
FairParAsciiFileIo* parIOPid = new FairParAsciiFileIo();
^
/home/anna/WORK/PandaRoot/fairsoft_may18/pandaroot_dec18/tutorials/thail and2017/auxtut.C:139:11: error: unknown type name 'RhoCandList'
int fillM(RhoCandList &l, TH1* h)
^
/home/anna/WORK/PandaRoot/fairsoft_may18/pandaroot_dec18/tutorials/thail and2017/auxtut.C:146:11: error: unknown type name 'RhoCandList'
int fillP(RhoCandList &l, TH1* h)
^
In file included from input_line_10:1:
/home/anna/WORK/PandaRoot/fairsoft_may18/pandaroot_dec18/tutorials/thail and2017/tut_aod.C:19:3: error: unknown type name 'PndMasterRunAna'
PndMasterRunAna *fRun= new PndMasterRunAna();
^
/home/anna/WORK/PandaRoot/fairsoft_may18/pandaroot_dec18/tutorials/thail and2017/tut_aod.C:19:30: error: unknown type name 'PndMasterRunAna'
PndMasterRunAna *fRun= new PndMasterRunAna();
Re: cann't start [message #23612 is a reply to message #23608] Tue, 19 February 2019 10:51 Go to previous messageGo to next message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *gsi.de
Dear Anna,

Did you source the config.sh file in your build directory? To me it seems the symbols are not visible to root, yet.

Cheers!
Ralf
Re: cann't start [message #23616 is a reply to message #23612] Tue, 19 February 2019 12:05 Go to previous messageGo to next message
Anna Skachkova is currently offline  Anna Skachkova
Messages: 37
Registered: September 2018
continuous participant
From: *jinr.ru
Yes, I did:
~/WORK/PandaRoot/fairsoft_may18/pandaroot_dec18/buildPanda$ . ./config.sh
System during compilation: Ubuntu 17.10
x86_64
System now : Ubuntu 17.10
x86_64

Do I need to do it everytime?
My ROOTSYS is set to /home/anna/WORK/PandaRoot/fairsoft_may18/tools/root

Cheers,
Anna
Re: cann't start [message #23619 is a reply to message #23608] Tue, 19 February 2019 12:25 Go to previous messageGo to next message
Ralf Kliemt is currently offline  Ralf Kliemt
Messages: 507
Registered: May 2007
Location: GSI, Darmstadt
first-grade participant

From: *gsi.de
Yes, you need to do that for every new shell you want to run PandaRoot in.

Cheers!
Ralf
Re: cann't start [message #23625 is a reply to message #23619] Tue, 19 February 2019 12:40 Go to previous messageGo to next message
Tobias Stockmanns is currently offline  Tobias Stockmanns
Messages: 489
Registered: May 2007
first-grade participant
From: *ikp.kfa-juelich.de
But you could put it into your bash.rc script that it is started automatically.
Re: cann't start [message #23627 is a reply to message #23625] Tue, 19 February 2019 12:48 Go to previous messageGo to next message
Anna Skachkova is currently offline  Anna Skachkova
Messages: 37
Registered: September 2018
continuous participant
From: *jinr.ru
What exactly should I put in .bashrc? Or in .profile?
I use already variables SIMPATH, ROOTSYS, CMake and FAIRROOTPATH in .profile. What else is needed?

...And the problem is still exist ...

Thank you,
Anna
Re: cann't start [message #23631 is a reply to message #23627] Tue, 19 February 2019 12:50 Go to previous messageGo to next message
Tobias Stockmanns is currently offline  Tobias Stockmanns
Messages: 489
Registered: May 2007
first-grade participant
From: *ikp.kfa-juelich.de
You can call ./config.sh from bashrc directly.
Then it will always be present and you do not need to call it whenever you start a new terimnal.

What do you mean with "the problem is still present"?

Cheers,

Tobias
Re: cann't start [message #23632 is a reply to message #23631] Tue, 19 February 2019 13:27 Go to previous message
Anna Skachkova is currently offline  Anna Skachkova
Messages: 37
Registered: September 2018
continuous participant
From: *jinr.ru
Oh, no, sorry. I now understood that I confused the terminals where .config.sh were launched. So for the moment this problem is solved.

Thanks a lot for help!
Anna
Previous Topic: Error in PandaRootdec17 installation
Next Topic: Error in PandaRoot_18p1 installation
Goto Forum:
  


Current Time: Thu Mar 28 14:04:28 CET 2024

Total time taken to generate the page: 0.00938 seconds