项目作者: wdbm

项目描述 :
ROOT environment setup
高级语言: Shell
项目地址: git://github.com/wdbm/soil.git
创建时间: 2014-11-01T20:30:11Z
项目社区:https://github.com/wdbm/soil

开源协议:GNU Lesser General Public License v3.0

下载


soil

ROOT environment setup

usage

The program setup.sh installs ROOT dependencies and a version of ROOT.

The program soil.sh sets up ROOT and PyROOT environment variables. It should be at the same directory as the directory “root” and sourced.

This program has been tested with the following ROOT versions:

  • 5.34.18
  • 6.00.00
  • 6.01.02
  • 6.03.01
  • 6.07.07
  • 6.08.00
  • 6.08.02

compile ROOT 6.16.00 with Python 3 and JupyROOT for Ubuntu 18.04 LTS

  1. mkdir -p ~/ROOT/root_v6.16.00
  2. cd ~/ROOT/root_v6.16.00
  3. wget https://root.cern.ch/download/root_v6.16.00.source.tar.gz
  4. tar -xvf root_v6.16.00.source.tar.gz
  5. rm root_v6.16.00.source.tar.gz
  6. mkdir root
  7. cd root
  8. cmake ../root-6.16.00/ -DPYTHON_EXECUTABLE=/usr/bin/python3 -Dpython3=ON
  9. time cmake --build . -- -j"$(nproc)"
  10. # 2019-05-16T1850Z 27m40.939s
  11. cmake ../root_v6.16.00.Linux-ubuntu16-x86_64-gcc5.4 -DPYTHON_EXECUTABLE=/usr/bin/python3 -Dpython3=ON
  12. sudo su
  13. source /home/user/ROOT/root_v6.16.00/root/bin/thisroot.sh
  14. git clone git://github.com/rootpy/root_numpy.git
  15. cd root_numpy
  16. python3 setup.py install
  17. cd ..
  18. rm -rf root_numpy
  19. pip3 install root_pandas