<!-- keep this as a security measure: #uncomment if the subject should only be modifiable by the listed groups # * Set ALLOWTOPICCHANGE = Main.TWikiAdminGroup,Main.CMSAdminGroup # * Set ALLOWTOPICRENAME = Main.TWikiAdminGroup,Main.CMSAdminGroup #uncomment this if you want the page only be viewable by the listed groups # * Set ALLOWTOPICVIEW = Main.TWikiAdminGroup,Main.CMSAdminGroup,Main.CMSAdminReaderGroup --> ---+ Installing ROOT ROOT installations are located in =/swshare/ROOT=, which also contains the init files linked to the latest installed version. Installations are performed as =cmssgm=, on some UI ---++ Step by step instructions * Download the latest version from here: http://root.cern.ch/drupal/content/downloading-root. Save it in =/scratch/cmssgm=. * untar it * Copy and modify the standard cfg options from here: =/swshare/ROOT/ROOT_configuration=, into the =root/= directory created by the untar * You should at least modify the =--prefix= and =--etcdir= settings * From the =/scratch/cmssgm/root/= directory, run =./configure `cat ROOT_configuration`= * =make && make install= * Copy back =ROOT_configuration= to the new ROOT directory, e.g. =/swshare/ROOT/root_v5.32.00_slc5_amd64/= * Update =/swshare/ROOT/thisroot.(c)sh= * Send an email to cms-tier3-users@lists.psi.ch ---++ Examples * Example of installation, as *cmssgm*: <verbatim> cd /scratch/cmssgm wget ftp://root.cern.ch/root/root_v5.32.00.source.tar.gz tar xvzf root_v5.32.00.source.tar.gz cd root cp /swshare/ROOT/ROOT_configuration . emacs -nw ROOT_configuration ./configure `cat ROOT_configuration` make make install cp ROOT_configuration /swshare/ROOT/root_v5.32.00_slc5_amd64/ cd /swshare/ROOT emacs -nw thisroot.sh emacs -nw thisroot.csh </verbatim> * Example of =ROOT_configuration= <verbatim> linuxx8664gcc --enable-builtin-pcre --enable-builtin-freetype --enable-builtin-ftgl --enable-cintex --enable-dcache --enable-explicitlink --enable-gdml --enable-genvector --enable-krb5 --enable-mathmore --enable-minuit2 --enable-mysql --enable-python --enable-qt --enable-qtgsi --enable-reflex --enable-roofit --enable-table --enable-unuran --prefix=/swshare/ROOT/root_v5.32.00_slc5_amd64/ --etcdir=/swshare/ROOT/root_v5.32.00_slc5_amd64/etc </verbatim> ---++ Details ---+++ Debug Versions to build a debug version add the following line <verbatim> --build=debug </verbatim> make sure to set different prefix and etcdir variables! ---+++ Xrootd Issues If you install on a machine with a new Xrootd version make sure that =xrootd-private-devel= is installed and add the following lines <verbatim> --with-xrootd-incdir /usr/include/xrootd/ --with-xrootd-incdir /usr/include/xrootd/private/ </verbatim> ---+++ preview versions same procedure as above but get the code with <verbatim> cd root git tag -l git checkout -b <tag> <tag> </verbatim> ---+++ ROOT6 remove <pre>--with-reflex</pre> and <pre>--with-cintex</pre> from configuration file need package <pre>python26-devel.x86_64</pre> use more up to date compiler versions with <verbatim> scl enable devtoolset-1.1 bash </verbatim> and the following hacks <verbatim> export PYTHON=/usr/bin/python26 ln -s /usr/bin/python26 ./bin/python export PATH=./bin/:$PATH </verbatim> ---++++ Known Bugs * allDict.cxx points to install paths (configuration mistake?) * https://sft.its.cern.ch/jira/browse/ROOT-5466 -- Main.DanielMeister - 2012-11-26
This topic: CmsTier3
>
WebHome
>
AdminArea
>
RootInstallation
Topic revision: r7 - 2014-01-10 - DanielMeister
Copyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback