GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » PANDA » PandaRoot » General » PandaRoot 12.0.0 installation fails on CentOS7 (PandaRoot 12.0.0 installation fails on CentOS7)
PandaRoot 12.0.0 installation fails on CentOS7 [message #25698] Sat, 26 June 2021 20:19 Go to next message
Mark Lattery is currently offline  Mark Lattery
Messages: 9
Registered: June 2021
occasional visitor
From: *wi.res.rr.com
Hi,

Attempt to install pandaroot 12.0.0 on CentOS7 failed.

Software combination:

fairsoft_nov20_patches (install successful)
FairRoot-v18.6 (install successful)
pandaroot v12.0.0 (install failed)

Below is sample output. (Complete output enclosed.)

Please let me know what I am doing wrong.

Sincerely,
Mark

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

///// fairroot (end of installation...)

[ ... ]

[100%] Built target ex-histo-device
[root@localhost build]# make install
-- Found Git: /usr/bin/git (found version "1.8.3.1")
-- FairRoot Version - v18.6.0 from - Mon Mar 8 10:49:58 2021 +0100
[ 0%] Built target svnheader
[ 1%] Built target FairTools
[ 2%] Built target MbsAPI

[ ... ]

-- Installing: /home/Panda/FairRoot-v18.6/install/share/fairbase/cmake/scripts/set_env. sh.in
-- Installing: /home/Panda/FairRoot-v18.6/install/share/fairbase/cmake/scripts/set_env_ macos.sh.in
-- Installing: /home/Panda/FairRoot-v18.6/install/bin/fairroot-config

[root@localhost build]# export FAIRROOTPATH=/home/Panda/FairRoot-v18.6/install

///// pandaroot

[root@localhost build]# cd /home/Panda
[root@localhost Panda]# mkdir pandaroot
[root@localhost Panda]# cd pandaroot
[root@localhost pandaroot]# git clone https://git.panda.gsi.de/PandaRootGroup/PandaRoot.git ./source
Cloning into './source'...
Username for 'https://git.panda.gsi.de': lattery@uwosh.edu
Password for 'https://lattery@uwosh.edu@git.panda.gsi.de':
remote: Enumerating objects: 10, done.
remote: Counting objects: 100% (10/10), done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 113866 (delta 1), reused 0 (delta 0), pack-reused 113856
Receiving objects: 100% (113866/113866), 1.27 GiB | 2.95 MiB/s, done.
Resolving deltas: 100% (87327/87327), done.
[root@localhost pandaroot]# cd source
[root@localhost source]# git checkout -b v12.0.0 v12.0.0
Switched to a new branch 'v12.0.0'
[root@localhost source]# mkdir ../build
[root@localhost source]# cd ../build
[root@localhost build]# cmake ../source
-- The C compiler identification is GNU 7.3.1
-- The CXX compiler identification is GNU 7.3.1
-- Check for working C compiler: /opt/rh/devtoolset-7/root/usr/bin/cc
-- Check for working C compiler: /opt/rh/devtoolset-7/root/usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /opt/rh/devtoolset-7/root/usr/bin/c++
-- Check for working CXX compiler: /opt/rh/devtoolset-7/root/usr/bin/c++ - works

[ ... ]

-- Configuring done
-- Generating done
-- Build files have been written to: /home/Panda/pandaroot/build
[root@localhost build]# make
Scanning dependencies of target vc
[ 0%] Creating directories for 'vc'
[ 0%] No download step for 'vc'
[ 0%] No patch step for 'vc'
[ 0%] No update step for 'vc'
[ 0%] Performing configure step for 'vc'
-- The C compiler identification is GNU 7.3.1
-- The CXX compiler identification is GNU 7.3.1
-- Check for working C compiler: /opt/rh/devtoolset-7/root/usr/bin/cc
-- Check for working C compiler: /opt/rh/devtoolset-7/root/usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features

[ ... ]

Scanning dependencies of target math_avx
[ 98%] Building CXX object tests/CMakeFiles/math_avx.dir/math.cpp.o
[ 98%] Linking CXX executable math_avx
[ 98%] Built target math_avx
Scanning dependencies of target math_VC_LOG_ILP_scalar
[ 98%] Building CXX object tests/CMakeFiles/math_VC_LOG_ILP_scalar.dir/math.cpp.o
[ 98%] Linking CXX executable math_VC_LOG_ILP_scalar
[ 98%] Built target math_VC_LOG_ILP_scalar
Scanning dependencies of target c++11_math_scalar
[ 98%] Building CXX object tests/CMakeFiles/c++11_math_scalar.dir/math.cpp.o
[100%] Linking CXX executable c++11_math_scalar
[100%] Built target c++11_math_scalar
Scanning dependencies of target build_tests
[100%] Built target build_tests
[ 1%] Performing install step for 'vc'
[ 5%] Built target Vc
[ 9%] Built target download-testdata
[ 9%] Built target math_VC_LOG_ILP_sse

[ ... ]

[100%] Built target c++11_math_scalar
[100%] Built target build_tests
Install the project...
-- Install configuration: "Release"
-- Installing: /home/Panda/pandaroot/build/external/vc/lib/libVc.a
-- Installing: /home/Panda/pandaroot/build/external/vc/include/Vc
-- Installing: /home/Panda/pandaroot/build/external/vc/include/Vc/Allocator

[ ... ]

[ 7%] Building CXX object field/CMakeFiles/Field.dir/PndMapPar.cxx.o
[ 7%] Building CXX object field/CMakeFiles/Field.dir/PndMultiFieldPar.cxx.o
/home/Panda/pandaroot/source/field/PndMultiFieldPar.cxx: In member function 'void PndMultiFieldPar::SetParameters(FairField*)':
/home/Panda/pandaroot/source/field/PndMultiFieldPar.cxx:44:6: warning: 'sprintf' writing a terminating nul past the end of the destination [-Wformat-overflow=]
void PndMultiFieldPar::SetParameters(FairField *field)
^~~~~~~~~~~~~~~~
/home/Panda/pandaroot/source/field/PndMultiFieldPar.cxx:77:16: note: 'sprintf' output between 2 and 12 bytes into a destination of size 1
sprintf(NO, "%d", fs->GetRegionNo());
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/home/Panda/pandaroot/source/field/PndMultiFieldPar.cxx:44:6: warning: 'sprintf' writing a terminating nul past the end of the destination [-Wformat-overflow=]
void PndMultiFieldPar::SetParameters(FairField *field)
^~~~~~~~~~~~~~~~
/home/Panda/pandaroot/source/field/PndMultiFieldPar.cxx:98:16: note: 'sprintf' output between 2 and 12 bytes into a destination of size 1
sprintf(NO, "%d", fd->GetRegionNo());
~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 8%] Building CXX object field/CMakeFiles/Field.dir/PndConstPar.cxx.o
[ 8%] Building CXX object field/CMakeFiles/Field.dir/PndMultiField.cxx.o
[ 8%] Building CXX object field/CMakeFiles/Field.dir/G__FieldDict.cxx.o
[ 8%] Linking CXX shared library ../lib/libField.so
[ 8%] Built target Field
[ 8%] Generating G__RhoDict.cxx, G__RhoDict_rdict.pcm, ../../lib/libRho.rootmap
Scanning dependencies of target Rho
[ 8%] Building CXX object analysis/rho/CMakeFiles/Rho.dir/RhoConstraints/RhoMassConstraint.cxx.o
[ 8%] Building CXX object analysis/rho/CMakeFiles/Rho.dir/RhoConstraints/RhoPointingConstraint.cxx .o
[ 8%] Building CXX object analysis/rho/CMakeFiles/Rho.dir/RhoConstraints/RhoBeamConstraint.cxx.o
[ 8%] Building CXX object analysis/rho/CMakeFiles/Rho.dir/RhoBase/RhoEventSelectorBase.cxx.o
[ 8%] Building CXX object analysis/rho/CMakeFiles/Rho.dir/RhoTools/RhoCalculationTools.cxx.o
[ 8%] Building CXX object analysis/rho/CMakeFiles/Rho.dir/RhoMath/RhoDoubleErr.cxx.o
[ 8%] Building CXX object analysis/rho/CMakeFiles/Rho.dir/RhoMath/RhoError.cxx.o
[ 8%] Building CXX object analysis/rho/CMakeFiles/Rho.dir/RhoMath/RhoLorentzVectorErr.cxx.o
[ 8%] Building CXX object analysis/rho/CMakeFiles/Rho.dir/RhoMath/RhoVector3Err.cxx.o
[ 8%] Building CXX object analysis/rho/CMakeFiles/Rho.dir/RhoBase/RhoCandidate.cxx.o
[ 8%] Building CXX object analysis/rho/CMakeFiles/Rho.dir/RhoBase/RhoCandList.cxx.o
[ 8%] Building CXX object analysis/rho/CMakeFiles/Rho.dir/RhoBase/RhoCandListIterator.cxx.o
[ 9%] Building CXX object analysis/rho/CMakeFiles/Rho.dir/RhoBase/RhoEventInfo.cxx.o
[ 9%] Building CXX object analysis/rho/CMakeFiles/Rho.dir/RhoBase/RhoFactory.cxx.o
[ 9%] Building CXX object analysis/rho/CMakeFiles/Rho.dir/RhoTools/RhoPdtLoader.cxx.o
/home/Panda/pandaroot/source/analysis/rho/RhoTools/RhoPdtLoader.cxx: In static member function 'static stringlist RhoPdtLoader::SplitString(TString, TString)':
/home/Panda/pandaroot/source/analysis/rho/RhoTools/RhoPdtLoader.cxx:34:5 : warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while (s.Contains(" "))
^~~~~
/home/Panda/pandaroot/source/analysis/rho/RhoTools/RhoPdtLoader.cxx:36:7 : note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
delim=" ";
^~~~~
[ 9%] Building CXX object analysis/rho/CMakeFiles/Rho.dir/RhoBase/RhoFitterBase.cxx.o
[ 9%] Building CXX object analysis/rho/CMakeFiles/Rho.dir/RhoBase/RhoParticleSelectorBase.cxx.o
[ 9%] Building CXX object analysis/rho/CMakeFiles/Rho.dir/RhoBase/RhoVertexSelectorBase.cxx.o
[ 9%] Building CXX object analysis/rho/CMakeFiles/Rho.dir/RhoSelector/RhoChargedParticleSelector.c xx.o
/home/Panda/pandaroot/source/analysis/rho/RhoSelector/RhoChargedParticle Selector.cxx: In member function 'virtual Bool_t RhoChargedParticleSelector::Accept(RhoCandidate&)':
/home/Panda/pandaroot/source/analysis/rho/RhoSelector/RhoChargedParticle Selector.cxx:32:10: warning: the compiler can assume that the address of 'b' will never be NULL [-Waddress]
if (&b == 0) {
~~~^~~~
/home/Panda/pandaroot/source/analysis/rho/RhoSelector/RhoChargedParticle Selector.cxx: In member function 'virtual Bool_t RhoChargedParticleSelector::Accept(PndPidCandidate&)':
/home/Panda/pandaroot/source/analysis/rho/RhoSelector/RhoChargedParticle Selector.cxx:46:10: warning: the compiler can assume that the address of 'b' will never be NULL [-Waddress]
if (&b == 0) {
~~~^~~~
/home/Panda/pandaroot/source/analysis/rho/RhoSelector/RhoChargedParticle Selector.cxx:46:3: warning: nonnull argument 'b' compared to NULL [-Wnonnull-compare]
if (&b == 0) {
^~
/home/Panda/pandaroot/source/analysis/rho/RhoSelector/RhoChargedParticle Selector.cxx: In member function 'virtual Bool_t RhoChargedParticleSelector::Accept(RhoCandidate&)':
/home/Panda/pandaroot/source/analysis/rho/RhoSelector/RhoChargedParticle Selector.cxx:32:3: warning: nonnull argument 'b' compared to NULL [-Wnonnull-compare]
if (&b == 0) {
^~
[ 9%] Building CXX object analysis/rho/CMakeFiles/Rho.dir/RhoSelector/RhoEnergyParticleSelector.cx x.o
[ 9%] Building CXX object analysis/rho/CMakeFiles/Rho.dir/RhoSelector/RhoMassParticleSelector.cxx. o
[ 9%] Building CXX object analysis/rho/CMakeFiles/Rho.dir/RhoSelector/RhoMinusParticleSelector.cxx .o
[ 9%] Building CXX object analysis/rho/CMakeFiles/Rho.dir/RhoSelector/RhoMomentumParticleSelector. cxx.o
[ 9%] Building CXX object analysis/rho/CMakeFiles/Rho.dir/RhoSelector/RhoNeutralParticleSelector.c xx.o
[ 9%] Building CXX object analysis/rho/CMakeFiles/Rho.dir/RhoSelector/RhoPlusParticleSelector.cxx. o
[ 9%] Building CXX object analysis/rho/CMakeFiles/Rho.dir/RhoSelector/RhoSimpleElectronSelector.cx x.o
[ 9%] Building CXX object analysis/rho/CMakeFiles/Rho.dir/RhoSelector/RhoSimpleKaonSelector.cxx.o
[ 9%] Building CXX object analysis/rho/CMakeFiles/Rho.dir/RhoSelector/RhoSimpleMuonSelector.cxx.o
[ 10%] Building CXX object analysis/rho/CMakeFiles/Rho.dir/RhoSelector/RhoSimplePionSelector.cxx.o
[ 10%] Building CXX object analysis/rho/CMakeFiles/Rho.dir/RhoSelector/RhoSimpleProtonSelector.cxx. o
[ 10%] Building CXX object analysis/rho/CMakeFiles/Rho.dir/RhoSelector/RhoSimpleVertexSelector.cxx. o
/home/Panda/pandaroot/source/analysis/rho/RhoSelector/RhoSimpleVertexSel ector.cxx: In member function 'virtual Bool_t RhoSimpleVertexSelector::Accept(RhoCandidate&, RhoCandidate&)':
/home/Panda/pandaroot/source/analysis/rho/RhoSelector/RhoSimpleVertexSel ector.cxx:46:10: warning: the compiler can assume that the address of 'a' will never be NULL [-Waddress]
if (&a == 0 || &b == 0) {
~~~^~~~
[ ...]

/home/Panda/pandaroot/source/macro/run/sim_complete.C:74:3: error: unknown type name 'FairDetector'
FairDetector *SciT = new PndSciT("SCIT", kTRUE);
^
/home/Panda/pandaroot/source/macro/run/sim_complete.C:74:28: error: unknown type name 'PndSciT'
FairDetector *SciT = new PndSciT("SCIT", kTRUE);
^
/home/Panda/pandaroot/source/macro/run/sim_complete.C:78:3: error: unknown type name 'PndDrc'
PndDrc *Drc = new PndDrc("DIRC", kTRUE);
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]






Re: PandaRoot 12.0.0 installation fails on CentOS7 [message #25711 is a reply to message #25698] Sun, 27 June 2021 21:51 Go to previous messageGo to next message
Mark Lattery is currently offline  Mark Lattery
Messages: 9
Registered: June 2021
occasional visitor
From: *wi.res.rr.com
Just an update:

After trying numerous combination of software, the only one that worked for me on Cent OS7 was:

fairsoft_nov20_patches
FairRoot-v18.6
PandaRoot v12.0.2

However, the event generator/simulation software does not seem to be working. See sample output below. (Complete output is enclosed.)

Still, I was able to copy simulation *.root files from a computer with an older version of the software and the analysis code seems to be working.

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

[mlattery@localhost rho]$ root -l -b -q 'tut_sim.C(100)'

Processing tut_sim.C(100)...
In file included from input_line_11:1:
/home/Panda/pandaroot/source/tutorials/rho/tut_sim.C:10:10: fatal error: 'FairFilteredPrimaryGenerator.h' file not found
#include <FairFilteredPrimaryGenerator.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Warning in <TInterpreter::TCling::RegisterModule>: Problems in compiling forward declarations for module G__FairTools: '
#line 1 "G__FairTools dictionary forward declarations' payload"
#pragma clang diagnostic ignored "-Wkeyword-compat"
#pragma clang diagnostic ignored "-Wignored-attributes"
#pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
extern int __Cling_AutoLoading_Map;
class FairLogger;
class FairMonitor;
class FairSystemInfo;
'
Warning in <TInterpreter::TCling::RegisterModule>: Problems in compiling forward declarations for module G__ParBase: '
#line 1 "G__ParBase dictionary forward declarations' payload"
#pragma clang diagnostic ignored "-Wkeyword-compat"
#pragma clang diagnostic ignored "-Wignored-attributes"
#pragma clang diagnostic ignored "-Wreturn-type-c-linkage"
extern int __Cling_AutoLoading_Map;
class __attribute__((annotate(R"ATTRDUMP(class for list elements in class FairContFact)ATTRDUMP"))) __attribute__((annotate(R"ATTRDUMP(class for list elements in class FairContFact)ATTRDUMP"))) __attribute__((annotate(R"ATTRDUMP(class for list elements in class FairContFact)ATTRDUMP"))) __attribute__((annotate(R"ATTRDUMP(class for list elements in class FairContFact)ATTRDUMP"))) FairContainer;
class __attribute__((annotate(R"ATTRDUMP(base class of all factories for parameter containers)ATTRDUMP"))) __attribute__((annotate(R"ATTRDUMP(base class of all factories for parameter containers)ATTRDUMP"))) __attribute__((annotate(R"ATTRDUMP(base class of all factories for parameter containers)ATTRDUMP"))) __attribute__((annotate(R"ATTRDUMP(base class of all factories for parameter containers)ATTRDUMP"))) FairContFact;
class __attribute__((annotate(R"ATTRDUMP(Base class for detector parameter IO)ATTRDUMP"))) __attribute__((annotate(R"ATTRDUMP(Base class for detector parameter IO)ATTRDUMP"))) __attribute__((annotate(R"ATTRDUMP(Base class for detector parameter IO)ATTRDUMP"))) __attribute__((annotate(R"ATTRDUMP(Base class for detector parameter IO)ATTRDUMP"))) __attribute__((annotate("$clingAutoload$FairDetParIo.h"))) FairDetParIo;
class __attribute__((annotate(R"ATTRDUMP(Class for detector parameter I/O from ascii file)ATTRDUMP"))) __attribute__((annotate(R"ATTRDUMP(Class for detector parameter I/O from ascii file)ATTRDUMP"))) __attribute__((annotate(R"ATTRDUMP(Class for detector parameter I/O from ascii file)ATTRDUMP"))) __attribute__((annotate(R"ATTRDUMP(Class for detector parameter I/O from ascii file)ATTRDUMP"))) FairDetParAsciiFileIo;
class __attribute__((annotate(R"ATTRDUMP(detector base class for parameter I/O from ROOT file)ATTRDUMP"))) __attribute__((annotate(R"ATTRDUMP(detector base class for parameter I/O from ROOT file)ATTRDUMP"))) __attribute__((annotate(R"ATTRDUMP(detector base class for parameter I/O from ROOT file)ATTRDUMP"))) __attribute__((annotate(R"ATTRDUMP(detector base class for parameter I/O from ROOT file)ATTRDUMP"))) FairDetParRootFileIo;
class __attribute__((annotate(R"ATTRDUMP(I/O from Ascii file for parameter containers derived from FairParGenericSet)ATTRDUMP"))) FairGenericParAsciiFileIo;
class __attribute__((annotate(R"ATTRDUMP(I/O from ROOT file for parameter containers derived from FairParGenericSet)ATTRDUMP"))) FairGenericParRootFileIo;
class FairParamObj;
class FairParamList;
class __attribute__((annotate(R"ATTRDUMP(Base class for all parameter I/Os)ATTRDUMP"))) __attribute__((annotate(R"ATTRDUMP(Base class for all parameter I/Os)ATTRDUMP"))) __attribute__((annotate(R"ATTRDUMP(Base class for all parameter I/Os)ATTRDUMP"))) __attribute__((annotate(R"ATTRDUMP(Base class for all parameter I/Os)ATTRDUMP"))) __attribute__((annotate("$clingAutoload$FairParIo.h"))) FairParIo;
class __attribute__((annotate(R"ATTRDUMP(Parameter I/O from ASCII files)ATTRDUMP"))) __attribute__((annotate(R"ATTRDUMP(Parameter I/O from ASCII files)ATTRDUMP"))) __attribute__((annotate(R"ATTRDUMP(Parameter I/O from ASCII files)ATTRDUMP"))) __attribute__((annotate(R"ATTRDUMP(Parameter I/O from ASCII files)ATTRDUMP"))) FairParAsciiFileIo;
class __attribute__((annotate(R"ATTRDUMP(Base class for all parameter containers)ATTRDUMP"))) __attribute__((annotate(R"ATTRDUMP(Base class for all parameter containers)ATTRDUMP"))) __attribute__((annotate(R"ATTRDUMP(Base class for all parameter containers)ATTRDUMP"))) __attribute__((annotate(R"ATTRDUMP(Base class for all parameter containers)ATTRDUMP"))) __attribute__((annotate("$clingAutoload$FairParSet.h"))) FairParSet;
class __attribute__((annotate(R"ATTRDUMP(Base class for generic-style parameter containers)ATTRDUMP"))) __attribute__((annotate(R"ATTRDUMP(Base class for generic-style parameter containers)ATTRDUMP"))) __attribute__((annotate(R"ATTRDUMP(Base class for generic-style parameter containers)ATTRDUMP"))) __attribute__((annotate(R"ATTRDUMP(Base class for generic-style parameter containers)ATTRDUMP"))) FairParGenericSet;

[...]



Re: PandaRoot 12.0.0 installation fails on CentOS7 [message #25717 is a reply to message #25698] Mon, 28 June 2021 08:52 Go to previous message
Tobias Stockmanns is currently offline  Tobias Stockmanns
Messages: 489
Registered: May 2007
first-grade participant
From: *nc.de
Dear Mark,
here we have the problem with the additional #include <FairFilteredPrimaryGenerator.h> in tut_sim.C.

Remove it and try it again.

Cheers,

Tobias
Previous Topic: PandaRoot test failed on CentOS7
Next Topic: Hera end-of-life, transfer to Nyx
Goto Forum:
  


Current Time: Tue Dec 10 19:21:28 CET 2024

Total time taken to generate the page: 0.00910 seconds