GSI Forum
GSI Helmholtzzentrum für Schwerionenforschung

Home » R3BRoot » Installation and Compilation » Error in creating R3BRoot Docker container
Re: Error in creating R3BRoot Docker container [message #24989 is a reply to message #24987] Fri, 12 June 2020 16:11 Go to previous messageGo to previous message
Jan Mayer is currently offline  Jan Mayer
Messages: 20
Registered: August 2015
occasional visitor
From: *nc.de
Hello,

upexps contains listmode unpackers for individual experiments. You can skip it for the moment until you need to analyze experiments from raw data.


Additional notes:
If you want to use ROOT in Python, including Jupyter Notebooks/Lab, you'll need to make sure a modern Python version is installed and that FairSoft is building ROOT against that Python.
As the releases of FairSoft as well as the master branch are quite a bit behind on updating ROOT, I've found it necessary to modify tools/rootconfig.sh

if [ "$build_python" = "yes" ];
    then
-      PYTHONBUILD="-Dpython=ON"
+      PYTHONBUILD="-Dpython=ON -DPYTHON_INCLUDE_DIR=/home/jmayer/.pyenv/versions/3.7.6/include/python3.7m -DPYTHON_LIBRARY=/home/jmayer/.pyenv/versions/3.7.6/lib/libpython3.7m.so -DPYTHON_EXECUTABLE=/home/jmayer/.pyenv/versions/3.7.6/bin/python"
    else
       PYTHONBUILD="-Dpython=OFF"
    fi


and disable g4py in configure.sh, as it didn't build for me. Newer versions of ROOT integrate better with both Python and Jupyter.


I have a few Jupyter Lab projects using ROOT/FairRoot/R3BRoot in Python, e.g., https://github.com/janmayer/NeuLAND-132Sn and https://github.com/janmayer/NeuLAND-reconstruction-ml - I hope this is helpful.


Jan
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: error during installation: protocol https not supported
Goto Forum:
  


Current Time: Sun Feb 28 07:10:40 CET 2021

Total time taken to generate the page: 0.02283 seconds