GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » crash pandaroot compilation at pro.hpc.gsi.de cluster
crash pandaroot compilation at pro.hpc.gsi.de cluster [message #18749] Tue, 24 November 2015 11:12 Go to next message
Aida Galoyan is currently offline  Aida Galoyan
Messages: 79
Registered: May 2007
Location: Dubna
continuous participant
From: *jinr.ru
Hi all,

I can not install PandaRoot in my account at pro.hpc.gsi.de cluster using external packages jul15p2.
When I give commands according to Florian advice:
---------------------------------------------------
module use /cvmfs/it.gsi.de/modulefiles/
module load compiler/gcc/4.8.4

export CXX=g++

export SIMPATH=/cvmfs/fairroot.gsi.de/gcc_4.8.4/fairsoft/jul15p2

export FAIRROOTPATH=/cvmfs/fairroot.gsi.de/gcc_4.8.4/fairroot/v-15.07_fairsoft- jul15p2

svn co https://subversion.gsi.de/fairroot/pandaroot/trunk pandaroot

mkdir cbuild

cd cbuild

cmake -DUSE_PATH_INFO=TRUE ../pandaroot

. ./config.sh

-----------------------------------------------
These are working normal.

But

> make

gives folowing error:
--------------------------------------------------------

Scanning dependencies of target EvtGen_exe_pandaEvtGen
[ 35%] Building CXX object pgenerators/EvtGen/Standalone/CMakeFiles/EvtGen_exe_pandaEvtGen.dir/pand aEvtGen.cc.o
Linking CXX executable ../../../bin/pandaEvtGen
/cvmfs/fairroot.gsi.de/gcc_4.8.4/fairsoft/jul15p2/lib/libpythia8.so: undefined reference to `evolvepdfm_'
/cvmfs/fairroot.gsi.de/gcc_4.8.4/fairsoft/jul15p2/lib/libpythia8.so: undefined reference to `initpdfm_'
/cvmfs/fairroot.gsi.de/gcc_4.8.4/fairsoft/jul15p2/lib/libpythia8.so: undefined reference to `setlhaparm_'
/cvmfs/fairroot.gsi.de/gcc_4.8.4/fairsoft/jul15p2/lib/libpythia8.so: undefined reference to `initpdfsetbynamem_'
/cvmfs/fairroot.gsi.de/gcc_4.8.4/fairsoft/jul15p2/lib/libpythia8.so: undefined reference to `initpdfsetm_'
/cvmfs/fairroot.gsi.de/gcc_4.8.4/fairsoft/jul15p2/lib/libpythia8.so: undefined reference to `evolvepdfphotonm_'
collect2: error: ld returned 1 exit status
make[2]: *** [bin/pandaEvtGen] Error 1
make[1]: *** [pgenerators/EvtGen/Standalone/CMakeFiles/EvtGen_exe_pandaEvtGen.dir/all ] Error 2
make: *** [all] Error 2

------------------------------------------------------

How to remove this error? May be I omit something?

Best regards,
Aida
Re: crash pandaroot compilation at pro.hpc.gsi.de cluster [message #18750 is a reply to message #18749] Tue, 24 November 2015 11:19 Go to previous messageGo to next message
Radoslaw Karabowicz is currently offline  Radoslaw Karabowicz
Messages: 108
Registered: June 2004
Location: GSI
continuous participant
From: *gsi.de
Which pandaroot version are you trying to install?
Re: crash pandaroot compilation at pro.hpc.gsi.de cluster [message #18751 is a reply to message #18750] Tue, 24 November 2015 11: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
Hi Radek,

I get the same. rev.28739 is fine, rev.28740 does produce that error.

Be warned, rev.28741 introduces another issue, coincidentally in EvtGen, too.

Ralf
Re: crash pandaroot compilation at pro.hpc.gsi.de cluster [message #18752 is a reply to message #18751] Tue, 24 November 2015 11:28 Go to previous messageGo to next message
Radoslaw Karabowicz is currently offline  Radoslaw Karabowicz
Messages: 108
Registered: June 2004
Location: GSI
continuous participant
From: *gsi.de
Hi Ralf,

Can you try changing:

set(PYTHIALIBLIST pythia8)

to

set(PYTHIALIBLIST pythia8 lhapdfdummy)

in

pandaroot/trunk/pgenerators/EvtGen/CMakeLists.txt

?

Re: crash pandaroot compilation at pro.hpc.gsi.de cluster [message #18753 is a reply to message #18752] Tue, 24 November 2015 11:32 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, this does the trick.

Ralf
Re: crash pandaroot compilation at pro.hpc.gsi.de cluster [message #18754 is a reply to message #18752] Tue, 24 November 2015 11:43 Go to previous messageGo to next message
Radoslaw Karabowicz is currently offline  Radoslaw Karabowicz
Messages: 108
Registered: June 2004
Location: GSI
continuous participant
From: *gsi.de
From what I see, in the previous versions of Pythia8, this library was generated.
In the recent one, it is missing... I will find a way to fix it.
Re: crash pandaroot compilation at pro.hpc.gsi.de cluster [message #18755 is a reply to message #18750] Tue, 24 November 2015 11:45 Go to previous messageGo to next message
Aida Galoyan is currently offline  Aida Galoyan
Messages: 79
Registered: May 2007
Location: Dubna
continuous participant
From: *jinr.ru
Hi Radek,

I installed last version: 28741
Re: crash pandaroot compilation at pro.hpc.gsi.de cluster [message #18756 is a reply to message #18754] Tue, 24 November 2015 11:46 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
Radoslaw Karabowicz wrote on Tue, 24 November 2015 11:43
From what I see, in the previous versions of Pythia8, this library was generated.
In the recent one, it is missing... I will find a way to fix it.

Actually I just did it locally. When I revisited the changes I made to compile EvtGen, I'll upload the library fix, too.

Cheers!
Ralf

[Updated on: Tue, 24 November 2015 11:46]

Report message to a moderator

Re: crash pandaroot compilation at pro.hpc.gsi.de cluster [message #18758 is a reply to message #18756] Tue, 24 November 2015 12:02 Go to previous messageGo to next message
Aida Galoyan is currently offline  Aida Galoyan
Messages: 79
Registered: May 2007
Location: Dubna
continuous participant
From: *jinr.ru

Hi again,

Please write, what I have to do now for compilation?
I have not understood from your discussion.

Aida
Re: crash pandaroot compilation at pro.hpc.gsi.de cluster [message #18759 is a reply to message #18758] Tue, 24 November 2015 12:03 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
Hi Aida,

You may simply update pandaroot. Rev.28742 is fine, again.


Ralf
Re: crash pandaroot compilation at pro.hpc.gsi.de cluster [message #18760 is a reply to message #18756] Tue, 24 November 2015 12:28 Go to previous messageGo to next message
Aida Galoyan is currently offline  Aida Galoyan
Messages: 79
Registered: May 2007
Location: Dubna
continuous participant
From: *jinr.ru

Hi Ralf,

As you write, I have given:
>svn update pandaroot

pandaroot was updated.

after this I give commans:

> cd cbuild
> cmake -DUSE_PATH_INFO=TRUE ../pandaroot
> make

Again, compilation gives error:
----------------------------------------------------
[ 14%] Built target PhotosCxxInterface
[ 14%] Building CXX object pgenerators/EvtGen/EvtGen/CMakeFiles/EvtGen.dir/Private/EvtPP_X_PsiRho_a mp.cpp.o
In file included from /u/galoyan/pandaroot_dec15/pandaroot/pgenerators/EvtGen/EvtGen/Private/E vtPP_X_PsiRho_amp.cpp:8:0:
/u/galoyan/pandaroot_dec15/pandaroot/pgenerators/EvtGen/EvtGen/Private/E vtGenModels/EvtPP_X_PsiRho_amp.hh:55:30: error: 'constexpr' needed for in-class initialization of static data member 'const double EvtPP_X_PsiRho_amp::fRho' of non-integral type [-fpermissive]
static const double fRho=0.0070, fOmega=0.036, g=0.3, ef=-11.0e-3;
^
/u/galoyan/pandaroot_dec15/pandaroot/pgenerators/EvtGen/EvtGen/Private/E vtGenModels/EvtPP_X_PsiRho_amp.hh:55:45: error: 'constexpr' needed for in-class initialization of static data member 'const double EvtPP_X_PsiRho_amp::fOmega' of non-integral type [-fpermissive]
static const double fRho=0.0070, fOmega=0.036, g=0.3, ef=-11.0e-3;
^
/u/galoyan/pandaroot_dec15/pandaroot/pgenerators/EvtGen/EvtGen/Private/E vtGenModels/EvtPP_X_PsiRho_amp.hh:55:54: error: 'constexpr' needed for in-class initialization of static data member 'const double EvtPP_X_PsiRho_amp::g' of non-integral type [-fpermissive]
static const double fRho=0.0070, fOmega=0.036, g=0.3, ef=-11.0e-3;
^
/u/galoyan/pandaroot_dec15/pandaroot/pgenerators/EvtGen/EvtGen/Private/E vtGenModels/EvtPP_X_PsiRho_amp.hh:55:63: error: 'constexpr' needed for in-class initialization of static data member 'const double EvtPP_X_PsiRho_amp::ef' of non-integral type [-fpermissive]
static const double fRho=0.0070, fOmega=0.036, g=0.3, ef=-11.0e-3;
^
/u/galoyan/pandaroot_dec15/pandaroot/pgenerators/EvtGen/EvtGen/Private/E vtGenModels/EvtPP_X_PsiRho_amp.hh:57:30: error: 'constexpr' needed for in-class initialization of static data member 'const double EvtPP_X_PsiRho_amp::mPsi' of non-integral type [-fpermissive]
static const double mPsi=3.097, mRho=775e-3, mOmega=782e-3,
^
/u/galoyan/pandaroot_dec15/pandaroot/pgenerators/EvtGen/EvtGen/Private/E vtGenModels/EvtPP_X_PsiRho_amp.hh:57:42: error: 'constexpr' needed for in-class initialization of static data member 'const double EvtPP_X_PsiRho_amp::mRho' of non-integral type [-fpermissive]
static const double mPsi=3.097, mRho=775e-3, mOmega=782e-3,
^
/u/galoyan/pandaroot_dec15/pandaroot/pgenerators/EvtGen/EvtGen/Private/E vtGenModels/EvtPP_X_PsiRho_amp.hh:57:57: error: 'constexpr' needed for in-class initialization of static data member 'const double EvtPP_X_PsiRho_amp::mOmega' of non-integral type [-fpermissive]
static const double mPsi=3.097, mRho=775e-3, mOmega=782e-3,
^
/u/galoyan/pandaroot_dec15/pandaroot/pgenerators/EvtGen/EvtGen/Private/E vtGenModels/EvtPP_X_PsiRho_amp.hh:58:9: error: 'constexpr' needed for in-class initialization of static data member 'const double EvtPP_X_PsiRho_amp::mD0' of non-integral type [-fpermissive]
mD0=1864.84e-3, mD0star=2006.96e-3, mDch=1869.61e-3, mDchstar=2010.26e-3,
^
/u/galoyan/pandaroot_dec15/pandaroot/pgenerators/EvtGen/EvtGen/Private/E vtGenModels/EvtPP_X_PsiRho_amp.hh:58:29: error: 'constexpr' needed for in-class initialization of static data member 'const double EvtPP_X_PsiRho_amp::mD0star' of non-integral type [-fpermissive]
mD0=1864.84e-3, mD0star=2006.96e-3, mDch=1869.61e-3, mDchstar=2010.26e-3,
^
/u/galoyan/pandaroot_dec15/pandaroot/pgenerators/EvtGen/EvtGen/Private/E vtGenModels/EvtPP_X_PsiRho_amp.hh:58:46: error: 'constexpr' needed for in-class initialization of static data member 'const double EvtPP_X_PsiRho_amp::mDch' of non-integral type [-fpermissive]
mD0=1864.84e-3, mD0star=2006.96e-3, mDch=1869.61e-3, mDchstar=2010.26e-3,
^
/u/galoyan/pandaroot_dec15/pandaroot/pgenerators/EvtGen/EvtGen/Private/E vtGenModels/EvtPP_X_PsiRho_amp.hh:58:67: error: 'constexpr' needed for in-class initialization of static data member 'const double EvtPP_X_PsiRho_amp::mDchstar' of non-integral type [-fpermissive]
mD0=1864.84e-3, mD0star=2006.96e-3, mDch=1869.61e-3, mDchstar=2010.26e-3,
^
/u/galoyan/pandaroot_dec15/pandaroot/pgenerators/EvtGen/EvtGen/Private/E vtGenModels/EvtPP_X_PsiRho_amp.hh:59:9: error: 'constexpr' needed for in-class initialization of static data member 'const double EvtPP_X_PsiRho_amp::mPi' of non-integral type [-fpermissive]
mPi=0.140, mp=0.938;
^
/u/galoyan/pandaroot_dec15/pandaroot/pgenerators/EvtGen/EvtGen/Private/E vtGenModels/EvtPP_X_PsiRho_amp.hh:59:19: error: 'constexpr' needed for in-class initialization of static data member 'const double EvtPP_X_PsiRho_amp::mp' of non-integral type [-fpermissive]
mPi=0.140, mp=0.938;
^
/u/galoyan/pandaroot_dec15/pandaroot/pgenerators/EvtGen/EvtGen/Private/E vtGenModels/EvtPP_X_PsiRho_amp.hh:62:30: error: 'constexpr' needed for in-class initialization of static data member 'const double EvtPP_X_PsiRho_amp::gRho' of non-integral type [-fpermissive]
static const double gRho=147.8e-3, gOmega=8.5e-3;
^
/u/galoyan/pandaroot_dec15/pandaroot/pgenerators/EvtGen/EvtGen/Private/E vtGenModels/EvtPP_X_PsiRho_amp.hh:62:47: error: 'constexpr' needed for in-class initialization of static data member 'const double EvtPP_X_PsiRho_amp::gOmega' of non-integral type [-fpermissive]
static const double gRho=147.8e-3, gOmega=8.5e-3;
^
make[2]: *** [pgenerators/EvtGen/EvtGen/CMakeFiles/EvtGen.dir/Private/EvtPP_X_PsiRho_ amp.cpp.o] Error 1
make[1]: *** [pgenerators/EvtGen/EvtGen/CMakeFiles/EvtGen.dir/all] Error 2
make: *** [all] Error 2

----------------------------------------

May be, I do something false?

Aida
Re: crash pandaroot compilation at pro.hpc.gsi.de cluster [message #18761 is a reply to message #18749] Tue, 24 November 2015 13:09 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
Hi Aida,

No, it's not you, it's different compilers. I'll clean it up even more.

Ralf
Re: crash pandaroot compilation at pro.hpc.gsi.de cluster [message #18762 is a reply to message #18749] Tue, 24 November 2015 13:23 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
Hi Aida,

Now even old compilers should understand the code.
Rev.28743.

Cheers!
Ralf

[Updated on: Tue, 24 November 2015 13:23]

Report message to a moderator

Re: crash pandaroot compilation at pro.hpc.gsi.de cluster [message #18763 is a reply to message #18759] Tue, 24 November 2015 14:18 Go to previous messageGo to next message
Aida Galoyan is currently offline  Aida Galoyan
Messages: 79
Registered: May 2007
Location: Dubna
continuous participant
From: *jinr.ru
Hi Ralf,

I checkout last version 28743.
Again

> make

gives error:
----------------------------------------------
[ 29%] Building CXX object pgenerators/EvtGen/EvtGen/CMakeFiles/EvtGen.dir/R01-03-00/src/EvtGenMode ls/EvtEta2MuMuGamma.cpp.o
In file included from /u/galoyan/pandaroot_nov15/pandaroot/pgenerators/EvtGen/EvtGen/R01-03-00 /EvtGenModels/EvtD0gammaDalitz.hh:17:0,
from /u/galoyan/pandaroot_nov15/pandaroot/pgenerators/EvtGen/EvtGen/R01-03-00 /src/EvtGenModels/EvtD0gammaDalitz.cpp:23:
/u/galoyan/pandaroot_nov15/pandaroot/pgenerators/EvtGen/EvtGen/R01-03-00 /EvtGenBase/EvtFlatte.hh: In constructor 'EvtFlatteParam::EvtFlatteParam(double, double, double)':
/u/galoyan/pandaroot_nov15/pandaroot/pgenerators/EvtGen/EvtGen/R01-03-00 /EvtGenBase/EvtFlatte.hh:35:49: warning: declaration of 'g' shadows a member of 'this' [-Wshadow]
EvtFlatteParam(double m1, double m2, double g):
^
/u/galoyan/pandaroot_nov15/pandaroot/pgenerators/EvtGen/EvtGen/R01-03-00 /EvtGenBase/EvtFlatte.hh:35:49: warning: declaration of 'm2' shadows a member of 'this' [-Wshadow]
/u/galoyan/pandaroot_nov15/pandaroot/pgenerators/EvtGen/EvtGen/R01-03-00 /EvtGenBase/EvtFlatte.hh:35:49: warning: declaration of 'm1' shadows a member of 'this' [-Wshadow]

[ 29%] Building CXX object pgenerators/EvtGen/EvtGen/CMakeFiles/EvtGen.dir/R01-03-00/src/EvtGenMode ls/EvtBCVFF.cpp.o
[ 29%] Building CXX object pgenerators/EvtGen/EvtGen/CMakeFiles/EvtGen.dir/R01-03-00/src/EvtGenMode ls/EvtWnPi.cpp.o
Linking CXX shared library ../../../lib/libEvtGen.so
[ 29%] Built target EvtGen
make: *** [all] Error 2
--------------------------------------

What to do? I can not understand where is mistake or bug.
Aida
Re: crash pandaroot compilation at pro.hpc.gsi.de cluster [message #18764 is a reply to message #18763] Tue, 24 November 2015 14:31 Go to previous messageGo to next message
StefanoSpataro is currently offline  StefanoSpataro
Messages: 2736
Registered: June 2005
Location: Torino
first-grade participant

From: *to.infn.it
Can you please attach the complete log once you type make?
Re: crash pandaroot compilation at pro.hpc.gsi.de cluster [message #18771 is a reply to message #18764] Tue, 24 November 2015 16:31 Go to previous messageGo to next message
Aida Galoyan is currently offline  Aida Galoyan
Messages: 79
Registered: May 2007
Location: Dubna
continuous participant
From: *jinr.ru
Hello Stefano,

Now, after
> make

I have obtained something other error. The full text is

------------------------------------------------------
[ 0%] Generating G__PassiveDict.cxx
[ 0%] [ 1%] [ 1%] Built target libPassive.rootmap
[ 1%] Built target libPndData.rootmap
Built target libgeneralTools.rootmap
Built target libbuffers.rootmap
[ 1%] -- Found Git: /usr/bin/git (found version "1.7.2.5")
Generating G__FieldDict.cxx
[ 1%] [ 1%] Built target libField.rootmap
Built target svnheader
[ 1%] Built target DpmEvtGen
[ 1%] [ 1%] [ 1%] Built target libPGen.rootmap
Built target libFtfGenDirect.rootmap
Generating G__PndDataDict.cxx
[ 1%] [ 1%] Built target libEvtGenDirect.rootmap
Built target PhotosFortran
[ 1%] [ 1%] [ 1%] Built target FtfEvtGen
Generating FlukaResultsDict.cxx, FlukaResultsDict.h
Generating PndEMFFGENDict.cxx, PndEMFFGENDict.h
/cvmfs/fairroot.gsi.de/gcc_4.8.4/fairsoft/jul15p2/bin/rootcint: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /cvmfs/fairroot.gsi.de/gcc_4.8.4/fairsoft/jul15p2/bin/rootcint)
/cvmfs/fairroot.gsi.de/gcc_4.8.4/fairsoft/jul15p2/bin/rootcint: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /cvmfs/fairroot.gsi.de/gcc_4.8.4/fairsoft/jul15p2/lib/root/libCint.so.5)
/cvmfs/fairroot.gsi.de/gcc_4.8.4/fairsoft/jul15p2/bin/rootcint: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /cvmfs/fairroot.gsi.de/gcc_4.8.4/fairsoft/jul15p2/bin/rootcint)
/cvmfs/fairroot.gsi.de/gcc_4.8.4/fairsoft/jul15p2/bin/rootcint: /usr/lib/libstdc++.so.6: version `GLIBCXX_3.4.15' not found (required by /cvmfs/fairroot.gsi.de/gcc_4.8.4/fairsoft/jul15p2/lib/root/libCint.so.5)
make[2]: *** [pgenerators/PndFlukaGen/FlukaResultsDict.cxx] Error 1
make[2]: *** [pgenerators/EMFFgenerators/PndEMFFGENDict.cxx] Error 1
make[1]: *** [pgenerators/PndFlukaGen/CMakeFiles/FlukaResults.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [pgenerators/EMFFgenerators/CMakeFiles/EMFFGEN.dir/all] Error 2
[ 1%] Built target libStt.rootmap
[ 21%] Built target EvtGen
Scanning dependencies of target Passive
Scanning dependencies of target Field
[ 21%] Building CXX object passive/CMakeFiles/Passive.dir/G__PassiveDict.cxx.o
[ 21%] Building CXX object field/CMakeFiles/Field.dir/G__FieldDict.cxx.o
Linking CXX shared library ../lib/libPassive.so
[ 22%] Built target Passive
Linking CXX shared library ../lib/libField.so
Scanning dependencies of target PndData
[ 24%] Built target Field
[ 24%] Building CXX object pnddata/CMakeFiles/PndData.dir/G__PndDataDict.cxx.o
Linking CXX shared library ../lib/libPndData.so
[ 29%] Built target PndData
make: *** [all] Error 2

--------------------------------------------------------


May be, the reason of the error is in the following line


-----------------------------------------------------------
version `GLIBCXX_3.4.15' not found (required by /cvmfs/fairroot.gsi.de/gcc_4.8.4/fairsoft/jul15p2/lib/root
------------------------------------------------------------

Aida
Re: crash pandaroot compilation at pro.hpc.gsi.de cluster [message #18772 is a reply to message #18771] Tue, 24 November 2015 16:33 Go to previous message
Florian Uhlig is currently offline  Florian Uhlig
Messages: 424
Registered: May 2007
first-grade participant
From: *gsi.de
you missed to set the compiler correctly.

module use /cvmfs/it.gsi.de/modulefiles
module load compiler/gcc/4.8.4
export CXX=g++

Previous Topic: How to check PandaRoot version
Next Topic: Downtim lxsub 2.-3.12.
Goto Forum:
  


Current Time: Sat Nov 23 23:25:59 CET 2024

Total time taken to generate the page: 0.00785 seconds