ALICE:AliRoot

ROOT
cmake ../xrootd-4.6.0/ -DCMAKE_INSTALL_PREFIX=/cern/xrootd-4.6.0 make; make install cd /cern; ln -s xrootd-4.6.0 xrootd
 * XRootD

cd /cern git clone --depth 1 http://root.cern.ch/git/root.git root_master ln -s root_master root          # ROOTSYS="/cern/root" mkdir root_master_build/ cd root_master_build/ cmake /cern/root_master -Dtmva=OFF -Dmathmore=OFF -Dhttp=ON -DXROOTD_ROOT_DIR=/cern/xrootd -DCMAKE_INSTALL_PREFIX=/cern/root_master make make install
 * ROOT
 * https://root.cern.ch/building-root
 * install in and build in  (out of source directory)

cd /cern/root_master_build git -C /cern/root_master pull make make install
 * update

make  # build LibFormat library cd /cern/root_master_build/interpreter/llvm/src/tools/clang/tools/clang-format make  # build ClangFormat stand-alone tool
 * to start from a clean configuration it is recommended to delete the file
 * by default
 * don't try (install files and up-to-date files => make install and make loop)
 * for building from ROOT LLVM/Clang source code add CMake variable

cd /cern git clone --depth 1 -b v5-34-00-patches http://root.cern.ch/git/root.git root_v5-34-00-patches ln -s root_v5-34-00-patches root # ROOTSYS="/cern/root" cd root_v5-34-00-patches ./configure --with-xrootd=/cern/xrootd --enable-roofit --enable-minuit2 --enable-http make make install
 * ROOT5

git clone
2017-03-20 total size => du -hs dir_name total files => find dir_name -type f | wc -l

[] git clone --depth 1 -b v5-34-00-patches http://root.cern.ch/git/root.git root_v5-34-00-patches  => 280 MB, 11854 files Cloning into 'root_v5-34-00-patches'... remote: Counting objects: 12792, done. remote: Compressing objects: 100% (11256/11256), done. Receiving objects: 100% (12792/12792), 72.59 MiB | 13.82 MiB/s, done. remote: Total 12792 (delta 2145), reused 6588 (delta 1174) Resolving deltas: 100% (2145/2145), done. Checking connectivity... done.

[] git clone -b v5-34-00-patches http://root.cern.ch/git/root.git root_v5-34-00-patches_no_depth  => 789 MB, 11855 files Cloning into 'root_v5-34-00-patches_no_depth'... remote: Counting objects: 573407, done. remote: Compressing objects: 100% (134748/134748), done. remote: Total 573407 (delta 432023), reused 573097 (delta 431797) Receiving objects: 100% (573407/573407), 566.71 MiB | 2.66 MiB/s, done. Resolving deltas: 100% (432023/432023), done. Checking connectivity... done.

[] git clone --depth 1 http://root.cern.ch/git/root.git root_master  => 534 MB, 17468 files Cloning into 'root_master'... remote: Counting objects: 18981, done. remote: Compressing objects: 100% (17068/17068), done. remote: Total 18981 (delta 2790), reused 8378 (delta 1432) Receiving objects: 100% (18981/18981), 151.58 MiB | 5.59 MiB/s, done. Resolving deltas: 100% (2790/2790), done. Checking connectivity... done.

[] git clone http://root.cern.ch/git/root.git root_master_no_depth  => 964 MB, 17467 files Cloning into 'root_master_no_depth'... remote: Counting objects: 573407, done. remote: Compressing objects: 100% (134748/134748), done. remote: Total 573407 (delta 432025), reused 573096 (delta 431797) Receiving objects: 100% (573407/573407), 566.71 MiB | 4.43 MiB/s, done. Resolving deltas: 100% (432025/432025), done. Checking connectivity... done.

AliRoot AliPhysics
utilita ```aliDoctor AliPhysics``` bohuzial nedetekuje vsetko potrebne, takze este treba aj toto: dnf install byacc flex bison-devel

DEBUG:AliPhysics:0: /usr/bin/ld: cannot find -ly     => bison-devel

Maybe the information below will be interesting for other users. The list of additional libraries for Fedora 23 is: dnf install libyaml dnf install libyaml-devel dnf install libyaml-devel dnf install python-devel dnf install openssh dnf install OpenGL dnf install libX11-devel dnf install ghc-OpenGL-devel dnf install libperl dnf install perl-ExtUtils-Embed dnf install ncurses-devel dnf install bzip2 dnf install bzip2-devel dnf install bison dnf install bison-devel dnf install flex-devel dnf install flex dnf install openssl-devel And commands to install are: from root account: pip install alibuild from user (test) account: cd /cern/users3b/test/ mkdir alice cd alice/ aliBuild init AliRoot,AliPhysics -z ali-master --force-unknown-architecture cd ali-master/ aliBuild -z -w ../sw -d build AliPhysics --force-unknown-architecture alienv enter AliPhysics/latest-ali-master [AliPhysics/latest-ali-master] /cern/users3b/test/alice/ali-master $> aliroot

OpenSSL

 * http://www.openssl.org/source/
 * http://code.google.com/p/alice-gentoo/source/browse/#svn%2Ftrunk%2Falice%2Fdev-libs%2Fopenssl-alien
 * http://code.google.com/p/alice-gentoo/source/browse/trunk/alice/dev-libs/openssl-alien

?!?!?! Ale ROOT tak isto checkuje openssl, pozuiva default, ktroe je v systeme ?! nebude s tym problem ?

XRootD

 * http://xrootd.org
 * http://xrootd.slac.stanford.edu/dload.html
 * http://code.google.com/p/alice-gentoo/source/browse/#svn%2Ftrunk%2Falice%2Fsci-physics%2Fxrootd
 * http://code.google.com/p/alice-gentoo/source/browse/trunk/alice/sci-physics/xrootd

Bonjour support on Linux is based on the Avahi framework, need for bonjour (XrdOucBonjour.cc:11:0:) yum install avahi-devel yum install fuse-devel

cmake ../xrootd-3.1.0 -DCMAKE_INSTALL_PREFIX=/cern/xrootd-3.1.0 cmake ../xrootd-3.1.0 -DCMAKE_INSTALL_PREFIX=/cern/xrootd-3.1.0 -DOPENSSL_ROOT_DIR=/cern/openssl

alien
dnf install libtool

mozno lepsie zadefinovat premennu GSHELL, gShell
 * http://aliceinfo.cern.ch/Offline/Activities/Analysis/AnalysisFramework/AlienPlugin.html

wget http://alien.cern.ch/alien-installer
 * http://alien2.cern.ch/
 * http://alitorrent.cern.ch
 * http://alien.cern.ch
 * http://alienbuild.cern.ch:8880


 * http://code.google.com/p/alice-gentoo/source/browse/trunk/alice/sci-physics/alien-xalienfs/
 * http://project-arda-dev.web.cern.ch/project-arda-dev/alice/xalienfs/xrootd-xalienfs-1.0.12d.tar.gz
 * http://alitorrent.cern.ch/src/xalienfs/?C=M;O=D


 * http://aaf.cern.ch/


 * http://alimonitor.cern.ch/packages/
 * http://alienbuild.cern.ch:8888/

export CERN=/home/mucha/cern

export OPENSSL=openssl-0.9.8r ./config --prefix=$CERN/$OPENSSL \ shared zlib no-asm no-krb5 -L$CERN/$OPENSSL/lib
 * 1) make
 * 2) make install

2012-09 1)applikujem openssl patch ./config --prefix=/cern/openssl-0.9.8x shared make make install_sw 2) exportujem LD_LIBRARY_PATH s opensll lib (!!! pozor ako prvu hodnotu !!!) 3) !!! pozor SSL nema (nesmie) obsahovat v lib subory lib/lib*.a !!! => manualne zmazem lib*.a

cmake ../xrootd-3.2.2/ -DCMAKE_INSTALL_PREFIX=/cern/xrootd-3.2.2 -DOPENSSL_ROOT_DIR=/cern/openssl

./configure --with-xrootd=/cern/xrootd --with-ssl=/cern/openssl --with-ssl-incdir=/cern/openssl/include --with-ssl-libdir=/cern/openssl/lib --enable-roofit

export XRD=xrootd-3.0.4 ./configure.classic --prefix=$CERN/$XRD \ --with-ssl=$CERN/$OPENSSL \ --enable-bonjour --enable-gsi --enable-secssl --disable-posix --no-arch-subdirs
 * 1) yum install avahi-devel
 * 1) make
 * 2) make install

export ALIEN=alien-1.0.12d ./bootstrap.sh ./configure --prefix=$CERN/$ALIEN \ --with-xrootd-location=$CERN/$XRD \ --with-certificate-directory=$CERN/$ALIEN/share # vo vyssich verziach nepotrebne
 * 1) make install
 * 2) make install-certificates # nepotrebne vo vyssich verziach

ROOT
!!!!!!!!!!!! https://twiki.cern.ch/twiki/bin/viewauth/ALICE/FMDOfflineHowToV2   !!!!!!!!!!!!!!!!!


 * builtin_ftgl => yum install ftgl-devel
 * builtin_glew => yum install glew-devel
 * builtin_pcre => yum install pcre-devel
 * builtin_lzma => yum install xz-devel


 * http://root.cern.ch/drupal/content/building-root-cmake

yum install (gccxml, treba ??) avahi-compat-libdns_sd


 * http://aliceinfo.cern.ch/Offline/AliRoot/Installation.html
 * http://alien2.cern.ch/index.php?option=com_content&view=article&id=44&Itemid=118#Advanced:%20Root%20compilation
 * http://code.google.com/p/alice-gentoo/source/browse/trunk/alice/eclass/

did you use in the root-cfg the follwoinig lines: --with-xml-incdir=${ALIEN_ROOT}/include/libxml2 --with-xml-libdir=${ALIEN_ROOT}/lib

./configure \ --with-f77=gfortran          \ # OK, ale zbytocne, root sam najde --with-pythia6-uscore=SINGLE \ # OK, musi byt, AliRoot potom nechce kompilovat, ale nepouzivam pythia

--with-alien-incdir=/cern/alien/include \ --with-alien-libdir=/cern/alien/lib \ --with-xrootd=/cern/xrootd \ --disable-globus \

--enable-gsl-shared \ # OK    --enable-roofit \      # OK    --enable-minuit2 \     # OK

--disable-editline \ # netreba --fail-on-missing \ # coto je ?!

Checking for gapiUI.h ... /cern/alien/include Checking for libgapiUI ... /cern/alien/lib

Checking whether to build xrootd ... no, using xrootd at /cern/xrootd Checking for xrootd version ... "v3.0.4" Checking for XrdOucBonjour in /cern/xrootd/lib/libXrdOuc.a ... ok

./configure --with-f77=gfortran --with-pythia6-uscore=SINGLE --with-alien-incdir=/cern/alien/include --with-alien-libdir=/cern/alien/lib --with-xrootd=/cern/xrootd --disable-globus --enable-gsl-shared --enable-roofit --enable-minuit2

Peter Hristov [Reply All] Monday, April 02, 2012 11:07 Hi Alex,

This is my configuration script:
 * 1) !/bin/sh

ALIEN_ROOT=/opt/alien

./configure \ --with-pythia6-uscore=SINGLE \ --with-f77=gfortran \ --enable-gsl-shared --enable-globus --enable-roofit \ --with-alien-incdir=${ALIEN_ROOT}/api/include \ --with-alien-libdir=${ALIEN_ROOT}/api/lib \ --with-monalisa-incdir=${ALIEN_ROOT}/api/include \ --with-monalisa-libdir=${ALIEN_ROOT}/api/lib \ --with-xrootd-incdir=${ALIEN_ROOT}/api/include/xrootd \ --with-xrootd-libdir=${ALIEN_ROOT}/api/lib \ --with-ssl-incdir=${ALIEN_ROOT}/include \ --with-ssl-libdir=${ALIEN_ROOT}/lib \ --with-ssl=${ALIEN_ROOT}/api \ --with-xft-libdir=/usr/X11R6/lib

So the way to set the xrootd location is to specify both the include and lib directories. The last line (concerning xft) was needed to avoid a mismatch on my laptop, normally it is not needed.

Best regards, Peter

tmp_cern
xrd="xrootd-3.0.5.tar.gz" xaf="xrootd-xalienfs-1.0.14n.tar.gz" pck="$xrd $xaf"; pckname="xrd xaf";
 * http://alitorrent.cern.ch/src/xalienfs/version-cert
 * http://alitorrent.cern.ch/src/xalienfs/version-pro

configure_xrd="./configure.classic --prefix=$GSHELL_ROOT --enable-gsi --no-arch-subdirs --disable-posix " configure_xaf="./configure --prefix=$GSHELL_ROOT --with-xrootd-location=$GSHELL_ROOT "

reflines_xrd=498 reflines_xaf=620

tmp

 * http://if.pw.edu.pl/~majanik/AlirootTutorial/index.php/Installation_instructions
 * http://newton.ph.unito.it/~berzano/w/doku.php?id=alice:compile-any

tmp 1

 * https://aliceinfo.cern.ch/Offline/Activities/Analysis/AnalysisFramework/index.html
 * https://aliceinfo.cern.ch/Offline/Activities/Analysis/AnalysisFramework/AlienPlugin.html
 * http://aliceinfo.cern.ch/Offline/Activities/Analysis/AnalysisFramework/AlienPlugin.html
 * https://aliceinfo.cern.ch/Offline/Activities/Analysis/AnalysisFramework/NewTrain.html
 * http://aliceinfo.cern.ch/Offline/AliRoot/Coding-Conventions.html


 * https://aliceinfo.cern.ch/Offline/Activities/Analysis/CAF/index.html
 * http://aaf.cern.ch/

AAF -> CAF, SKAF, finAF, ...

tmp 2
http://alimonitor.cern.ch cp file:/home/mucha/Table-2009_12.doc. cp Table-2009_12.doc file:/tmp/

cp myfirstjob/ file://home/mucha/ALIEN_BCKP

cp file:/tmp/bbb /alice/cern.ch/user/m/mvala/

cp file:/tmp/bbb /alice/cern.ch/user/m/mvala/@ALICE::JINR::SE whereis bbb aliensh:[alice] [16] /alice/cern.ch/user/m/mvala/ >whereis bbb Aug 10 14:10:24 info   The file bbb is in                 SE => ALICE::JINR::SE  pfn =>root://lcgxrdr01.jinr.ru:1094//07/13838/b15c7c40-c349-11e0-9a84-001f29eb8b98

whereis /alice/sim/LHC10b1/114798/999/root_archive.zip