|Message: Error compiling GEANT4 application using G4 10.02.01 from LCG_87||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
On CentOS7 I am trying to compile the PADME simulation program using the Geant4 10.02.p02 and ROOT 6.08.02 packages from the LCG_87 release avalable on cvmfs. My environment is configured using the following commands: . /cvmfs/sft.cern.ch/lcg/releases/LCG_87/gcc/6.2.0/x86_64-centos7/setup.sh . /cvmfs/sft.cern.ch/lcg/releases/LCG_87/ROOT/6.08.02/x86_64-centos7-gcc62-opt/bin/thisroot.sh . /cvmfs/sft.cern.ch/lcg/releases/LCG_87/Geant4/10.02.p02/x86_64-centos7-gcc62-opt/bin/geant4.sh . /cvmfs/sft.cern.ch/lcg/releases/LCG_87/Geant4/10.02.p02/x86_64-centos7-gcc62-opt/share/Geant4-10.2.2/geant4make/geant4make.sh and the simulation program is compiled with a GNUmakefile which uses root-config to define ROOT-related flags and $(G4INSTALL)/config/architecture.gmk to define the overall compilation environment (I can provide the full GNUmakefile if needed). When compiling the program, in all the ROOT-related components I get a large number of errors related to a missing support for the ISO C++ 2014 standard, e.g. Compiling ECalRootIO.cc ... In file included from /cvmfs/sft.cern.ch/lcg/contrib/gcc/6.2.0native/x86_64-centos7/include/c++/6.2.0/experimental/string_view:39:0, from /cvmfs/sft.cern.ch/lcg/releases/LCG_87/ROOT/6.08.02/x86_64-centos7-gcc62-opt/include/RStringView.h:24, from /cvmfs/sft.cern.ch/lcg/releases/LCG_87/ROOT/6.08.02/x86_64-centos7-gcc62-opt/include/TString.h:41, from /cvmfs/sft.cern.ch/lcg/releases/LCG_87/ROOT/6.08.02/x86_64-centos7-gcc62-opt/include/TNamed.h:29, from /cvmfs/sft.cern.ch/lcg/releases/LCG_87/ROOT/6.08.02/x86_64-centos7-gcc62-opt/include/TDirectory.h:28, from /cvmfs/sft.cern.ch/lcg/releases/LCG_87/ROOT/6.08.02/x86_64-centos7-gcc62-opt/include/TDirectoryFile.h:25, from /cvmfs/sft.cern.ch/lcg/releases/LCG_87/ROOT/6.08.02/x86_64-centos7-gcc62-opt/include/TFile.h:26, from /home/daq/Padme/PadmeMC/include/MCVRootIO.hh:13, from include/ECalRootIO.hh:10, from src/ECalRootIO.cc:10: /cvmfs/sft.cern.ch/lcg/contrib/gcc/6.2.0native/x86_64-centos7/include/c++/6.2.0/bits/c++14_warning.h:32:2: error: #error This file requires compiler and library support for the forthcoming ISO C++ 2014 standard. This support is currently experimental, and must be enabled with the -std=c++1y or -std=gnu++1y compiler options. #error This file requires compiler and library support for the forthcoming \ ^~~~~ By looking into architecture.gmk I see that the flag G4USE_STD11 is used, which I guess is the source of the problem. Shouldn't this be G4USE_STD14? Could anybody help me in getting the correct combination of packages from cvmfs to run GEANT4 version 10 with ROOT version 6 on CentOS 7? Thank you Emanuele Leonardi
|Inline Depth:||Outline Depth:||Add message:|