Giter Site home page Giter Site logo

fairrootgroup / fairsoft Goto Github PK

View Code? Open in Web Editor NEW
14.0 14.0 61.0 19.26 MB

Repository for installation routines of the external software required by FairRoot

License: GNU Lesser General Public License v3.0

Shell 12.75% CMake 15.34% C 0.24% Python 71.67%

fairsoft's People

Contributors

anaderi avatar andreylebedev avatar christiantackegsi avatar dennisklein avatar fuhlig1 avatar gartung avatar karabowi avatar klenze avatar kouzinopoulos avatar kresan avatar laurentaudouin avatar matthiasrichter avatar mohammadalturany avatar pmunkes avatar rbx avatar sbinet avatar sergey-inform avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fairsoft's Issues

missing dep on centos:7

hi,

compiling fair-soft (8fee618) within the standard docker centos:7 image fails at the cmake stage because which is missing.

please add it to the DEPENDENCIES page.

thx,
-s

Device does not terminate properly

Just made an observation when playing with the examples in examples/MQ/6-multiple-channels

If just one device is started like e.g.

bin/ex6-sink --id sink1 --mq-config config/ex6-multiple-channels.json

it does not terminate properly on CTRL-C or 'q'. The only way is to use kill command and process id.

Happens for the sampler in similar way. Both devices terminate properly if they communication has been established and data is sent and received.

Geant4 Cmake error with FairSoft on OSX Yosemite..again

Greetings,
Sorry to repost this, but the dev branch worked on one computer, but not another running the same OSX and Xcode.

The Geant4 part of the build is failing.

CMake Error at cmake/Modules/Geant4MacroUtilities.cmake:125 (message):
Value 'c++11' for variable GEANT4_BUILD_CXXSTD is not allowed

It must be selected from the set: c++98 (DEFAULT: c++98)

Boost libraries are not found when compiling DDS (may18p1)

FairSoft version: may18p1
System: macOS 10.14.4
cmake version: 3.14.1

Error message:

*** Compiling DDS ................ 
HEAD is now at 181b66a Do not create symlinks, if target and link are equal
loading initial cache file ../BuildSetup.cmake
-- Building DDS version: 2.1.1.g181b66a
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 
CMake Error at /usr/local/Cellar/cmake/3.14.1/share/cmake/Modules/FindBoost.cmake:2132 (message):
  Unable to find the requested Boost libraries.

  Boost version: 1.67.0

  Boost include path: /Users/kresan/FairSoft/may18p1/build/include

  Could not find the following Boost libraries:

          boost_log_setup
          boost_thread

  Some (but not all) of the required Boost libraries were found.  You may
  need to install these additional Boost libraries.  Alternatively, set
  BOOST_LIBRARYDIR to the directory containing Boost libraries or BOOST_ROOT
  to the location of Boost.
Call Stack (most recent call first):
  CMakeLists.txt:197 (find_package)

Xercesc location moved

Hi,

Xercesc has seen a new release (3.1.3), which results in the version 3.1.2 archives not being available at the location the install script expects (as defined by the package_versions.sh).

The version expected is available in the Apache archives at: https://archive.apache.org/dist/xerces/c/3/sources/xerces-c-3.1.2.tar.gz

As a workaround until this is fixed, downloading the package manually and placing it in FairSoft/basics satisfied the install script.

Cheers

FairSoft Installation Fails on OSX Mojave

Dear FairSoft Experts,
for me the installation of FairSoft fails on the newly updated OSX Mojave.
At the beginning I had to install openssl via brew and set the OPENSSL_ROOT_DIR otherwise the cmake configuration was not working.
After that the installation of Geant4OptionalComponents fails with the following error message:

*** Compiling Geant4-lib ................
*** Package Geant4-build is OK ***
CMake Error at cmake/Modules/Geant4OptionalComponents.cmake:121 (if):
  if given arguments:

    "VERSION_LESS" "2.0.1"

  Unknown arguments specified
Call Stack (most recent call first):
  cmake/Modules/G4CMakeMain.cmake:59 (include)
  CMakeLists.txt:56 (include)


-- Configuring incomplete, errors occurred!
See also "/Users/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4/build/CMakeFiles/CMakeOutput.log".
See also "/Users/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4/build/CMakeFiles/CMakeError.log".
CMake Error at cmake/Modules/Geant4OptionalComponents.cmake:121 (if):
  if given arguments:

    "VERSION_LESS" "2.0.1"

  Unknown arguments specified
Call Stack (most recent call first):
  cmake/Modules/G4CMakeMain.cmake:59 (include)
  CMakeLists.txt:56 (include)


-- Configuring incomplete, errors occurred!
See also "/Users/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4/build/CMakeFiles/CMakeOutput.log".
See also "/Users/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4/build/CMakeFiles/CMakeError.log".
make: *** [cmake_check_build_system] Error 1
ln: /Users/tstockmanns/PandaSoftware/FairSoft/dev/build/share/Geant4/data/G4ABLA: No such file or directory
ln: /Users/tstockmanns/PandaSoftware/FairSoft/dev/build/share/Geant4/data/G4EMLOW: No such file or directory
ln: /Users/tstockmanns/PandaSoftware/FairSoft/dev/build/share/Geant4/data/G4ENSDFSTATE: No such file or directory
ln: /Users/tstockmanns/PandaSoftware/FairSoft/dev/build/share/Geant4/data/G4NDL: No such file or directory
ln: /Users/tstockmanns/PandaSoftware/FairSoft/dev/build/share/Geant4/data/G4NEUTRONXS: No such file or directory
ln: /Users/tstockmanns/PandaSoftware/FairSoft/dev/build/share/Geant4/data/G4PII: No such file or directory
ln: /Users/tstockmanns/PandaSoftware/FairSoft/dev/build/share/Geant4/data/G4SAIDDATA: No such file or directory
ln: /Users/tstockmanns/PandaSoftware/FairSoft/dev/build/share/Geant4/data/PhotonEvaporation: No such file or directory
ln: /Users/tstockmanns/PandaSoftware/FairSoft/dev/build/share/Geant4/data/RadioactiveDecay: No such file or directory
ln: /Users/tstockmanns/PandaSoftware/FairSoft/dev/build/share/Geant4/data/RealSurface: No such file or directory
scripts/install_geant4.sh: line 128: /Users/tstockmanns/PandaSoftware/FairSoft/dev/build/share/Geant4-10.4.1/geant4make/geant4make.sh: No such file or directory
*** ERROR: geant4 could not be created.
*** End installation of external packages with Errors***

jul14p3 :: configure.sh :: install geant4_vmc error

Hi! It seems that is a mismatch in install script of geant4_vmc
the error is:
Generating /software/physics-tools/FAIR/fairsoft_latest-src/transport/geant4_vmc/source/../lib/tgt_linux/libgeant4vmc.so
scripts/install_geant4_vmc.sh: line 33: cd: /software/physics-tools/FAIR/fairsoft_latest-src/transport/geant4_vmc/lib/tgt_linuxx8664gcc: No such file or directory

scripts (master) $ grep architecture install_geant4_vmc.sh
architecture=$(root-config --arch)
cd $SIMPATH/transport/geant4_vmc/lib/tgt_$architecture

transport/geant4_vmc/source (v2-15-patches) $ grep PLATFORM Makefile
ifeq ($(PLATFORM),)
PLATFORM = $(shell root-config --arch)
BINDIR = $(TOPDIR)/tmp/tgt_$(PLATFORM)
LIBDIR = $(TOPDIR)/lib/tgt_$(PLATFORM)
include $(ROOT_ETCDIR)/Makefile.$(PLATFORM)

it seems that for some reason in transport/geant4_vmc/source
the PLATFORM is considered to be linux

Geometry problems with new external packages

In the latest external packages of jul14 the panda simulation crashes at different times with geometry errors. In this example only cave, magnets and pipe are in the simulation:

root -l sim_complete_vis.C
root [0]
Processing sim_complete_vis.C...
Error in TMacOSXSystem::DynamicPathName: libGX11TTF[.so | .dll | .dylib | .sl | .dl | .a] does not exist in /Users/Stockmanns/PandaSoftware/pandaRoot/build_pandaRoot_Git/lib:/Users/Stockmanns/PandaSoftware/FairRoot_install/lib:/Users/Stockmanns/PandaSoftware/FairSoft/jul14_build/lib/root:/Users/Stockmanns/PandaSoftware/FairSoft/jul14_build/lib:::.:/Users/Stockmanns/PandaSoftware/FairSoft/jul14_build/lib/root::/Users/Stockmanns/PandaSoftware/FairSoft/jul14_build/lib/root/cint/cint/stl
Error in TMacOSXSystem::DynamicPathName: libGX11[.so | .dll | .dylib | .sl | .dl | .a] does not exist in /Users/Stockmanns/PandaSoftware/pandaRoot/build_pandaRoot_Git/lib:/Users/Stockmanns/PandaSoftware/FairRoot_install/lib:/Users/Stockmanns/PandaSoftware/FairSoft/jul14_build/lib/root:/Users/Stockmanns/PandaSoftware/FairSoft/jul14_build/lib:::.:/Users/Stockmanns/PandaSoftware/FairSoft/jul14_build/lib/root::/Users/Stockmanns/PandaSoftware/FairSoft/jul14_build/lib/root/cint/cint/stl
Error in TClonesArray::SetClass: called with a null pointer
[INFO ] FairRootManager::OpenOutFile("sim_complete.root")
[INFO ] Media file used : /Users/Stockmanns/PandaSoftware/pandaRoot/pandaRoot_Git/geometry/media_pnd.geo
Info in (PndGeoHandling::Instance): Making a new instance using the framework.
PndDpmDirect initialization
Momentum = 7.24
Seed = 79541.1
Mode = 1
Theta min = 0.828729
sig_col 1.66343972E-02
sig_had_el 16.1028767
[INFO ] ============== FairRunSim: Initialising simulation run ==============
Info in TGeoManager::TGeoManager: Geometry FAIRGeom, FAIR geometry created
[INFO ] FairGeoMedia: Read media


 initialisation for run id 1408605145

-I- FairRunTimeDB::InitContainer() PndSensorNamePar
[ERROR ] init() PndSensorNamePar not initialized
Error in FairRuntimeDb::initContainers(): Error occured during initialization
[INFO ] Create visualisation manager
[INFO ] PndFieldMap: Reading field map from ROOT file /Users/Stockmanns/PandaSoftware/pandaRoot/pandaRoot_Git/input/TransMap.1500.root
[INFO ] PndFieldMap: Reading field map from ROOT file /Users/Stockmanns/PandaSoftware/pandaRoot/pandaRoot_Git/input/DipoleMap1.1500.root
[INFO ] PndFieldMap: Reading field map from ROOT file /Users/Stockmanns/PandaSoftware/pandaRoot/pandaRoot_Git/input/DipoleMap2.1500.root
[INFO ] PndFieldMap: Reading field map from ROOT file /Users/Stockmanns/PandaSoftware/pandaRoot/pandaRoot_Git/input/SolenoidMap1.root
[INFO ] PndFieldMap: Reading field map from ROOT file /Users/Stockmanns/PandaSoftware/pandaRoot/pandaRoot_Git/input/SolenoidMap2.root
[INFO ] PndFieldMap: Reading field map from ROOT file /Users/Stockmanns/PandaSoftware/pandaRoot/pandaRoot_Git/input/SolenoidMap3.root
[INFO ] PndFieldMap: Reading field map from ROOT file /Users/Stockmanns/PandaSoftware/pandaRoot/pandaRoot_Git/input/SolenoidMap4.root
[INFO ] -------------- Standard Config is called ------------------------------------
Loading Geant3 libraries ...
Loading Geant3 libraries ... finished

MZSTOR. ZEBRA table base TAB(0) in /MZCC/ at adr 110398767 6948D2F HEX

MZSTOR. Initialize Store 0 in /GCBANK/
with Store/Table at absolute adrs 110549781 110398767
HEX 696DB15 6948D2F
HEX 24C22 0
relative adrs 150562 0
with 1 Str. in 2 Links in 5300 Low words in 4999970 words.
This store has a fence of 16 words.

MZLOGL. Set Log Level 0 for store 0
1***** GEANT Version 3.21/11 Released on 100298
0***** Correction Cradle Version 0.1100

MZDIV. Initialize Division Constant in Store 0
NW/NWMAX= 20004000000, MODE/KIND= 1 2
Division 20 initialized.

MZLINK. Initialize Link Area /GCLINK/ for Store 0 NL/NS= 20 20

MZLINK. Initialize Link Area /GCSLNK/ for Store 0 NL/NS= 100 100
-I- G3Config: Geant3 with TGeo has been created.
SetCuts Macro: Setting Processes..
SetCuts Macro: Setting cuts..
Info in TGeoManager::SetTopVolume: Top volume is cave. Master volume is cave
Info in TGeoNavigator::BuildCache: --- Maximum geometry depth set to 100
Info in TGeoManager::CheckGeometry: Fixing runtime shapes...
Info in TGeoManager::CheckGeometry: ...Nothing to fix
Info in TGeoManager::CloseGeometry: Counting nodes...
Info in TGeoManager::Voxelize: Voxelizing...
Info in TGeoManager::CloseGeometry: Building cache...
Info in TGeoManager::CountLevels: max level = 6, max placements = 76
Info in TGeoManager::CloseGeometry: 342 nodes/ 189 volume UID's in FAIR geometry
Info in TGeoManager::CloseGeometry: ----------------modeler ready----------------
0*** GSTMED *** Warning, medium = 2, value of EPSIL= 0.000E+00 reset to 1 micron
[INFO ] Initialize Tasks--------------------------
[INFO ] Simulation RunID: 1408605145

Calculating cross section tables, see gphysi.dat for more information

Cross section calculation concluded successfully
[INFO ] Monte carlo Engine Initialisation with : TGeant3TGeo
**** GTRIGI: IEVENT= 1 IDEVT= 1 Random Seeds = ********** 0

*** Break ** segmentation violation
Generating stack trace...
0x0000000103b82cab in (anonymous namespace)::TerminalConfigUnix__handleSignal(int) (in libCore.5.so) + 27
0x00007fff95f9f5aa in sigtramp (in libsystem_platform.dylib) + 26
0x00000001056bd620 in TGeoCompositeShape::Contains(double const
) const (in libGeom.so) + 0
0x00000001057a4cb0 in TGeoVoxelFinder::GetNextCandidates(double const_, int&, TGeoStateInfo&) (in libGeom.so) + 9344
0x00000001057a7024 in TGeoVoxelFinder::GetNextVoxel(double const_, double const_, int&, TGeoStateInfo&) (in libGeom.so) + 244
0x000000010575d9e5 in TGeoShapeAssembly::DistFromOutside(double const_, double const_, int, double, double_) const (in libGeom.so) + 1221
0x000000010575d896 in TGeoShapeAssembly::DistFromOutside(double const_, double const_, int, double, double_) const (in libGeom.so) + 886
0x000000010575daea in TGeoShapeAssembly::DistFromOutside(double const_, double const_, int, double, double_) const (in libGeom.so) + 1482
0x000000010571b9ec in TGeoNavigator::FindNextDaughterBoundary(double_, double_, int&, bool) (in libGeom.so) + 2028
0x000000010571975b in TGeoNavigator::FindNextBoundary(double, char const_, bool) (in libGeom.so) + 3579
0x00000001056f6e0f in TGeoManager::FindNextBoundary(double, char const
, bool) (in libGeom.so) + 63
0x000000011a23c82f in gtnextTGeo (in libgeant321.so) (TGeant3TGeo.cxx:2332)
0x000000011a238daa in gtnext_ (in libgeant321.so) (TGeant3.cxx:6743)
0x000000011a023f6d in g3tneut_ (in libgeant321.so) (gtneut.F:21)
0x000000011a02c2d5 in g3track_ (in libgeant321.so) (gtrack.F:251)
0x000000011a2449aa in gutrak_ (in libgeant321.so) (TGeant3gu.cxx:556)
0x000000011a02d898 in gtreveroot_ (in libgeant321.so) (gtreveroot.F:34)
0x000000011a2449c9 in gutrev_ (in libgeant321.so) (TGeant3gu.cxx:575)
0x000000011a21e1b4 in jumpt0_ (in libgeant321.so) (jumptn.c:75)
0x0000000119e97c96 in g3trig_ (in libgeant321.so) (gtrig.F:24)
0x000000011a230d31 in TGeant3::Gtrig() (in libgeant321.so) (TGeant3.cxx:3270)
0x000000011a238565 in TGeant3::ProcessEvent() (in libgeant321.so) (TGeant3.cxx:6412)
0x000000011a238476 in TGeant3::ProcessRun(int) (in libgeant321.so) (TGeant3.cxx:6382)
0x000000010d4eb5d5 in FairMCApplication::RunMC(int) (in libBase.so) (FairMCApplication.cxx:258)
0x000000010d596ff6 in G__G__BaseDict_782_0_7(G__value_, char const_, G__param_, int) (in libBase.so) (G__BaseDict.cxx:12581)
0x0000000104451214 in Cint::G__ExceptionWrapper(int ()(G__value, char const_, G__param_, int), G__value_, char_, G__param_, int) (in libCint.5.so) + 148
0x000000010458bb52 in G__execute_call (in libCint.5.so) + 98
0x000000010458c496 in G__call_cppfunc (in libCint.5.so) + 1830
0x0000000104549bd5 in G__interpret_func (in libCint.5.so) + 4965
0x000000010452bfdd in G__getfunction (in libCint.5.so) + 9965
0x00000001046cfb04 in G__getstructmem(int, G__FastAllocString&, char_, int, char_, int_, G__var_array_, int) (in libCint.5.so) + 4884
0x00000001046be83b in G__getvariable (in libCint.5.so) + 3243
0x000000010451aadc in G__getitem (in libCint.5.so) + 2732
0x0000000104519404 in G__getexpr (in libCint.5.so) + 87268
0x00000001045e410f in G__exec_function(G__FastAllocString&, int_, int_, int_, G__value_) (in libCint.5.so) + 383
0x00000001045d9459 in G__exec_statement (in libCint.5.so) + 32121
0x000000010454d130 in G__interpret_func (in libCint.5.so) + 18624
0x000000010452cf62 in G__getfunction (in libCint.5.so) + 13938
0x000000010451abbd in G__getitem (in libCint.5.so) + 2957
0x0000000104519404 in G__getexpr (in libCint.5.so) + 87268
0x0000000104503e55 in G__calc_internal (in libCint.5.so) + 1237
0x00000001045ef986 in G__process_cmd (in libCint.5.so) + 20342
0x0000000103a707ae in TCint::ProcessLine(char const_, TInterpreter::EErrorCode_) (in libCore.5.so) + 622
0x0000000103a7100f in TCint::ProcessLineSynch(char const_, TInterpreter::EErrorCode_) (in libCore.5.so) + 191
0x000000010397198c in TApplication::ExecuteFile(char const_, int_, bool) (in libCore.5.so) + 5644
0x0000000103970370 in TApplication::ProcessFile(char const_, int_, bool) (in libCore.5.so) + 48
0x000000010396fd88 in TApplication::ProcessLine(char const_, bool, int_) (in libCore.5.so) + 3960
0x0000000104cab03b in TRint::Run(bool) (in libRint.5.so) + 2155
0x000000010395fb57 in main (in root.exe) + 135
0x00007fff8e2005fd in start (in libdyld.dylib) + 1
0x0000000000000004 in
Root > Function sim_complete_vis() busy flag cleared

use git shallow clones

To speed up installation process and reduce amount of diskspace used, please only do shallow clones of git repositories. This is safe for the users as they usually are not interested in the history of each piece of software.

ZeroMQ Installation problem

Dear FairSoft developers,
I try to install FairSoft/dev on an OpenSuse 42.3 machine. Unfortunately it fails with the following error messages:

*** Compiling zeromq ................
error: pathspec 'v4.2.5-fairroot' did not match any file(s) known to git.
-- Using tweetnacl for CURVE security
-- Detected epoll polling method
-- Detected ZMQ Version - 4.2.2
-- Checking whether EFD_CLOEXEC is supported
-- Checking whether SOCK_CLOEXEC is supported
-- Checking whether SO_KEEPALIVE is supported
-- Checking whether TCP_KEEPCNT is supported
-- Checking whether TCP_KEEPIDLE is supported
-- Checking whether TCP_KEEPINTVL is supported
-- Checking whether TCP_KEEPALIVE is supported
-- Checking whether TIPC is supported
-- Could NOT find AsciiDoc (missing: ASCIIDOC_EXECUTABLE)
CMake Error: File /home/panda/PandaSoftware/FairSoft/dev/FairSoft_source/basics/zeromq/ZeroMQConfig.cmake.in does not exist.
CMake Error at /home/panda/PandaSoftware/FairSoft/dev/FairSoft_install/share/cmake-3.9/Modules/CMakePackageConfigHelpers.cmake:312 (configure_file):
configure_file Problem configuring file
Call Stack (most recent call first):
CMakeLists.txt:920 (configure_package_config_file)

-- Configuring incomplete, errors occurred!
See also "/home/panda/PandaSoftware/FairSoft/dev/FairSoft_source/basics/zeromq/build/CMakeFiles/CMakeOutput.log".
See also "/home/panda/PandaSoftware/FairSoft/dev/FairSoft_source/basics/zeromq/build/CMakeFiles/CMakeError.log".
make: *** No rule to make target 'install'. Stop.


No test configuration file found!


Usage

ctest [options]

**** Checking libraries in /home/panda/PandaSoftware/FairSoft/dev/FairSoft_install/lib ****
*** ERROR: zeromq could not be created.
*** End installation of external packages with Errors***

Autoconf 2.65 or higher is required

Hi,

On SLC6, when configuring with recoonly I get the following error :

*** Compiling LibSodium ................ 
configure.ac:1: error: Autoconf version 2.65 or higher is required
configure.ac:1: the top level
autom4te: /usr/bin/m4 failed with exit status: 63
aclocal: autom4te failed with exit status: 63
autoreconf: aclocal failed with exit status: 63
scripts/install_sodium.sh: line 26: ../configure: No such file or directory
make: *** No rule to make target `install'.  Stop.
*** ERROR: LibSodium could not be created.
**** Checking libraries in /home/flpprotodev/dev/FairSoft/../FairSoft_installation/lib ****
*** End installation of external packages with Errors***

I think that you should add it as a dependency.

Heads up: gfortran in GCC 8.1 changes behaviour

Hi,
This is a heads up, in case you didn't notice already: in GCC 8.1 gfortran will change behaviour in such a way that will prevent Geant321 from compiling, unless an additional flag -std=legacy is passed.

You can find the note here:
https://gcc.gnu.org/gcc-8/changes.html
"When an actual argument contains too few elements for a dummy argument, an error is now issued. The -std=legacy option can be used to still compile such code."

Note: I'm not on dev and not on the RC for this May. Yet. Right now I'm just trying to compile a somewhat old version on Fedora 28.

Reversed patch detected

Hello,

When using the recoonly config I got the following :

patching file cmake/modules/SearchInstalledSoftware.cmake
Reversed (or previously applied) patch detected!  Assume -R? [n] 
Apply anyway? [n] 
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file cmake/modules/SearchInstalledSoftware.cmake.rej

It is on SLC6 using ROOT 6.

First of all, it seems to be an error that needs to be fixed.
The second thing is that the script should handle automatically this case because it blocks everything at the moment.

Did ROOT break std::cout?

Hi,

Question: what do you make of this?

There was a crash (kSigSegmentationViolation).
This is the entire stack trace of all threads:

[...]

The lines below might hint at the cause of the crash.
You may get help by asking at the ROOT forum http://root.cern.ch/forum.
Only if you are really convinced it is a bug in ROOT then please submit a
report at http://root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.

#8 std::ostream::sentry::sentry (this=0x7ffe5f803f90, __os=...) at /usr/src/debug/gcc-7.2.1-20170915/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc++-v3/include/bits/ostream.tcc:51
#9 0x00007f58c9016ee8 in std::__ostream_insert<char, std::char_traits > (__out=..., __s=__s
entry=0x7f58d4a25075 "Loading Geant3 libraries ...", __n=28) at /usr/src/debug/gcc-7.2.1-20170915/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc++-v3/include/bits/ostream_insert.h:82
#10 0x00007f58c9017377 in std::operator<< <std::char_traits > (__out=..., __s=0x7f58d4a25075 "Loading Geant3 libraries ...") at /usr/src/debug/gcc-7.2.1-20170915/obj-x86_64-redhat-linux/x86_64-redhat-linux/libstdc++-v3/include/ostream:561
#11 0x00007f58d4a26144 in ?? ()
#12 0x00007ffe5f8040a0 in ?? ()
#13 0x00007f58ac8017be in cling::IncrementalExecutor::executeWrapper (returnValue=0x7ffe5f8046a0, function=..., this=0x2227dc0) at /usr/local/FAIR/FairSoft-roo6/tools/root/interpreter/cling/lib/Interpreter/IncrementalExecutor.h:197
#14 cling::Interpreter::RunFunction (this=, FD=, res=0x7ffe5f8046a0) at /usr/local/FAIR/FairSoft-roo6/tools/root/interpreter/cling/lib/Interpreter/Interpreter.cpp:916
#15 0x00007f58ac803d49 in cling::Interpreter::EvaluateInternal (this=this
entry=0x21d0590, input="g3libs()", CO=..., V=V
entry=0x7ffe5f8046a0, T=T
entry=0x0, wrapPoint=, wrapPoint
entry=0) at /usr/local/FAIR/FairSoft-roo6/tools/root/interpreter/cling/lib/Interpreter/Interpreter.cpp:1160
#16 0x00007f58ac803f7c in cling::Interpreter::process (this=0x21d0590, input="g3libs()", V=V
entry=0x7ffe5f8046a0, T=T
entry=0x0, disableValuePrinting=disableValuePrinting
entry=false) at /usr/local/FAIR/FairSoft-roo6/tools/root/interpreter/cling/lib/Interpreter/Interpreter.cpp:621
#17 0x00007f58ac8943b2 in cling::MetaProcessor::process (this=0x2430440, input_text=, compRes=
0x7ffe5f80469c: cling::Interpreter::kSuccess, result=0x7ffe5f8046a0, disableValuePrinting=) at /usr/local/FAIR/FairSoft-roo6/tools/root/interpreter/cling/lib/MetaProcessor/MetaProcessor.cpp:341
#18 0x00007f58ac7116bb in HandleInterpreterException (metaProcessor=0x2430440, input_line=0x7ffe5f8046f9 "g3libs()", compRes=
0x7ffe5f80469c: cling::Interpreter::kSuccess, result=0x7ffe5f8046a0) at /usr/local/FAIR/FairSoft-roo6/tools/root/core/metacling/src/TCling.cxx:1887

It looks like std::cout is the origin of the problem, by which I mean ROOT broke std::cout. A piece of evidence in favour of the broken std::cout hypothesis is that by getting rid of them in the macros interpreted (urgh) during the execution of my program all is well.

I'm on dev right now (which is on par with master, btw).

Cheers,
L.

A million erros when installing FairSoft

Hi,

I am trying to install FairSoft on HPC, the default C compiler is 4.8.2 in

/usr/bin/gcc

but it can be changed through "module load gcc/x.x.x".

  1. One issue I noticed is that, even I loaded a different compiler, part of the files still look for compiler in /usr/bin/gcc, which may be the cause of my compiling issue(see below print out message).

  2. Even I keep the default C compiler, it will still get me errors. The error message is too long to be listed here. Please see the attachment. I feel like the system has troubles in compiling root. (The error message is too long to be attached, so only part of the errors are attached below)

I have been trying different settings for weeks.Still no good. Please help me solve the installation problem.

Thanks,

/////// print out with module load gcc/6.2.0 //////////////

***** Compiling the external packages with the GCC compiler
*** Building the libraries with debug information
----------------- Install AlFaSoft ---------------
-- The C compiler identification is GNU 6.2.0
-- The CXX compiler identification is GNU 6.2.0
-- Check for working C compiler: /opt/crc/g/gcc/6.2.0/bin/gcc
-- Check for working C compiler: /opt/crc/g/gcc/6.2.0/bin/gcc -- 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/crc/g/gcc/6.2.0/bin/g++
-- Check for working CXX compiler: /opt/crc/g/gcc/6.2.0/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The Fortran compiler identification is GNU 6.2.0
-- Check for working Fortran compiler: /opt/crc/g/gcc/6.2.0/bin/gfortran
-- Check for working Fortran compiler: /opt/crc/g/gcc/6.2.0/bin/gfortran -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /opt/crc/g/gcc/6.2.0/bin/gfortran supports Fortran 90
-- Checking whether /opt/crc/g/gcc/6.2.0/bin/gfortran supports Fortran 90 -- yes
-- Found GCC Version >= 4.8
-- Found all necessary compilers.
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Found all necessary X11 features.
-- Found OpenGL: /usr/lib64/libGL.so
-- Found all necessary OpenGL features.
-- Found CURL: /usr/lib64/libcurl.so (found version "7.29.0")
-- Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so (found version "1.0.1e")
-- Found all necessary programs in PATH.
-- Performing Test HAS_CXX11
-- Performing Test HAS_CXX11 - Success
-- Current compiler does suppport -std=c++11 option.
-- Performing Test HAS_LIBCXX
-- Performing Test HAS_LIBCXX - Failed
-- Current compiler does not suppport -stdlib=libc++
-- Found PythonInterp: /usr/bin/python (found version "2.7.5")
-- Found PythonLibs: /usr/lib64/libpython2.7.so (found version "2.7.5")
-- Found Subversion: /usr/bin/svn (found version "1.7.14")
-- Configuring done
-- Generating done
-- Build files have been written to: /afs/crc.nd.edu/user/j/jlai1/.local/DataAnalysis/FairSoft/test/build
The following parameters are set.
System : 64bit
C++ compiler : g++
C compiler : gcc
Fortran compiler : gfortran
CXXFLAGS : -g -O0 -std=c++11
CFLAGS : -g -O0
FFLAGS : -g -O0
CMAKE BUILD TYPE : Debug
Compiler : gcc
Fortran compiler : gfortran
Debug : yes
Optimization : no
Platform : linux
Architecture : linuxx8664gcc
G4System : Linux-g++
g4_data_files :
g4_get_data :
Number of parallel
processes for build : 24
Installation Directory: /afs/crc.nd.edu/user/j/jlai1/.local/DataAnalysis/FairSoftInst
Found cmake version 3.4.3 which is newer than the
required version 3.3.0 in PATH
This version is okay. Don't install cmake as external package.
*** Downloading gtest sources ***
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 132 0 132 0 0 381 0 --:--:-- --:--:-- --:--:-- 383
100 457k 100 457k 0 0 662k 0 --:--:-- --:--:-- --:--:-- 662k
*** Unpacking release-1.7.0.tar.gz ..............
*** Compiling gtest ................
-- The CXX compiler identification is GNU 4.8.5
-- The C compiler identification is GNU 4.8.5
-- Check for working CXX compiler: /bin/g++
-- Check for working CXX compiler: /bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Check for working C compiler: /bin/gcc
-- Check for working C compiler: /bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found PythonInterp: /bin/python (found version "2.7.5")
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Looking for pthread_create
-- Looking for pthread_create - not found
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /afs/crc.nd.edu/user/j/jlai1/.local/DataAnalysis/FairSoft/basics/gtest/build**

.
.
.
.
.
.
[ 40%] Building CXX object io/io/CMakeFiles/RIOObjs.dir/src/TStreamerInfoActions.cxx.o
[ 40%] Building CXX object io/io/CMakeFiles/RIOObjs.dir/src/TStreamerInfoReadBuffer.cxx.o
[ 40%] Building CXX object io/io/CMakeFiles/RIOObjs.dir/src/TStreamerInfoWriteBuffer.cxx.o
[ 40%] Building CXX object io/io/CMakeFiles/RIOObjs.dir/src/TZIPFile.cxx.o
[ 40%] Built target G__Core
Scanning dependencies of target Base
[ 40%] Building CXX object core/base/CMakeFiles/Base.dir/G__Core.cxx.o
[ 40%] Building CXX object core/base/CMakeFiles/Base.dir/src/InitGui.cxx.o
[ 40%] Building CXX object core/base/CMakeFiles/Base.dir/src/String.cxx.o
[ 40%] Building CXX object core/base/CMakeFiles/Base.dir/src/TAttBBox.cxx.o
[ 40%] Building CXX object core/base/CMakeFiles/Base.dir/src/TBuffer3D.cxx.o
[ 40%] Building CXX object core/base/CMakeFiles/Base.dir/src/TApplication.cxx.o
[ 40%] Building CXX object core/base/CMakeFiles/Base.dir/src/TAtt3D.cxx.o
[ 40%] Building CXX object core/base/CMakeFiles/Base.dir/src/TAttAxis.cxx.o
[ 40%] Building CXX object core/base/CMakeFiles/Base.dir/src/TApplicationImp.cxx.o
[ 40%] Building CXX object core/base/CMakeFiles/Base.dir/src/TAttMarker.cxx.o
[ 40%] Building CXX object core/base/CMakeFiles/Base.dir/src/Match.cxx.o
[ 40%] Building CXX object core/base/CMakeFiles/Base.dir/src/TAttPad.cxx.o
[ 40%] Building CXX object core/base/CMakeFiles/Base.dir/src/TAttFill.cxx.o
[ 40%] Building CXX object core/base/CMakeFiles/Base.dir/src/Stringio.cxx.o
[ 40%] Building CXX object core/base/CMakeFiles/Base.dir/src/TBase64.cxx.o
[ 40%] Building CXX object core/base/CMakeFiles/Base.dir/src/TAttLine.cxx.o
[ 40%] Building CXX object core/base/CMakeFiles/Base.dir/src/TAttText.cxx.o
[ 40%] Building CXX object core/base/CMakeFiles/Base.dir/src/TBenchmark.cxx.o
[ 40%] Building CXX object core/base/CMakeFiles/Base.dir/src/TBuffer.cxx.o
[ 40%] Building CXX object core/base/CMakeFiles/Base.dir/src/TBrowser.cxx.o
[ 40%] Building CXX object core/base/CMakeFiles/Base.dir/src/TBrowserImp.cxx.o
[ 40%] Building CXX object core/base/CMakeFiles/Base.dir/src/TAttBBox2D.cxx.o
[ 40%] Building CXX object core/base/CMakeFiles/Base.dir/src/TCanvasImp.cxx.o
[ 40%] Building CXX object core/base/CMakeFiles/Base.dir/src/TColor.cxx.o
[ 40%] Building CXX object core/base/CMakeFiles/Base.dir/src/TColorGradient.cxx.o
[ 40%] Building CXX object core/base/CMakeFiles/Base.dir/src/TContextMenu.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TContextMenuImp.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TControlBarImp.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TDirectory.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TDatime.cxx.o
/afs/crc.nd.edu/user/j/jlai1/.local/DataAnalysis/FairSoft/tools/root/build_for_fair/core/base/G__Core.cxx:138:10: warning: null character(s) preserved in literal [enabled by default]
#include "/afs/crc.nd.edu/usAnalysis/FairSoft/tools/root/core/cont/inc/TArrayL64.h"
^
/afs/crc.nd.edu/user/j/jlai1/.local/DataAnalysis/FairSoft/tools/root/build_for_fair/core/base/G__Core.cxx:138:626: fatal error: /afs/crc.nd.edu/us: No such file or directory
#include "/afs/crc.nd.edu/us#include "/afs/crc.nd.edu/user/j/jlai1/.local/DataAnalysis/FairSoft/tools/root/core/cont/inc/TArrayS.h"
^
compilation terminated.
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TEnv.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TError.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TExec.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TException.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TFileCollection.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TFileInfo.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TGuiFactory.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TFolder.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TInetAddress.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TInspectorImp.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TMacro.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TMathBase.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TListOfTypes.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TMD5.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TMemberInspector.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TMessageHandler.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TNamed.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TObjString.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TObject.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TObjectSpy.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TPRegexp.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TParameter.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TPluginManager.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TProcessUUID.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TProcessID.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TQCommand.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TQObject.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TQConnection.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TRef.cxx.o
make[2]: *** [core/base/CMakeFiles/Base.dir/G__Core.cxx.o] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TRefCnt.cxx.o
[ 41%] Building CXX object core/base/CMakeFiles/Base.dir/src/TRegexp.cxx.o
make[1]: *** [core/base/CMakeFiles/Base.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 41%] Built target RIOObjs
make: *** [all] Error 2
[ 0%] Built target LLVMTableGen
[ 2%] Built target LLVMSupport
[ 3%] Built target clang-tblgen
[ 4%] Built target ClangAttrPCHRead
[ 5%] Built target llvm-tblgen
[ 5%] Built target intrinsics_gen
[ 5%] Built target ClangCommentCommandList
[ 5%] Built target ClangCommentCommandInfo
[ 5%] Built target ClangAttrClasses
[ 5%] Built target ClangAttrImpl
[ 5%] Built target ClangAttrDump
[ 5%] Built target ClangAttrVisitor
[ 5%] Built target ClangCommentHTMLNamedCharacterReferences
[ 5%] Built target ClangStmtNodes
[ 5%] Built target ClangDeclNodes
[ 5%] Built target ClangCommentNodes
[ 5%] Built target ClangCommentHTMLTagsProperties
[ 5%] Built target ClangCommentHTMLTags
[ 5%] Built target ClangDiagnosticIndexName
[ 6%] Built target ClangDiagnosticDriver
[ 6%] Built target ClangDiagnosticParse
[ 6%] Built target ClangDiagnosticComment
[ 6%] Built target ClangDiagnosticGroups
[ 6%] Built target ClangDiagnosticAST
[ 6%] Built target ClangDiagnosticSerialization
[ 6%] Built target ClangDiagnosticLex
[ 6%] Built target ClangDiagnosticSema
[ 6%] Built target ClangDiagnosticAnalysis
[ 6%] Built target ClangAttrList
[ 6%] Built target ClangDiagnosticFrontend
[ 6%] Built target ClangAttrHasAttributeImpl
[ 6%] Built target ClangDiagnosticCommon
[ 6%] Built target ClangARMNeon
[ 6%] Built target ClangAttrParserStringSwitches
[ 6%] Built target ClangAttrTemplateInstantiate
[ 6%] Built target ClangAttrSpellingListIndex
[ 6%] Built target ClangAttrParsedAttrList
[ 6%] Built target ClangAttrParsedAttrKinds
[ 6%] Built target ClangAttrParsedAttrImpl
[ 6%] Built target ClangAttrPCHWrite
[ 8%] Built target clangCodeGen
[ 8%] Built target clingUtils
[ 9%] Built target clang-headers
[ 10%] Built target clangAST
[ 10%] Built target ClangDriverOptions
[ 10%] Built target clangBasic
[ 11%] Built target clingInterpreter
[ 11%] Built target clingMetaProcessor
[ 11%] Built target CLING
[ 11%] Built target LLVMRES
[ 11%] Built target move_headers
[ 12%] Built target LLVMCore
[ 12%] Built target LLVMIRReader
[ 16%] Built target LLVMCodeGen
[ 17%] Built target LLVMSelectionDAG
[ 18%] Built target LLVMAsmPrinter
[ 18%] Built target LLVMBitReader
[ 18%] Built target LLVMBitWriter
[ 19%] Built target LLVMTransformUtils
[ 20%] Built target LLVMInstrumentation
[ 20%] Built target LLVMInstCombine
[ 21%] Built target LLVMScalarOpts
[ 21%] Built target LLVMipo
[ 21%] Built target LLVMVectorize
[ 21%] Built target LLVMObjCARCOpts
[ 21%] Built target LLVMLinker
[ 22%] Built target LLVMAnalysis
[ 23%] Built target LLVMipa
[ 24%] Built target LLVMMC
[ 25%] Built target LLVMMCParser
[ 25%] Built target LLVMMCDisassembler
[ 25%] Built target LLVMObject
[ 25%] Built target LLVMOption
[ 25%] Built target LLVMExecutionEngine
[ 25%] Built target LLVMMCJIT
[ 26%] Built target LLVMOrcJIT
[ 26%] Built target LLVMRuntimeDyld
[ 26%] Built target LLVMTarget
[ 26%] Built target X86CommonTableGen
[ 26%] Built target LLVMX86CodeGen
[ 26%] Built target LLVMX86AsmParser
[ 26%] Built target LLVMX86Disassembler
[ 27%] Built target LLVMX86AsmPrinter
[ 27%] Built target LLVMX86Desc
[ 27%] Built target LLVMX86Info
[ 27%] Built target LLVMX86Utils
[ 27%] Built target LLVMAsmParser
[ 27%] Built target LLVMProfileData
[ 29%] Built target clangLex
[ 29%] Built target clangParse
[ 30%] Built target clangSema
[ 31%] Built target clangAnalysis
[ 31%] Built target clangEdit
[ 31%] Built target clangDriver
[ 31%] Built target clangSerialization
[ 32%] Built target clangFrontend
[ 32%] Built target Clib
[ 32%] Built target MetaUtilsLLVM
[ 32%] Built target MetaUtils
[ 32%] Built target rootcling_tmp
[ 32%] Built target G__IO
[ 33%] Built target RIOObjs
[ 33%] Built target G__Core
[ 33%] Building CXX object core/base/CMakeFiles/Base.dir/G__Core.cxx.o
/afs/crc.nd.edu/user/j/jlai1/.local/DataAnalysis/FairSoft/tools/root/build_for_fair/core/base/G__Core.cxx:138:10: warning: null character(s) preserved in literal [enabled by default]
#include "/afs/crc.nd.edu/usAnalysis/FairSoft/tools/root/core/cont/inc/TArrayL64.h"
^
/afs/crc.nd.edu/user/j/jlai1/.local/DataAnalysis/FairSoft/tools/root/build_for_fair/core/base/G__Core.cxx:138:626: fatal error: /afs/crc.nd.edu/us: No such file or directory
#include "/afs/crc.nd.edu/us#include "/afs/crc.nd.edu/user/j/jlai1/.local/DataAnalysis/FairSoft/tools/root/core/cont/inc/TArrayS.h"

compilation terminated.
make[2]: *** [core/base/CMakeFiles/Base.dir/G__Core.cxx.o] Error 1
make[1]: *** [core/base/CMakeFiles/Base.dir/all] Error 2
make: *** [all] Error 2
**** Checking libraries in /afs/crc.nd.edu/user/j/jlai1/.local/DataAnalysis/FairSoftInst/lib ****
*** ERROR: root could not be created.
create a symbolic linking for Vc library ....
libVc.a not found in lib dirctory
*** End installation of external packages with Errors***

///////////////// error message with default GCC compiler /////////////////////////

.
.
.
.
.

fs/crc.nd.edu/user/j/jlai1/.local/DataAnalysis/FairSoft/tools/root/build_for_fair/include/root/RooIntegrator2D.h:1:2721: warning: null character ignored [-Wnull-character]
<U+0000><U+0000><U+0000><U+0000><U+0000> ......
/afs/crc.nd.edu/user/j/jlai1/.local/DataAnalysis/FairSoft/tools/root/build_for_fair/include/root/RooIntegrator2D.h:1:2732: warning: null character ignored [-Wnull-character]
<U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000><U+0000>
^
[ 61%] Built target onepcm
make: *** [all] Error 2
[ 0%] Built target LLVMTableGen
[ 2%] Built target LLVMSupport
[ 3%] Built target clang-tblgen
[ 4%] Built target ClangAttrPCHRead
[ 5%] Built target llvm-tblgen
[ 5%] Built target intrinsics_gen
[ 5%] Built target ClangCommentCommandList
[ 5%] Built target ClangCommentCommandInfo
[ 5%] Built target ClangAttrClasses
[ 5%] Built target ClangAttrImpl
[ 5%] Built target ClangAttrDump
[ 5%] Built target ClangAttrVisitor
[ 5%] Built target ClangCommentHTMLNamedCharacterReferences
[ 5%] Built target ClangStmtNodes
[ 5%] Built target ClangDeclNodes
[ 5%] Built target ClangCommentNodes
[ 5%] Built target ClangCommentHTMLTagsProperties
[ 5%] Built target ClangCommentHTMLTags
[ 5%] Built target ClangDiagnosticIndexName
[ 6%] Built target ClangDiagnosticDriver
[ 6%] Built target ClangDiagnosticParse
[ 6%] Built target ClangDiagnosticComment
[ 6%] Built target ClangDiagnosticGroups
[ 6%] Built target ClangDiagnosticAST
[ 6%] Built target ClangDiagnosticSerialization
[ 6%] Built target ClangDiagnosticLex
[ 6%] Built target ClangDiagnosticSema
[ 6%] Built target ClangDiagnosticAnalysis
[ 6%] Built target ClangAttrList
[ 6%] Built target ClangDiagnosticFrontend
[ 6%] Built target ClangAttrHasAttributeImpl
[ 6%] Built target ClangDiagnosticCommon
[ 6%] Built target ClangARMNeon
[ 6%] Built target ClangAttrParserStringSwitches
[ 6%] Built target ClangAttrTemplateInstantiate
[ 6%] Built target ClangAttrSpellingListIndex
[ 6%] Built target ClangAttrParsedAttrList
[ 6%] Built target ClangAttrParsedAttrKinds
[ 6%] Built target ClangAttrParsedAttrImpl
[ 6%] Built target ClangAttrPCHWrite
[ 8%] Built target clangCodeGen
[ 8%] Built target clingUtils
[ 9%] Built target clang-headers
[ 10%] Built target clangAST
[ 10%] Built target ClangDriverOptions
[ 10%] Built target clangBasic
[ 11%] Built target clingInterpreter
[ 11%] Built target clingMetaProcessor
[ 11%] Built target CLING
[ 11%] Built target LLVMRES
[ 11%] Built target move_headers
[ 12%] Built target LLVMCore
[ 12%] Built target LLVMIRReader
[ 16%] Built target LLVMCodeGen
[ 17%] Built target LLVMSelectionDAG
[ 18%] Built target LLVMAsmPrinter
[ 18%] Built target LLVMBitReader
[ 18%] Built target LLVMBitWriter
[ 19%] Built target LLVMTransformUtils
[ 20%] Built target LLVMInstrumentation
[ 20%] Built target LLVMInstCombine
[ 21%] Built target LLVMScalarOpts
[ 21%] Built target LLVMipo
[ 21%] Built target LLVMVectorize
[ 21%] Built target LLVMObjCARCOpts
[ 21%] Built target LLVMLinker
[ 22%] Built target LLVMAnalysis
[ 23%] Built target LLVMipa
[ 24%] Built target LLVMMC
[ 25%] Built target LLVMMCParser
[ 25%] Built target LLVMMCDisassembler
[ 25%] Built target LLVMObject
[ 25%] Built target LLVMOption
[ 25%] Built target LLVMExecutionEngine
[ 25%] Built target LLVMMCJIT
[ 26%] Built target LLVMOrcJIT
[ 26%] Built target LLVMRuntimeDyld
[ 26%] Built target LLVMTarget
[ 26%] Built target X86CommonTableGen
[ 26%] Built target LLVMX86CodeGen
[ 26%] Built target LLVMX86AsmParser
[ 26%] Built target LLVMX86Disassembler
[ 27%] Built target LLVMX86AsmPrinter
[ 27%] Built target LLVMX86Desc
[ 27%] Built target LLVMX86Info
[ 27%] Built target LLVMX86Utils
[ 27%] Built target LLVMAsmParser
[ 27%] Built target LLVMProfileData
[ 29%] Built target clangLex
[ 29%] Built target clangParse
[ 30%] Built target clangSema
[ 31%] Built target clangAnalysis
[ 31%] Built target clangEdit
[ 31%] Built target clangDriver
[ 31%] Built target clangSerialization
[ 32%] Built target clangFrontend
[ 32%] Built target Clib
[ 32%] Built target MetaUtilsLLVM
[ 32%] Built target MetaUtils
[ 32%] Built target rootcling_tmp
[ 32%] Built target G__IO
[ 33%] Built target RIOObjs
[ 33%] Built target G__Core
[ 35%] Built target Base
[ 35%] Built target Cont
[ 35%] Built target TextInput
[ 35%] Built target Meta
[ 35%] Built target Unix
[ 36%] Built target Zip
[ 36%] Built target Lzma
[ 36%] Built target gitcommit
[ 36%] Built target BaseTROOT
[ 36%] Built target G__Thread
[ 37%] Built target ThreadObjs
[ 38%] Built target MetaLLVM
[ 38%] Built target rootcling
[ 38%] Built target G__HistFactory
[ 38%] Built target G__Rint
[ 38%] Built target G__MultiProc
[ 38%] Built target G__std_complex
[ 38%] Built target G__std_unordered_multiset
[ 38%] Built target G__std_multiset
[ 38%] Built target G__std_unordered_set
[ 38%] Built target G__std_set
[ 38%] Built target G__std_forward_list
[ 38%] Built target G__std_map2
[ 38%] Built target G__std_multimap
[ 38%] Built target G__std_multimap2
[ 38%] Built target G__std_list
[ 38%] Built target G__std_deque
[ 38%] Built target G__std_vector
[ 38%] Built target G__std_valarray
[ 38%] Built target G__std_map
[ 38%] Built target G__std_unordered_map
[ 38%] Built target G__std_unordered_multimap
[ 38%] Built target G__MathCore
[ 38%] Built target G__MathMore
[ 38%] Built target G__Matrix
[ 38%] Built target G__Minuit
[ 38%] Built target G__Minuit2
[ 38%] Built target G__Fumili
[ 38%] Built target G__Physics
[ 38%] Built target G__MLP
[ 38%] Built target G__Quadp
[ 38%] Built target G__Foam
[ 38%] Built target G__Smatrix
[ 38%] Built target G__Smatrix32
[ 38%] Built target G__SPlot
[ 38%] Built target G__GenVector32
[ 38%] Built target G__GenVector
[ 38%] Built target G__Genetic
[ 38%] Built target G__Hist
[ 38%] Built target G__HistPainter
[ 38%] Built target G__Spectrum
[ 38%] Built target G__Spectrum2Painter
[ 38%] Built target G__Hbook
[ 38%] Built target G__Tree
[ 38%] Built target G__TreePlayer
[ 38%] Built target G__TreeViewer
[ 38%] Built target G__SQL
[ 38%] Built target G__XML
[ 38%] Built target G__XMLParser
[ 38%] Built target G__Net
[ 38%] Built target G__RootAuth
[ 38%] Built target G__Krb5Auth
[ 38%] Built target G__Netx
[ 38%] Built target G__LDAP
[ 38%] Built target G__NetxNG
[ 38%] Built target G__RHTTP
[ 38%] Built target G__Gpad
[ 38%] Built target G__Graf
[ 38%] Built target G__PostScript
[ 38%] Built target G__GX11
[ 38%] Built target G__GX11TTF
[ 38%] Built target G__ASImage
[ 38%] Built target G__ASImageGui
[ 38%] Built target G__Graf3d
[ 38%] Built target G__X3D
[ 38%] Built target G__Eve
[ 38%] Built target G__GL
[ 38%] Built target G__Gviz3d
[ 38%] Built target G__Gui
[ 38%] Built target G__Ged
[ 38%] Built target G__FitPanel
[ 39%] Built target G__GuiBld
[ 39%] Built target G__GuiHtml
[ 39%] Built target G__Recorder
[ 39%] Built target G__SessionViewer
[ 39%] Built target G__Proof
[ 39%] Built target G__ProofPlayer
[ 39%] Built target G__ProofDraw
[ 39%] Built target G__ProofBench
[ 39%] Built target G__Proofx
[ 39%] Built target G__Html
[ 39%] Built target G__EG
[ 39%] Built target G__VMC
[ 39%] Built target G__Pythia6
[ 39%] Built target G__Pythia8
[ 39%] Built target G__Geom
[ 39%] Built target G__GeomBuilder
[ 39%] Built target G__GeomPainter
[ 39%] Built target G__Gdml
[ 39%] Built target G__MemStat
[ 39%] Built target G__PyROOT
[ 39%] Built target G__ODBC
[ 39%] Built target G__SQLite
[ 39%] Built target G__TMVA
[ 39%] Built target G__TMVAGui
[ 39%] Built target G__PyMVA
[ 39%] Built target G__RooFitCore
[ 39%] Built target G__RooFit
[ 40%] Built target G__RooStats
[ 40%] Built target onepcm
[ 40%] Built target Core
[ 40%] Built target Rint
[ 40%] Built target Thread
Scanning dependencies of target MathCore
make[2]: Circular math/mathcore/CMakeFiles/MathCore.dir/G__MathCore.cxx.o <- lib/libMathCore.so dependency dropped.
make[2]: Circular math/mathcore/CMakeFiles/MathCore.dir/src/FitResult.cxx.o <- lib/libMathCore.so dependency dropped.
[ 40%] Building CXX object math/mathcore/CMakeFiles/MathCore.dir/src/FitResult.cxx.o
make[2]: Circular math/mathcore/CMakeFiles/MathCore.dir/src/GoFTest.cxx.o <- lib/libMathCore.so dependency dropped.
[ 40%] Building CXX object math/mathcore/CMakeFiles/MathCore.dir/src/GoFTest.cxx.o
make[2]: Circular math/mathcore/CMakeFiles/MathCore.dir/src/ProbFuncMathCore.cxx.o <- lib/libMathCore.so dependency dropped.
[ 40%] Building CXX object math/mathcore/CMakeFiles/MathCore.dir/src/ProbFuncMathCore.cxx.o
make[2]: Circular math/mathcore/CMakeFiles/MathCore.dir/src/QuantFuncMathCore.cxx.o <- lib/libMathCore.so dependency dropped.
[ 40%] Building CXX object math/mathcore/CMakeFiles/MathCore.dir/src/QuantFuncMathCore.cxx.o
make[2]: Circular math/mathcore/CMakeFiles/MathCore.dir/src/RandomFunctions.cxx.o <- lib/libMathCore.so dependency dropped.
[ 40%] Building CXX object math/mathcore/CMakeFiles/MathCore.dir/src/RandomFunctions.cxx.o
make[2]: Circular math/mathcore/CMakeFiles/MathCore.dir/src/TMath.cxx.o <- lib/libMathCore.so dependency dropped.
[ 40%] Building CXX object math/mathcore/CMakeFiles/MathCore.dir/src/TMath.cxx.o
make[2]: Circular math/mathcore/CMakeFiles/MathCore.dir/src/TRandom.cxx.o <- lib/libMathCore.so dependency dropped.
[ 40%] Building CXX object math/mathcore/CMakeFiles/MathCore.dir/src/TRandom.cxx.o
[ 40%] Linking CXX shared library ../../lib/libMathCore.so
[ 41%] Built target MathCore
[ 41%] Linking CXX shared library ../../lib/libMatrix.so
[ 41%] Built target Matrix
Scanning dependencies of target Hist
[ 41%] Building CXX object hist/hist/CMakeFiles/Hist.dir/G__Hist.cxx.o
/afs/crc.nd.edu/user/j/jlai1/.local/DataAnalysis/FairSoft/tools/root/build_for_fair/hist/hist/G__Hist.cxx:56:2: error: invalid preprocessing directive #includ
#includ// Header files passed via #pragma extra_include
^
/afs/crc.nd.edu/user/j/jlai1/.local/DataAnalysis/FairSoft/tools/root/build_for_fair/hist/hist/G__Hist.cxx:56:8: warning: null character(s) ignored [enabled by default]
#includ// Header files passed via #pragma extra_include
^
/afs/crc.nd.edu/user/j/jlai1/.local/DataAnalysis/FairSoft/tools/root/build_for_fair/hist/hist/G__Hist.cxx:200:62: error: ‘v5’ in namespace ‘ROOT’ does not name a type
{
^
/afs/crc.nd.edu/user/j/jlai1/.local/DataAnalysis/FairSoft/tools/root/build_for_fair/hist/hist/G__Hist.cxx:200:82: error: expected unqualified-id before ‘’ token
{
^
/afs/crc.nd.edu/user/j/jlai1/.local/DataAnalysis/FairSoft/tools/root/build_for_fair/hist/hist/G__Hist.cxx:200:82: error: expected ‘)’ before ‘
’ token
/afs/crc.nd.edu/user/j/jlai1/.local/DataAnalysis/FairSoft/tools/root/build_for_fair/hist/hist/G__Hist.cxx:200:82: error: expected initializer before ‘’ token
/afs/crc.nd.edu/user/j/jlai1/.local/DataAnalysis/FairSoft/tools/root/build_for_fair/hist/hist/G__Hist.cxx:228:50: error: ‘v5’ in namespace ‘ROOT’ does not name a type
{
^
/afs/crc.nd.edu/user/j/jlai1/.local/DataAnalysis/FairSoft/tools/root/build_for_fair/hist/hist/G__Hist.cxx:228:70: error: expected unqualified-id before ‘
’ token

.
.
.
.
.

/afs/crc.nd.edu/user/j/jlai1/.local/DataAnalysis/FairSoft/tools/root/build_for_fair/hist/hist/G__Hist.cxx:3510:19: warning: ‘TClass* ROOT::THnTlEunsignedsPshortgR_Dictionary()’ defined but not used [-Wunused-function]
make[2]: *** [hist/hist/CMakeFiles/Hist.dir/G__Hist.cxx.o] Error 1
make[1]: *** [hist/hist/CMakeFiles/Hist.dir/all] Error 2
make: *** [all] Error 2
**** Checking libraries in /afs/crc.nd.edu/user/j/jlai1/.local/DataAnalysis/FairSoftInst/lib ****
*** ERROR: root could not be created.
create a symbolic linking for Vc library ....
libVc.a not found in lib dirctory
*** End installation of external packages with Errors***

Installation problems of root with OSX Mojave (10.14.5)

Dear all,
I have again a problem installing FairSoft on OSX Mojave (10.14.5). It sounds like issue #114 but the fix by using no optimization and debug does not work for me now.
Does anyone have an idea?

Cheers,
Tobias
Install_100719_215150.log

*** Compiling root ................
mkdir: build_for_fair: File exists
Copied rootconfig.sh ......................
Configure Root ..........................................
macosx64
-- ROOT default compression algorithm: zlib
-- Found a Mac OS X System 10.14
-- Found a 64bit system
-- Found LLVM compiler collection
-- ROOT Platform: macosx
-- ROOT Architecture: macosx64
-- Build Type: Release
-- Compiler Flags: -g -O3 -Wc++11-narrowing -Wsign-compare -Wsometimes-uninitialized -Wconditional-uninitialized -Wheader-guard -Warray-bounds -Wcomment -Wtautological-compare -Wstrncat-size -Wloop-analysis -Wbool-conversion -m64 -pipe -W -Wall -Woverloaded-virtual -fsigned-char -fno-common -Qunused-arguments -pthread -std=c++11 -stdlib=libc++ -DR__HAVE_CONFIG
-- Looking for ZLib
-- Building freetype version 2.6.1 included in ROOT itself
-- Looking for PCRE
-- Looking for LZMA
-- Found LZMA includes at /usr/local/include
-- Found LZMA library at /usr/local/lib/liblzma.dylib
-- Could NOT find GIF (missing: GIF_LIBRARY GIF_INCLUDE_DIR)
-- Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR)
-- Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
-- Building AfterImage library included in ROOT itself
-- Looking for GSL
-- Looking for python
-- Found PythonInterp: /usr/local/bin/python (found version "2.7.16")
CMake Error at cmake/modules/SearchInstalledSoftware.cmake:480 (message):
Version mismatch between Python interpreter (2.7.16) and libraries
(2.7.10).

ROOT cannot work with this configuration. Please specify only
PYTHON_EXECUTABLE to CMake with an absolute path to ensure matching
versions are found.
Call Stack (most recent call first):
CMakeLists.txt:150 (include)

-- Configuring incomplete, errors occurred!
See also "/Users/tstockmanns/PandaSoftware/FairSoft/jun19/source/tools/root/build_for_fair/CMakeFiles/CMakeOutput.log".
See also "/Users/tstockmanns/PandaSoftware/FairSoft/jun19/source/tools/root/build_for_fair/CMakeFiles/CMakeError.log".
make: *** No rule to make target `install'. Stop.
**** Checking libraries in /Users/tstockmanns/PandaSoftware/FairSoft/jun19/build/lib ****
*** ERROR: root could not be created.
create a symbolic linking for Vc library ....
scripts/install_root6.sh: line 69: cd: /Users/tstockmanns/PandaSoftware/FairSoft/jun19/build/lib/root: No such file or directory
ln: ./libVc.a: File exists
---link created ---
*** End installation of external packages with Errors***

boost_python not built with included boost

I tried installing oct17, and I selected to build the python interfaces for ROOT and Geant4. However it fails when linking to boost_python, because this library is not built with boost.

Millepede Build Issues

When compiling MillepedeII, the final step in the creation of the pede executable fails:

*** Downloading MillepedeII sources with subversion***
...
Checked out revision 132.
*** Compiling Millepede ................ 
patching file Makefile
Using gcc version 4.9.1
/usr/bin/gfortran -Wall -fautomatic -fno-backslash -O3 -cpp -fopenmp -DREAD_C_FILES -c mpdef.f90 -o mpdef.o 
/usr/bin/gfortran -Wall -fautomatic -fno-backslash -O3 -cpp -fopenmp -DREAD_C_FILES -c mpdalc.f90 -o mpdalc.o 
/usr/bin/gfortran -Wall -fautomatic -fno-backslash -O3 -cpp -fopenmp -DREAD_C_FILES -c mpmod.f90 -o mpmod.o 
/usr/bin/gfortran -Wall -fautomatic -fno-backslash -O3 -cpp -fopenmp -DREAD_C_FILES -c mpbits.f90 -o mpbits.o 
/usr/bin/gfortran -Wall -fautomatic -fno-backslash -O3 -cpp -fopenmp -DREAD_C_FILES -c mptest1.f90 -o mptest1.o 
/usr/bin/gfortran -Wall -fautomatic -fno-backslash -O3 -cpp -fopenmp -DREAD_C_FILES -c mptest2.f90 -o mptest2.o 
/usr/bin/gfortran -Wall -fautomatic -fno-backslash -O3 -cpp -fopenmp -DREAD_C_FILES -c mille.f90 -o mille.o 
/usr/bin/gfortran -Wall -fautomatic -fno-backslash -O3 -cpp -fopenmp -DREAD_C_FILES -c mpnum.f90 -o mpnum.o 
/usr/bin/gfortran -Wall -fautomatic -fno-backslash -O3 -cpp -fopenmp -DREAD_C_FILES -c mptext.f90 -o mptext.o 
/usr/bin/gfortran -Wall -fautomatic -fno-backslash -O3 -cpp -fopenmp -DREAD_C_FILES -c mphistab.f90 -o mphistab.o 
/usr/bin/gfortran -Wall -fautomatic -fno-backslash -O3 -cpp -fopenmp -DREAD_C_FILES -c minresDataModule.f90 -o minresDataModule.o 
/usr/bin/gfortran -Wall -fautomatic -fno-backslash -O3 -cpp -fopenmp -DREAD_C_FILES -c minresModule.f90 -o minresModule.o 
/usr/bin/gfortran -Wall -fautomatic -fno-backslash -O3 -cpp -fopenmp -DREAD_C_FILES -c minresqlpDataModule.f90 -o minresqlpDataModule.o 
/usr/bin/gfortran -Wall -fautomatic -fno-backslash -O3 -cpp -fopenmp -DREAD_C_FILES -c minresqlpBlasModule.f90 -o minresqlpBlasModule.o 
/usr/bin/gfortran -Wall -fautomatic -fno-backslash -O3 -cpp -fopenmp -DREAD_C_FILES -c minresqlpModule.f90 -o minresqlpModule.o 
/usr/bin/gfortran -Wall -fautomatic -fno-backslash -O3 -cpp -fopenmp -DREAD_C_FILES -c randoms.f90 -o randoms.o 
/usr/bin/gfortran -Wall -fautomatic -fno-backslash -O3 -cpp -fopenmp -DREAD_C_FILES -c vertpr.f90 -o vertpr.o 
/usr/bin/gfortran -Wall -fautomatic -fno-backslash -O3 -cpp -fopenmp -DREAD_C_FILES -c linesrch.f90 -o linesrch.o 
/usr/bin/gfortran -Wall -fautomatic -fno-backslash -O3 -cpp -fopenmp -DREAD_C_FILES -c Dbandmatrix.f90 -o Dbandmatrix.o 
/usr/bin/gfortran -Wall -fautomatic -fno-backslash -O3 -cpp -fopenmp -DREAD_C_FILES -c pede.f90 -o pede.o 
gcc  -c -Wall -O3 -Df2cFortran -DUSE_ZLIB -I=    -o readc.o readc.c
In file included from readc.c:39:0:
cfortran.h:415:14: warning: ‘c2fstrv’ defined but not used [-Wunused-function]
 static char *c2fstrv(char* cstr, char *fstr, int elem_len, int sizeofcstr)
              ^
cfortran.h:432:14: warning: ‘f2cstrv’ defined but not used [-Wunused-function]
 static char *f2cstrv(char *fstr, char* cstr, int elem_len, int sizeofcstr)
              ^
cfortran.h:479:14: warning: ‘vkill_trailing’ defined but not used [-Wunused-function]
 static char *vkill_trailing(char* cstr, int elem_len, int sizeofcstr, char t)
              ^
cfortran.h:522:12: warning: ‘num_elem’ defined but not used [-Wunused-function]
 static int num_elem(char *strv, unsigned elem_len, int term_char, int num_term)
            ^
gcc -Wall -O3 \
        -o pede mpdef.o mpdalc.o mpmod.o mpbits.o mptest1.o mptest2.o mille.o mpnum.o mptext.o mphistab.o minresDataModule.o minresModule.o minresqlpDataModule.o minresqlpBlasModule.o minresqlpModule.o randoms.o vertpr.o linesrch.o Dbandmatrix.o pede.o readc.o -lgfortran -lm -lgomp -L= -lz 
/usr/lib/../lib64/crt1.o: In function `_start':
(.text+0x20): undefined reference to `main'
collect2: error: ld returned 1 exit status
make: *** [pede] Error 1

This error seems to be introduced by Makefile_millipede.patch, which changes the compiler for the fortran files:

-FCOMP = $(OMPP) $(GCC)
+FCOMP = $(OMPP) $(FC)

The final step (involving the LOADER) should then be changed accordingly. Here is a patch for the patch:

From ae7bcba75c3d755d62bc9b9ad25d126f3ec6e27b Mon Sep 17 00:00:00 2001
From: Jan Mayer <[email protected]>
Date: Wed, 19 Nov 2014 15:38:53 +0100
Subject: [PATCH] Use FC when building pede in MillepedeII

---
 basics/Makefile_millepede.patch |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/basics/Makefile_millepede.patch b/basics/Makefile_millepede.patch
index 9da2ab2..855dac8 100644
--- a/basics/Makefile_millepede.patch
+++ b/basics/Makefile_millepede.patch
@@ -18,7 +18,7 @@
  endif
  #
 -LOADER = $(OMPP) $(GCC)
-+LOADER = $(OMPP) $(CC)
++LOADER = $(OMPP) $(FC)
  L_FLAGS = -Wall -O3
  #
  # objects for this project
-- 
1.7.1

Segmentation violation by running Geant4 from dev branch in PandaRoot

Dear FairSoft developers,
I tried to run FairSoft dev with FairRoot dev and PandaRoot dev. But unfortunately the simulation macro of PandaRoot crashes with the following error message:

Info in TObject::SetNavigator: TG4RootNavigator created and registered to G4TransportationManager
isMaster=1

    ############################################
    !!! WARNING - FPE detection is activated !!!
    ############################################

-------- EEEE ------- G4Exception-START -------- EEEE -------
*** G4Exception : PART70001
issued by : G4NuclideTable
ENSDFSTATE.dat is not found.
*** Fatal Exception *** core dump ***

*** Break *** segmentation violation

===========================================================
There was a crash.
This is the entire stack trace of all threads:

#0 0x00007f837559ad97 in waitpid () from /lib64/libc.so.6
#1 0x00007f837551842f in do_system () from /lib64/libc.so.6
#2 0x00007f83766e0f6d in TUnixSystem::Exec (shellcmd=, this=0xdc77c0) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/tools/root/core/unix/src/TUnixSystem.cxx:2119
#3 TUnixSystem::StackTrace (this=0xdc77c0) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/tools/root/core/unix/src/TUnixSystem.cxx:2413
#4 0x00007f83766e3774 in TUnixSystem::DispatchSignals (this=0xdc77c0, sig=kSigSegmentationViolation) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/tools/root/core/unix/src/TUnixSystem.cxx:3644
#5
#6 G4ExceptionHandler::DumpTrackInfo (this=this
entry=0xc44b690) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4/source/run/src/G4ExceptionHandler.cc:150
#7 0x00007f834e06a96c in G4ExceptionHandler::Notify (this=0xc44b690, originOfException=, exceptionCode=, severity=, description=) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4/source/run/src/G4ExceptionHandler.cc:94
#8 0x00007f834d94bd41 in G4Exception (originOfException=originOfException
entry=0x7f834ef47682 "G4NuclideTable", exceptionCode=exceptionCode
entry=0x7f834ef476d9 "PART70001", severity=severity
entry=FatalException, description=description
entry=0x7f834ef476bc "ENSDFSTATE.dat is not found.") at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4/source/global/management/src/G4Exception.cc:46
#9 0x00007f834eec6d37 in G4NuclideTable::GenerateNuclide (this=this
entry=0x7f834f16b200 G4NuclideTable::GetInstance()::instance) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4/source/particles/management/src/G4NuclideTable.cc:191
#10 0x00007f834eec779b in G4NuclideTable::G4NuclideTable (this=0x7f834f16b200 G4NuclideTable::GetInstance()::instance) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4/source/particles/management/src/G4NuclideTable.cc:74
#11 0x00007f834eec7854 in G4NuclideTable::GetInstance () at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4/source/particles/management/src/G4NuclideTable.cc:57
#12 0x00007f834eeb1b79 in G4NuclideTable::GetNuclideTable () at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4/source/particles/management/include/G4NuclideTable.hh:73
#13 G4IonTable::PrepareNuclideTable (this=this
entry=0xc44bec0) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4/source/particles/management/src/G4IonTable.cc:1616
#14 0x00007f834eeb33ac in G4IonTable::G4IonTable (this=0xc44bec0) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4/source/particles/management/src/G4IonTable.cc:142
#15 0x00007f834eed21fd in G4ParticleTable::G4ParticleTable (this=0x7f834f16b460 G4ParticleTable::GetParticleTable()::theParticleTable) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4/source/particles/management/src/G4ParticleTable.cc:150
#16 0x00007f834eed35bc in G4ParticleTable::GetParticleTable () at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4/source/particles/management/src/G4ParticleTable.cc:106
#17 0x00007f834e095822 in G4RunManagerKernel::G4RunManagerKernel (this=0xc4625b0) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4/source/run/src/G4RunManagerKernel.cc:102
#18 0x00007f834e07ef97 in G4RunManager::G4RunManager (this=0xfeec8f0) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4/source/run/src/G4RunManager.cc:107
#19 0x00007f83574d925b in TG4RunManager::ConfigureRunManager (this=this
entry=0xb859140) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4_vmc/source/run/src/TG4RunManager.cxx:235
#20 0x00007f83574da062 in TG4RunManager::TG4RunManager (this=0xb859140, runConfiguration=, argc=, argv=) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4_vmc/source/run/src/TG4RunManager.cxx:128
#21 0x00007f83574dbe94 in TGeant4::TGeant4 (this=0xb893e90, name=, title=, configuration=0xb8bdb90, argc=0, argv=0x0) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4_vmc/source/run/src/TGeant4.cxx:229
#22 0x00007f8376e521e0 in ?? ()
#23 0x000000000b389ef0 in ?? ()
#24 0x000000000b389ef0 in ?? ()
#25 0x000000000b893f80 in ?? ()
#26 0x00007f8370cd62dc in llvm::object::ELFFile<llvm::object::ELFType<(llvm::support::endianness)1, true> >::symbols (Sec=, this=0xe478d0) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/tools/root/interpreter/llvm/src/include/llvm/Object/ELF.h:132
#27 llvm::object::ELFObjectFile<llvm::object::ELFType<(llvm::support::endianness)1, true> >::getSymbolFlags (this=0x7ffebe420c30, Sym=...) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/tools/root/interpreter/llvm/src/include/llvm/Object/ELFObjectFile.h:564
#28 0x00007f8370542691 in std::function<llvm::Expected ()>::operator=(decltype(nullptr)) (this=0x7ffebe420bf0) at /usr/include/c++/7/bits/std_function.h:516
#29 llvm::JITSymbol::getAddress (this=0x7ffebe420bf0) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/tools/root/interpreter/llvm/src/include/llvm/ExecutionEngine/JITSymbol.h:202
#30 llvm::orc::LazyEmittingLayer<llvm::orc::IRCompileLayer<cling::IncrementalJIT::RemovableObjectLinkingLayer, llvm::orc::SimpleCompiler> >::EmissionDeferredModule::find(llvm::StringRef, bool, llvm::orc::IRCompileLayer<cling::IncrementalJIT::RemovableObjectLinkingLayer, llvm::orc::SimpleCompiler>&)::{lambda()#1}::operator()() const (__closure=) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/tools/root/interpreter/llvm/src/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h:75
#31 0x00007ffebe421130 in ?? ()
#32 0x00007f8376e52000 in ?? ()
#33 0x00007f83704d232e in cling::IncrementalExecutor::executeWrapper (returnValue=0x7ffebe421130, function=..., this=0xe90380) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/tools/root/interpreter/cling/lib/Interpreter/IncrementalExecutor.h:196
#34 cling::Interpreter::RunFunction (this=, FD=, res=0x7ffebe421130) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/tools/root/interpreter/cling/lib/Interpreter/Interpreter.cpp:1019
#35 0x00007f83704d2803 in cling::Interpreter::EvaluateInternal (this=this
entry=0xe3aef0, input=..., CO=..., V=V
entry=0x7ffebe421130, T=T
entry=0x0, wrapPoint=, wrapPoint
entry=0) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/tools/root/interpreter/cling/lib/Interpreter/Interpreter.cpp:1274
#36 0x00007f83704d2ff7 in cling::Interpreter::process (this=0xe3aef0, input=..., V=V
entry=0x7ffebe421130, T=T
entry=0x0, disableValuePrinting=disableValuePrinting
entry=false) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/tools/root/interpreter/cling/lib/Interpreter/Interpreter.cpp:723
#37 0x00007f837058c61d in cling::MetaProcessor::process (this=this
entry=0x1477350, input_line=..., compRes=
0x7ffebe421004: cling::Interpreter::kSuccess, result=result
entry=0x7ffebe421130, disableValuePrinting=disableValuePrinting
entry=false) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/tools/root/interpreter/cling/lib/MetaProcessor/MetaProcessor.cpp:341
#38 0x00007f837043355e in HandleInterpreterException (metaProcessor=0x1477350, input_line=, compRes=
0x7ffebe421004: cling::Interpreter::kSuccess, result=result
entry=0x7ffebe421130) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/tools/root/core/metacling/src/TCling.cxx:2163
#39 0x00007f83704431e7 in TCling::ProcessLine (this=0xe3a600, line=, error=0x0) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/tools/root/core/metacling/src/TCling.cxx:2321
#40 0x00007f83765955c9 in TApplication::ProcessLine (this=0xe24aa0, line=, sync=, err=0x0) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/tools/root/core/base/src/TApplication.cxx:1031
#41 0x00007f8376513bf9 in TROOT::ProcessLine (this=0x7f83769f3f00 ROOT::Internal::GetROOT1()::alloc, line=line
entry=0x7f83672fc8ab "Config()", error=error
entry=0x0) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/tools/root/core/base/src/TROOT.cxx:2373
#42 0x00007f836727847c in FairRunSim::SetMCConfig (this=this
entry=0x3e50f40) at /home/tstockmanns/PandaSoftware/FairRoot/dev/source/base/steer/FairRunSim.cxx:424
#43 0x00007f836727b789 in FairRunSim::Init (this=0x3e50f40) at /home/tstockmanns/PandaSoftware/FairRoot/dev/source/base/steer/FairRunSim.cxx:245
#44 0x00007f8376e70676 in ?? ()
#45 0x0000000003d05e30 in ?? ()
#46 0xc9e932701a5e1e00 in ?? ()
#47 0x00007f83705349c0 in ?? () from /home/tstockmanns/PandaSoftware/FairSoft/dev/build/lib/root/libCling.so
#48 0x0000000003d8b6f0 in ?? ()
#49 0x00007ffebe4225b0 in ?? ()
#50 0x00007ffebe4225e0 in ?? ()
#51 0x0000000003d05e30 in ?? ()
#52 0x0000000000000000 in ?? ()

The lines below might hint at the cause of the crash.
You may get help by asking at the ROOT forum http://root.cern.ch/forum
Only if you are really convinced it is a bug in ROOT then please submit a
report at http://root.cern.ch/bugs Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.

#6 G4ExceptionHandler::DumpTrackInfo (this=this
entry=0xc44b690) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4/source/run/src/G4ExceptionHandler.cc:150
#7 0x00007f834e06a96c in G4ExceptionHandler::Notify (this=0xc44b690, originOfException=, exceptionCode=, severity=, description=) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4/source/run/src/G4ExceptionHandler.cc:94
#8 0x00007f834d94bd41 in G4Exception (originOfException=originOfException
entry=0x7f834ef47682 "G4NuclideTable", exceptionCode=exceptionCode
entry=0x7f834ef476d9 "PART70001", severity=severity
entry=FatalException, description=description
entry=0x7f834ef476bc "ENSDFSTATE.dat is not found.") at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4/source/global/management/src/G4Exception.cc:46
#9 0x00007f834eec6d37 in G4NuclideTable::GenerateNuclide (this=this
entry=0x7f834f16b200 G4NuclideTable::GetInstance()::instance) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4/source/particles/management/src/G4NuclideTable.cc:191
#10 0x00007f834eec779b in G4NuclideTable::G4NuclideTable (this=0x7f834f16b200 G4NuclideTable::GetInstance()::instance) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4/source/particles/management/src/G4NuclideTable.cc:74
#11 0x00007f834eec7854 in G4NuclideTable::GetInstance () at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4/source/particles/management/src/G4NuclideTable.cc:57
#12 0x00007f834eeb1b79 in G4NuclideTable::GetNuclideTable () at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4/source/particles/management/include/G4NuclideTable.hh:73
#13 G4IonTable::PrepareNuclideTable (this=this
entry=0xc44bec0) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4/source/particles/management/src/G4IonTable.cc:1616
#14 0x00007f834eeb33ac in G4IonTable::G4IonTable (this=0xc44bec0) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4/source/particles/management/src/G4IonTable.cc:142
#15 0x00007f834eed21fd in G4ParticleTable::G4ParticleTable (this=0x7f834f16b460 G4ParticleTable::GetParticleTable()::theParticleTable) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4/source/particles/management/src/G4ParticleTable.cc:150
#16 0x00007f834eed35bc in G4ParticleTable::GetParticleTable () at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4/source/particles/management/src/G4ParticleTable.cc:106
#17 0x00007f834e095822 in G4RunManagerKernel::G4RunManagerKernel (this=0xc4625b0) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4/source/run/src/G4RunManagerKernel.cc:102
#18 0x00007f834e07ef97 in G4RunManager::G4RunManager (this=0xfeec8f0) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4/source/run/src/G4RunManager.cc:107
#19 0x00007f83574d925b in TG4RunManager::ConfigureRunManager (this=this
entry=0xb859140) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4_vmc/source/run/src/TG4RunManager.cxx:235
#20 0x00007f83574da062 in TG4RunManager::TG4RunManager (this=0xb859140, runConfiguration=, argc=, argv=) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4_vmc/source/run/src/TG4RunManager.cxx:128
#21 0x00007f83574dbe94 in TGeant4::TGeant4 (this=0xb893e90, name=, title=, configuration=0xb8bdb90, argc=0, argv=0x0) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant4_vmc/source/run/src/TGeant4.cxx:229
#22 0x00007f8376e521e0 in ?? ()
#23 0x000000000b389ef0 in ?? ()
#24 0x000000000b389ef0 in ?? ()
#25 0x000000000b893f80 in ?? ()
#26 0x00007f8370cd62dc in llvm::object::ELFFile<llvm::object::ELFType<(llvm::support::endianness)1, true> >::symbols (Sec=, this=0xe478d0) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/tools/root/interpreter/llvm/src/include/llvm/Object/ELF.h:132
#27 llvm::object::ELFObjectFile<llvm::object::ELFType<(llvm::support::endianness)1, true> >::getSymbolFlags (this=0x7ffebe420c30, Sym=...) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/tools/root/interpreter/llvm/src/include/llvm/Object/ELFObjectFile.h:564
#28 0x00007f8370542691 in std::function<llvm::Expected ()>::operator=(decltype(nullptr)) (this=0x7ffebe420bf0) at /usr/include/c++/7/bits/std_function.h:516
#29 llvm::JITSymbol::getAddress (this=0x7ffebe420bf0) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/tools/root/interpreter/llvm/src/include/llvm/ExecutionEngine/JITSymbol.h:202
#30 llvm::orc::LazyEmittingLayer<llvm::orc::IRCompileLayer<cling::IncrementalJIT::RemovableObjectLinkingLayer, llvm::orc::SimpleCompiler> >::EmissionDeferredModule::find(llvm::StringRef, bool, llvm::orc::IRCompileLayer<cling::IncrementalJIT::RemovableObjectLinkingLayer, llvm::orc::SimpleCompiler>&)::{lambda()#1}::operator()() const (__closure=) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/tools/root/interpreter/llvm/src/include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h:75
#31 0x00007ffebe421130 in ?? ()
#32 0x00007f8376e52000 in ?? ()
#33 0x00007f83704d232e in cling::IncrementalExecutor::executeWrapper (returnValue=0x7ffebe421130, function=..., this=0xe90380) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/tools/root/interpreter/cling/lib/Interpreter/IncrementalExecutor.h:196
#34 cling::Interpreter::RunFunction (this=, FD=, res=0x7ffebe421130) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/tools/root/interpreter/cling/lib/Interpreter/Interpreter.cpp:1019
#35 0x00007f83704d2803 in cling::Interpreter::EvaluateInternal (this=this
entry=0xe3aef0, input=..., CO=..., V=V
entry=0x7ffebe421130, T=T
entry=0x0, wrapPoint=, wrapPoint
entry=0) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/tools/root/interpreter/cling/lib/Interpreter/Interpreter.cpp:1274
#36 0x00007f83704d2ff7 in cling::Interpreter::process (this=0xe3aef0, input=..., V=V
entry=0x7ffebe421130, T=T
entry=0x0, disableValuePrinting=disableValuePrinting
entry=false) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/tools/root/interpreter/cling/lib/Interpreter/Interpreter.cpp:723
#37 0x00007f837058c61d in cling::MetaProcessor::process (this=this
entry=0x1477350, input_line=..., compRes=
0x7ffebe421004: cling::Interpreter::kSuccess, result=result
entry=0x7ffebe421130, disableValuePrinting=disableValuePrinting
entry=false) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/tools/root/interpreter/cling/lib/MetaProcessor/MetaProcessor.cpp:341
#38 0x00007f837043355e in HandleInterpreterException (metaProcessor=0x1477350, input_line=, compRes=
0x7ffebe421004: cling::Interpreter::kSuccess, result=result
entry=0x7ffebe421130) at /home/tstockmanns/PandaSoftware/FairSoft/dev/source/tools/root/core/metacling/src/TCling.cxx:2163

Problems with libgeant4vmc.so in combination with FairRoot and PandaRoot

Dear developers,

I am running the may18 FairSoft version on my Linux machine (openSUSE Leap 42.3). I tried to do a simulation with PandaRoot (dev) using also FairRoot v18.0.4.
My simulation crashes right after starting it with the following error message:

Processing /home/ikp1/puetz/panda/myscripts/simChain/SimTask/sim_complete.C(10,"./decayFiles/all_mychannel.dec",4.6,"XiRes_newRelease",2704)...
cling::DynamicLibraryManager::loadLibrary(): /home/ikp1/puetz/panda/PandaSoftware/FairSoft/may18/build/lib/libgeant4vmc.so: undefined symbol: _ZN4ROOT14DefineBehaviorEPvS0_
Error in <TInterpreter::TCling::AutoLoad>: failure loading library Master.so for PndMasterRunSim
In file included from input_line_10:1:
/home/ikp1/puetz/panda/myscripts/simChain/SimTask/sim_complete.C:34:3: error: unknown type name 'PndMasterRunSim'
  PndMasterRunSim *fRun = new PndMasterRunSim();
  ^
/home/ikp1/puetz/panda/myscripts/simChain/SimTask/sim_complete.C:34:31: error: unknown type name 'PndMasterRunSim'
  PndMasterRunSim *fRun = new PndMasterRunSim();

The installation of FairSoft went smooth without any error. I re-did the full installation chain to make sure, that everything is set properly. But the error is still there.

I would be glad, if someone of you could help me.

Best regards,
Jenny Puetz

Python bindings for G4 fail

Dear developers,

I try to install FairSoft on a new MacBook Pro with OSX 10.13.4.
If I choose the installation with python bindings the installation of Geant4 fails because the library libboost_python is not found. The installation of boost creates libboost_python27 libraries.
Introducing a symbolic link in the lib folder solves this problem.

Cheers, Tobias

dev installation of gtest fails

Dear FairSoft developers,

I did not manage to compile the dev version of FairSoft on my Suse Linux machine. It stops with the following log output during the installation of gtest:

The build process for the external packages for the FairRoot Project was started at 260319_144018

Use these cached settings:

compiler=gcc
debug=yes
optimize=yes
build_MQOnly=no
geant4_download_install_data_automatic=yes
geant4_install_data_from_dir=no
geant4mt=no
build_root6=yes
build_python=yes
install_sim=yes
SIMPATH_INSTALL=/home/panda/PandaSoftware/FairSoft/dev/FairSoft_build
platform=linux

Ok [Y/n]:
*** Compiling the external packages with the GCC compiler
*** Building the libraries with best optimization and debug information
----------------- Install FairSoft ---------------
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- 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: /usr/bin/g++
-- Check for working CXX compiler: /usr/bin/g++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- The Fortran compiler identification is GNU 4.8.5
-- Check for working Fortran compiler: /usr/bin/gfortran
-- Check for working Fortran compiler: /usr/bin/gfortran -- works
-- Detecting Fortran compiler ABI info
-- Detecting Fortran compiler ABI info - done
-- Checking whether /usr/bin/gfortran supports Fortran 90
-- Checking whether /usr/bin/gfortran supports Fortran 90 -- yes
-- Found GCC Version >= 4.8
-- Found all necessary compilers.
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so
-- Looking for XOpenDisplay in /usr/lib64/libX11.so;/usr/lib64/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib64/libX11.so
-- Found all necessary X11 features.
-- Found OpenGL: /usr/lib64/libGL.so
-- Found all necessary OpenGL features.
-- Found CURL: /usr/lib64/libcurl.so (found version "7.37.0")
-- Found OpenSSL: /usr/lib64/libssl.so;/usr/lib64/libcrypto.so (found version "1.0.2j")
-- Found all necessary programs in PATH.
-- Performing Test HAS_CXX11
-- Performing Test HAS_CXX11 - Success
-- Current compiler does suppport -std=c++11 option.
-- Performing Test HAS_LIBCXX
-- Performing Test HAS_LIBCXX - Failed
-- Current compiler does not suppport -stdlib=libc++
-- Found PythonInterp: /usr/bin/python (found version "2.7.13")
-- Found PythonLibs: /usr/lib64/libpython2.7.so (found version "2.7.13")
-- Found Subversion: /usr/bin/svn (found version "1.9.7")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/panda/PandaSoftware/FairSoft/dev/FairSoft_source/test/build
The following parameters are set.
System : 64bit
C++ compiler : g++
C compiler : gcc
Fortran compiler : gfortran
CXXFLAGS : -g -O3 -std=c++11
CFLAGS : -g -O3
FFLAGS : -g -O3
CMAKE BUILD TYPE : RelWithDebInfo
Compiler : gcc
Fortran compiler : gfortran
Debug : yes
Optimization : yes
Platform : linux
Architecture : linuxx8664gcc
G4System : Linux-g++
g4_data_files :
g4_get_data :
build G4 with MT : no
Number of parallel
processes for build : 8
Installation Directory: /home/panda/PandaSoftware/FairSoft/dev/FairSoft_build
*** CMake compiled successfully ***
*** Compiling gtest ................
-- Configuring done
-- Generating done
-- Build files have been written to: /home/panda/PandaSoftware/FairSoft/dev/FairSoft_source/basics/gtest/build
make: *** No rule to make target 'install'. Schluss.
**** Checking libraries in /home/panda/PandaSoftware/FairSoft/dev/FairSoft_build/lib ****
*** ERROR: gtest could not be created.
*** End installation of external packages with Errors***

Removing XRootD in the last release of FairSoft

Good day, all.
We have just moved our experiment software (BmnRoot) from may18p1 FairSoft release to the newest release (jun19p1), but encountered with the following problem:
now FairSoft doesn't include XRootD anymore. We have been using files in ROOT macros located at our remote EOS storage via XRootD (with the "root://" prefix), but now we can't.
Why was XRootD removed from FairSoft and Can you advice how is better to solve it?
Thank you.
With respect, Konstantin.

FairSoft installation of Jul15 fails on openSUSE 13.1

In the installation of the external packages I get an error about a missing header file: gssapi/gssapi_generic.h
On OSX it works.

The complete error message is here:
Making all in src
make[1]: Entering directory /private/fairsoft/jul15/basics/zeromq-4.1.0/src' make all-am make[2]: Entering directory/private/fairsoft/jul15/basics/zeromq-4.1.0/src'
CXX libzmq_la-gssapi_mechanism_base.lo
In file included from gssapi_mechanism_base.cpp:34:0:
gssapi_mechanism_base.hpp:28:35: fatal error: gssapi/gssapi_generic.h: No such file or directory
#include <gssapi/gssapi_generic.h>
^
compilation terminated.
make[2]: *** [libzmq_la-gssapi_mechanism_base.lo] Error 1
make[2]: Leaving directory /private/fairsoft/jul15/basics/zeromq-4.1.0/src' make[1]: *** [all] Error 2 make[1]: Leaving directory/private/fairsoft/jul15/basics/zeromq-4.1.0/src'
make: *** [all-recursive] Error 1
Making install in src
make[1]: Entering directory /private/fairsoft/jul15/basics/zeromq-4.1.0/src' CXX libzmq_la-gssapi_mechanism_base.lo In file included from gssapi_mechanism_base.cpp:34:0: gssapi_mechanism_base.hpp:28:35: fatal error: gssapi/gssapi_generic.h: No such file or directory #include <gssapi/gssapi_generic.h> ^ compilation terminated. make[1]: *** [libzmq_la-gssapi_mechanism_base.lo] Error 1 make[1]: Leaving directory/private/fairsoft/jul15/basics/zeromq-4.1.0/src'
make: *** [install-recursive] Error 1
**** Checking libraries in /private/fairsoft/jul15_build/lib ****
** ERROR: zeromq could not be created.
* End installation of external packages with Errors

Geant3 installation in dev branch fails

Hi developers,

I try to install FairSoft on my new MacBook Pro with OSX 10.13.4.
The installation of Geant3 fails with the following error messages (which is followed by many more of this type):

[ 98%] Building C object CMakeFiles/geant321.dir/minicern/cfseek.c.o
/Users/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant3/gcalor/gcalor.F:3221:18:

    40 CALL CERROR('CALSGM1$')
                  1
Error: Actual argument contains too few elements for dummy argument 'carg' (8/50) at (1)
/Users/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant3/gcalor/gcalor.F:3230:37:

       IF(EM.LT.ENRGY(1)) CALL CERROR('CALSGM2$')
                                     1
Error: Actual argument contains too few elements for dummy argument 'carg' (8/50) at (1)
/Users/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant3/gcalor/gcalor.F:3234:18:

       CALL CERROR('CALSGM3$')
                  1
Error: Actual argument contains too few elements for dummy argument 'carg' (8/50) at (1)
/Users/tstockmanns/PandaSoftware/FairSoft/dev/source/transport/geant3/gcalor/gcalor.F:12853:60:

Checking cmake installation error

Hi.

We're using SL 6.1 64bit and I tried to install newer version of FairSoft july14 on it.
I got error like this.

*** Compiling the external packages with the GCC compiler
*** Building the libraries with best optimization
scripts/check_system.sh: line 381: cmake: command not found

There have been problems found. Please check the output above.

The line 381 is just cmake ...
I commented out that line and worked fine.

I also tried on my Mac running 10.9.4 and it doesn't give me any error message.
Just for your information.

Thanks

Install clang for C++14 support?

Dear Devs,
While writing code, I happened to note that rather useful C++14 Features (generic lambdas, deduced return types), which have been working in both clang and gcc for more than five years, are not usable in downstream projects because we only require C++11.
This can be easily fixed locally by inserting a
set(CMAKE_CXX_FLAGS -std=c++14)
in the downstream project CMakeList.txt after the check_compiler() call, but my colleagues might be unappreciative of me unilaterally increasing compiler dependencies.
Is it feasible either to add C++14 compatibility as a requirement for FairSoft/FairRoot or just to package a decent C++ compiler (like clang), just like we already package a lot non-physics software (like cmake, gsl, boost) in FairSoft? This would mean one could directly jump to C++17.
Given that FairSoft takes more than six Gigabytes on my system, another one or so for clang+llvm might not seem so bad.
If you would be interested, I could try my luck at writing a clang install script for FairSoft.

Build with GCC 7 fails

Build with GCC7 fails because of warnings treated as errors (-Werror):
-Werror=implicit-fallthrough on several locations in "xrootd-4.5.0.tar.gz" and "flatbuffers"
-Werror=format-trunctaion on several locations in "xrootd-4.5.0.tar.gz"
-Werror=fromat-overflow on several locations in "xrootd-4.5.0.tar.gz"
These errors may occur also in other places, but the build stops at "flatbuffers".

Note: this in addition to a gigantic amount of other warnings that are, thankfully, not fatal.


In file included from /tmp/xrootd-4.5.0-27228/xrootd-4.5.0/src/XrdCns/XrdCnsLogRec.cc:37:0:
/tmp/xrootd-4.5.0-27228/xrootd-4.5.0/src/./XrdCns/XrdCnsLogRec.hh: In constructor ‘XrdCnsLogRec::XrdCnsLogRec(char)’:
/tmp/xrootd-4.5.0-27228/xrootd-4.5.0/src/./XrdCns/XrdCnsLogRec.hh:194:22: error: ‘snprintf’ output truncated before the last format character [-Werror=format-truncation=]
                      XrdCnsLogRec(const char rType=0) : Next(0)
                      ^~~~~~~~~~~~
/tmp/xrootd-4.5.0-27228/xrootd-4.5.0/src/./XrdCns/XrdCnsLogRec.hh:174:56: note: ‘snprintf’ output between 13 and 21 bytes into a destination of size 12
                                                snprintf(Rec.Data.SorT,
                                                ~~~~~~~~^~~~~~~~~~~~~~~
                                                sizeof(Rec.Data.SorT), "%12ld",
                                                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                        TOD-tBase);
                                                        ~~~~~~~~~~
[  1%] Building CXX object src/CMakeFiles/XrdUtils.dir/XProtocol/XProtocol.cc.o
/tmp/xrootd-4.5.0-27228/xrootd-4.5.0/src/XrdCns/XrdCnsLogRec.cc: In member function ‘int XrdCnsLogRec::setData(const char*, const char*)’:
/tmp/xrootd-4.5.0-27228/xrootd-4.5.0/src/XrdCns/XrdCnsLogRec.cc:151:5: error: ‘snprintf’ output truncated before the last format character [-Werror=format-truncation=]
 int XrdCnsLogRec::setData(const char *dP1, const char *dP2)
     ^~~~~~~~~~~~
In file included from /tmp/xrootd-4.5.0-27228/xrootd-4.5.0/src/XrdCns/XrdCnsLogRec.cc:37:0:
/tmp/xrootd-4.5.0-27228/xrootd-4.5.0/src/./XrdCns/XrdCnsLogRec.hh:164:55: note: ‘snprintf’ output 13 bytes into a destination of size 12
                                               snprintf(Rec.Data.SorT,
                                               ~~~~~~~~^~~~~~~~~~~~~~~
                                               sizeof(Rec.Data.SorT), "%12lld",
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                               (Size > 0 ? Size & 0x7fffffffffLL
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                                         : Size));
                                                         ~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [src/CMakeFiles/XrdCnsLib.dir/build.make:87: src/CMakeFiles/XrdCnsLib.dir/XrdCns/XrdCnsLogRec.cc.o] Error 1


/tmp/xrootd-4.5.0-27228/xrootd-4.5.0/src/XrdFrm/XrdFrmConfig.cc: In member function ‘int XrdFrmConfig::Configure(int, char**, int (*)())’:
/tmp/xrootd-4.5.0-27228/xrootd-4.5.0/src/XrdFrm/XrdFrmConfig.cc:269:23: error: this statement may fall through [-Werror=implicit-fallthrough=]
        case 'h': Usage(0);
                  ~~~~~^~~
/tmp/xrootd-4.5.0-27228/xrootd-4.5.0/src/XrdFrm/XrdFrmConfig.cc:270:8: note: here
        case 'k': if (!(bindArg = Say.logger()->ParseKeep(optarg)))
        ^~~~

/tmp/xrootd-4.5.0-27228/xrootd-4.5.0/src/XrdFrm/XrdFrmTransfer.cc: In member function ‘void XrdFrmTransfer::Start()’:
/tmp/xrootd-4.5.0-27228/xrootd-4.5.0/src/XrdFrm/XrdFrmTransfer.cc:486:6: error: ‘%s’ directive writing up to 255 bytes into a region of size between 67 and 69 [-Werror=format-overflow=]
 void XrdFrmTransfer::Start()
      ^~~~~~~~~~~~~~
/tmp/xrootd-4.5.0-27228/xrootd-4.5.0/src/XrdFrm/XrdFrmTransfer.cc:507:21: note: ‘sprintf’ output between 12 and 269 bytes into a destination of size 80
              sprintf(buff1, "%s for %s", xfrP->RetCode ? "failed" : "complete",
              ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                           xfrP->reqData.User);
                                           ~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [src/CMakeFiles/XrdFrm.dir/build.make:231: src/CMakeFiles/XrdFrm.dir/XrdFrm/XrdFrmTransfer.cc.o] Error 1


/tmp/xrootd-4.5.0-27228/xrootd-4.5.0/src/XrdSys/XrdSysError.cc:95:5: error: ‘%d’ directive output truncated writing between 1 and 11 bytes into a region of size 0 [-Werror=format-truncation=]
 int XrdSysError::Emsg(const char *esfx, int ecode, const char *txt1,
     ^~~~~~~~~~~
/tmp/xrootd-4.5.0-27228/xrootd-4.5.0/src/XrdSys/XrdSysError.cc:103:17: note: ‘snprintf’ output between 19 and 29 bytes into a destination of size 16
        {snprintf(ebuff, sizeof(ebuff), "reason unknown (%d)", ecode);
         ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
make[2]: *** [src/CMakeFiles/XrdUtils.dir/build.make:351: src/CMakeFiles/XrdUtils.dir/XrdSys/XrdSysError.cc.o] Error 1


*** Compiling FlatBuffers ................ 
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/FAIR/FairSoft/basics/flatbuffers/build
[  4%] Building CXX object CMakeFiles/flatbuffers.dir/src/reflection.cpp.o
[  4%] Building CXX object CMakeFiles/flatc.dir/src/idl_gen_general.cpp.o
[  8%] Built target flathash
[ 10%] Building CXX object CMakeFiles/flatc.dir/src/reflection.cpp.o
/usr/local/FAIR/FairSoft/basics/flatbuffers/src/reflection.cpp: In function ‘flatbuffers::Offset<const flatbuffers::Table*> flatbuffers::CopyTable(flatbuffers::FlatBufferBuilder&, const reflection::Schema&, const reflection::Object&, const flatbuffers::Table&, bool)’:
/usr/local/FAIR/FairSoft/basics/flatbuffers/src/reflection.cpp:422:13: error: this statement may fall through [-Werror=implicit-fallthrough=]
             }
             ^
/usr/local/FAIR/FairSoft/basics/flatbuffers/src/reflection.cpp:425:11: note: here
           default: {  // Scalars and structs.
           ^~~~~~~
/usr/local/FAIR/FairSoft/basics/flatbuffers/src/reflection.cpp:460:9: error: this statement may fall through [-Werror=implicit-fallthrough=]
         }
         ^
/usr/local/FAIR/FairSoft/basics/flatbuffers/src/reflection.cpp:463:7: note: here
       case reflection::Union:
       ^~~~
/usr/local/FAIR/FairSoft/basics/flatbuffers/src/reflection.cpp: In function ‘flatbuffers::Offset<const flatbuffers::Table*> flatbuffers::CopyTable(flatbuffers::FlatBufferBuilder&, const reflection::Schema&, const reflection::Object&, const flatbuffers::Table&, bool)’:
/usr/local/FAIR/FairSoft/basics/flatbuffers/src/reflection.cpp:422:13: error: this statement may fall through [-Werror=implicit-fallthrough=]
             }
             ^
/usr/local/FAIR/FairSoft/basics/flatbuffers/src/reflection.cpp:425:11: note: here
           default: {  // Scalars and structs.
           ^~~~~~~
/usr/local/FAIR/FairSoft/basics/flatbuffers/src/reflection.cpp:460:9: error: this statement may fall through [-Werror=implicit-fallthrough=]
         }
         ^
/usr/local/FAIR/FairSoft/basics/flatbuffers/src/reflection.cpp:463:7: note: here
       case reflection::Union:
       ^~~~
/usr/local/FAIR/FairSoft/basics/flatbuffers/src/idl_gen_general.cpp: In member function ‘std::__cxx11::string flatbuffers::general::GeneralGenerator::DestinationMask(const flatbuffers::Type&, bool)’:
/usr/local/FAIR/FairSoft/basics/flatbuffers/src/idl_gen_general.cpp:349:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
       if (vectorelem)
       ^~
/usr/local/FAIR/FairSoft/basics/flatbuffers/src/idl_gen_general.cpp:352:5: note: here
     default: return "";
     ^~~~~~~
/usr/local/FAIR/FairSoft/basics/flatbuffers/src/idl_gen_general.cpp: In member function ‘flatbuffers::Type flatbuffers::general::GeneralGenerator::DestinationType(const flatbuffers::Type&, bool)’:
/usr/local/FAIR/FairSoft/basics/flatbuffers/src/idl_gen_general.cpp:302:7: error: this statement may fall through [-Werror=implicit-fallthrough=]
       if (vectorelem)
       ^~
/usr/local/FAIR/FairSoft/basics/flatbuffers/src/idl_gen_general.cpp:305:5: note: here
     default: return type;
     ^~~~~~~
cc1plus: all warnings being treated as errors
cc1plus: all warnings being treated as errors
make[2]: *** [CMakeFiles/flatc.dir/build.make:135: CMakeFiles/flatc.dir/src/reflection.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [CMakeFiles/flatbuffers.dir/build.make:135: CMakeFiles/flatbuffers.dir/src/reflection.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:142: CMakeFiles/flatbuffers.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
cc1plus: all warnings being treated as errors
make[2]: *** [CMakeFiles/flatc.dir/build.make:207: CMakeFiles/flatc.dir/src/idl_gen_general.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/flatc.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
[  2%] Building CXX object CMakeFiles/flatc.dir/src/reflection.cpp.o
/usr/local/FAIR/FairSoft/basics/flatbuffers/src/reflection.cpp: In function ‘flatbuffers::Offset<const flatbuffers::Table*> flatbuffers::CopyTable(flatbuffers::FlatBufferBuilder&, const reflection::Schema&, const reflection::Object&, const flatbuffers::Table&, bool)’:
/usr/local/FAIR/FairSoft/basics/flatbuffers/src/reflection.cpp:422:13: error: this statement may fall through [-Werror=implicit-fallthrough=]
             }
             ^
/usr/local/FAIR/FairSoft/basics/flatbuffers/src/reflection.cpp:425:11: note: here
           default: {  // Scalars and structs.
           ^~~~~~~
/usr/local/FAIR/FairSoft/basics/flatbuffers/src/reflection.cpp:460:9: error: this statement may fall through [-Werror=implicit-fallthrough=]
         }
         ^
/usr/local/FAIR/FairSoft/basics/flatbuffers/src/reflection.cpp:463:7: note: here
       case reflection::Union:
       ^~~~
cc1plus: all warnings being treated as errors
make[2]: *** [CMakeFiles/flatc.dir/build.make:135: CMakeFiles/flatc.dir/src/reflection.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/flatc.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
**** Checking libraries in /usr/local/FAIR/FairSoft/install/lib ****
*** ERROR: FlatBuffers could not be created.
*** End installation of external packages with Errors***

TGeant3 fixes for ROOT 6.14/00

This might be an unnecessary heads up, but here we go again.
It seems that two new virtual funcitons have been added to TVirtualMachine:

void TrackPosition( Float_t& x [...] ) const =0;
void TrackMomentum( Float_t& px [...] ) const =0;

TGeant3 doesn't properly implement these two methods, thus provoking a compile error when TGeantF77 is instantiated --which won't be allowed, since it stays abstract.

The following patch solves the problem in a rather bovine way -if you have something better, please feel free!

--- TGeant3/TGeant3.h_old       2018-07-27 16:48:54.127400497 +0200
+++ TGeant3/TGeant3.h   2018-07-27 16:58:14.701105254 +0200
@@ -676,9 +676,16 @@
   Double_t Xsec(char* reac, Double_t energy, Int_t part, Int_t mate);
   void  TrackPosition(TLorentzVector &xyz) const;
   void  TrackPosition(Double_t &x, Double_t &y, Double_t &z) const;
+  void  TrackPosition(Float_t &x, Float_t &y, Float_t &z ) const {
+    TrackPosition( (Double_t&)x, (Double_t&)y, (Double_t&)z );
+  }
   void  TrackMomentum(TLorentzVector &xyz) const;
   void  TrackMomentum(Double_t &px, Double_t &py, Double_t &pz,
                       Double_t &etot) const;
+  void  TrackMomentum(Float_t &px, Float_t &py, Float_t &pz,
+                      Float_t &etot) const {
+    TrackMomentum( (Double_t&)px, (Double_t&)py, (Double_t&)pz, (Double_t&)etot );
+  }
   Int_t NofVolumes() const;
   Int_t NofVolDaughters(const char* volName) const;
   const char*  VolDaughterName(const char* volName, Int_t i) const;

Fairsoft

Following directions at:
https://panda-wiki.gsi.de/foswiki/bin/view/Computing/PandaRootInstallGit

Attempting to install the may18 branch of FairSoft…

When I do configure.sh, it works up until the point that it attempts to decompress "HepMC-2.06.09.tar.gz", stating that it is unable to do so.
Reading the output of "file HepMC-2.06.09.tar.gz" states that it is a binary file, not a gzipped file. This is not expected.

The "functions.sh" script pulls HepMC-2.06.09.tar.gz file from a URL variable. That URL leads to an old repository for it, rather than http://hepmc.web.cern.ch/hepmc/releases/hepmc2.06.09.tgz
which is the current development page for it, as far as I can tell.

The location where the version of HepMC is specified is:
fairsoft_may18/scripts/package_versions.sh

The relevant section of that file is this line where HepMC url is defined:
export HEPMC_LOCATION="http://lcgapp.cern.ch/project/simu/HepMC/download
export HEPMCVERSION=2.06.09

Thanks for any help you can offer.

Cannot compile root6 on gcc6.2.1

Since some time gcc does not allow used style of notation anymore.

Patch was introduced to ROOT already:
https://root.cern.ch/gitweb/?p=root.git;a=commitdiff;h=f12042c348941214ece48c19477f98e443a05862

Quoting from:
https://sft.its.cern.ch/jira/secure/attachment/18940/0001-Replace-0x1p-61-GNU-or-C-1z-with-pow-2-61.patch

We cannot use 0x1p-61 when compiling with -std=c++11 or -std=c++14.
This is only available starting -std=c++1z or if GNU extensions are
enabled. This was a recent change in GCC 6.0.0 (Tue Mar 15 12:08:31
2016).

installation of python bindings for G4 fail

I cannot install fairsoft, because in the installation of the python bindings for geant4 files that do not exist are trying to be installed/copied. I'm using this version fairsoft https://github.com/FairRootGroup/FairSoft/releases/tag/may18p1 with gcc 8.1.0 and cmake 3.11.4.

CMake Error at source/python3/cmake_install.cmake:51 (file):
file INSTALL cannot find
"/lustre/miifs05/scratch/him-specf/paluma/fairsoft/FairSoft-may18p1/transport/geant4/build_g4py/source/python3/init.pyc".
Call Stack (most recent call first):
source/cmake_install.cmake:58 (include)
cmake_install.cmake:42 (include)

make: *** [install] Error 1
**** Checking libraries in /lustre/miifs05/scratch/him-specf/paluma/fairsoft/may18p1/lib ****
*** ERROR: g4py could not be created.
*** End installation of external packages with Errors***

Missing entry in DYLD_LIBRARY_PATH for OSX

When I run FairSoft jun19p1 with FairRoot v18.2.0 and PandaRoot dev I get a runtime error: Loading Geant3 libraries ...
Error in TMacOSXSystem::FindDynamicLibrary: libgeant321.so does not exist in /Users/tstockmanns/PandaSoftware/PandaRoot/dev/build/lib:/Users/tstockmanns/PandaSoftware/FairRoot/dev/install/lib:/Users/tstockmanns/PandaSoftware/FairSoft/jun19/build/lib/root:/Users/tstockmanns/PandaSoftware/FairSoft/jun19/build/lib64/Geant3-2.7.0/lib:::.:/Users/tstockmanns/PandaSoftware/FairSoft/jun19/build/lib/root:/usr/local/lib:/usr/X11R6/lib:/usr/lib:/lib:/lib/x86_64-linux-gnu:/usr/local/lib64:/usr/lib64:/lib64:
Loading Geant3 libraries ... finished

Adding /Users/tstockmanns/PandaSoftware/FairSoft/jun19/build/lib to the DYLD_LIBRARY_PATH solves this problem.

Experiences Compiling FairSoft (w/ ROOT 5) on OS X El Capitan

Having no timely-pressing task at hand involving *ROOT, I decided to upgrade my OS X to the latest El Capitan version.

Here are some notes on installing FairSoft dev there.

  • OpenSSL: As @fuhlig1 in commit f98b5dc (dev) mentioned, Apple decided OpenSSL to be not stable enough for their product and discontinued including OpenSSL headers. Unfortunately, f98b5dc did not work for me – for me the proper OPENSSL_ROOT_DIR is /usr/local/opt/openssl/, which is also mentioned in the official brew info openssl part. So, in short, adding /opt/openssl/ to Florian's commit fixes this problem.
  • boost: As usual, when downloading boost, you end up with the Sourceforge webpage piped into a file called boost_1_58_0.tar.bz2. The following command extracts the url from the file: grep refresh boost_1_58_0.tar.bz2 | egrep -o 'https?://[^ ">]+' which can then be downloaded with the browser. Sometimes, it worked to pipe the output of this to wget (via xargs) with the additional --content-disposition option, but this was not reliable. This Sourceforge download bug is a major point of annoyance; it's the error I'm solving most of the times here in our institute when others are installing FairSoft.
  • xcode-select: I got the error Error: cannot open file "AvailabilityMacros.h" in .../core/base/inc/RConfig.h:384. This being a fresh upgrade I seem to need to rerun xcode-select --install… Got the hint, among other locations, from here.

By the way: There's a new ROOT version (5.34/34, Oct 2) claiming to fix a RPATH treatment of El Capitan. My guess it has something to do with the last of my errors, but when using 5.34/34, I wasn't able to compile Pluto any longer (although I might also have done something else wrong, I'm not entirely sure).

Do you want me to try ROOT 6 as well?

Missing log file

During installation I get following error:
-- Configuring incomplete errors occured!
See also ..../FairSoft/test/build/CMakeFiles/CMakeOutput.log
The problem is that this file is removed.

Geatn4 Cmake error with FairSoft on OSX Yosemite

Greetings,

I am attempting to install FairSoft on Mac OSX 10.10.5 Xcode 7.1.

The Geant4 part of the build is failing.

CMake Error at cmake/Modules/Geant4MacroUtilities.cmake:125 (message):
Value 'c++11' for variable GEANT4_BUILD_CXXSTD is not allowed

It must be selected from the set: c++98 (DEFAULT: c++98)

Can't compile root on CC7

My recoonly.conf

compiler=gcc
debug=no
optimize=yes
geant4_download_install_data_automatic=no
geant4_install_data_from_dir=no
build_root6=yes
build_python=no
install_sim=no
SIMPATH_INSTALL=$INSTALLDIR

We have the devtoolset 4 enabled.
Using either dev or master I get

*** Compiling root ................
Copied rootconfig.sh ......................
Configure Root ..........................................
patching file geom/geom/src/TGeoShape.cxx
patching file io/io/src/TStreamerInfo.cxx
Hunk #1 FAILED at 1040.
1 out of 1 hunk FAILED -- saving rejects to file io/io/src/TStreamerInfo.cxx.rej
patching file tree/tree/src/TBranchElement.cxx
Hunk #1 succeeded at 3171 (offset -2 lines).
patching file net/netxng/src/TNetXNGFile.cxx
patching file cmake/modules/FindXROOTD.cmake
linuxx8664gcc
-- The C compiler identification is GNU 4.8.5
-- The CXX compiler identification is GNU 4.8.5
-- Check for working C compiler: /bin/gcc
-- Check for working C compiler: /bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
RegularExpression::compile(): Nested *?+.
RegularExpression::compile(): Error in compile.
CMake Error at /usr/share/cmake/Modules/CMakeParseImplicitLinkInfo.cmake:38 (if):
if given arguments:

"Change Dir: /home/testbarth/FairSoft/tools/root/build_for_fair/CMakeFiles/CMakeTmp" "MATCHES" "^( *|.*[/\\])(g++|ld|collect2)[^/\\]*( |\$)" "AND" "NOT" "Change Dir: /home/testbarth/FairSoft/tools/root/build_for_fair/CMakeFiles/CMakeTmp" "MATCHES" "collect2 version "

Regular expression "^( |.[/])(g++|ld|collect2)[^/]*( |$)" cannot
compile
Call Stack (most recent call first):
/usr/share/cmake/Modules/CMakeDetermineCompilerABI.cmake:77 (CMAKE_PARSE_IMPLICIT_LINK_INFO)
/usr/share/cmake/Modules/CMakeTestCCompiler.cmake:75 (CMAKE_DETERMINE_COMPILER_ABI)
CMakeLists.txt:5 (project)

-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
**** Checking libraries in /opt/hackathon-19-04-2016/lib ****
** ERROR: root could not be created.
create a symbolic linking for Vc library ....
libVc.a not found in lib dirctory
* End installation of external packages with Errors

--E-- Cannot unpack package hepmc

Hi,

when I try to run ./configure.sh on a fresh Ubuntu, the script fails with the error

--E-- Cannot unpack package hepmc

I tracked the error down to the source package for HepMC, which is here:

http://lcgapp.cern.ch/project/simu/HepMC/download/HepMC-2.06.09.tar.gz

It appears this entire tar archive is empty (as of 26.02.2019, 10:00):

hexdump -C HepMC-2.06.09.tar.gz 
00000000  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
*
0046621d

I uploaded the last working version of the source file to my Dropbox, can we include the source in this Repo and change the links?

Best wishes,
Roman

jul14p3 :: configure.sh :: Geant3 compile error

Hi! On both Centos/SL 6.5 and Fedora 20 x86_64 i have this error :
Generating /software/physics-tools/FAIR/fairsoft_latest-src/transport/geant3/lib/tgt_linux/libgeant321.so
/usr/bin/ld: gbase/geamon.o: relocation R_X86_64_32 against `.bss' can not be used when making a shared object; recompile with -fPIC
gbase/geamon.o: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [/software/physics-tools/FAIR/fairsoft_latest-src/transport/geant3/lib/tgt_linux/libgeant321.so] Error 1

the stanrge thing is that if i go to transport/geant3 and do make it compiles just fine:

Generating /software/physics-tools/FAIR/fairsoft_latest-src/transport/geant3/tgt_linuxx8664gcc/TGeant3/geant3Cint.cxx
/software/physics-tools/FAIR/fairsoft_latest-src/transport/geant3/tgt_linuxx8664gcc/TGeant3/geant3Cint.cxx
Generating /software/physics-tools/FAIR/fairsoft_latest-src/transport/geant3/lib/tgt_linuxx8664gcc/libgeant321.so

Any idea about this bug? Or a possible workarround?
Thank you!
Adrian

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.