Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  15 Jul 2015, Konstantin Olchanski, Info, ROOT support in flux 
    Reply  22 Jul 2015, Konstantin Olchanski, Info, ROOT support in flux 
       Reply  22 Jul 2015, Konstantin Olchanski, Info, ROOT support in flux 
          Reply  29 Jul 2015, Konstantin Olchanski, Info, ROOT support in flux 
Message ID: 1086     Entry time: 29 Jul 2015     In reply to: 1074
Author: Konstantin Olchanski 
Topic: Info 
Subject: ROOT support in flux 
The preliminary version of the .bashrc blurb looks like this
(a couple of flaws:
1) identification of CentOS7 is incomplete - please send me a patch
fixed -> 2) there should be a check for root-config already in the PATH, as on Ubuntu, the ROOT package 
may be installed in /usr and root-
config may be already in the path - please send me patch).

if [ -x $(which root-config) ]; then 
    # root already in the PATH 
    true 
elif [ `uname -i` == "i386" ]; then 
    . /daq/daqshare/olchansk/root/root_v5.34.01_SL62_32/bin/thisroot.sh 
    true 
elif [ `lsb_release -r -s` == "7.1.1503" ]; then 
    #. /daq/daqshare/olchansk/root/root_v5.34.32_SL66_64/bin/thisroot.sh 
    true 
else 
     . /daq/daqshare/olchansk/root/root_v5.34.32_SL66_64/bin/thisroot.sh 
     true 
fi 
ELOG V3.1.4-2e1708b5