AliRoot v4-09-Rev-01

Debian Sarge, gcc335-13 (32bit)

environment

  • ROOT: v5-17-06
    • /usr/local/pub/debian3.1/i686/gcc335-13/rootmgr/517-06
  • Geant3 v1-8

kschwarz: /usr/local/bin/alilogin (make backup)
(v4-09-Rev-01) export ALICE=/usr/local/pub/$GSI_OS_FLAVOR$GSI_OS_VERSION/$(uname -m)/$GSI_COMPILER_CC/alice/AliRoot;
     export ALICE_LEVEL=v4-09-Rev-01;
     export ALICE_ROOT=$ALICE/$ALICE_LEVEL;
     export ROOTSYS=/usr/local/pub/debian$GSI_OS_VERSION/$(uname -m)/$GSI_COMPILER_CC/rootmgr/517-06;
     export ALICE_TARGET=$(/usr/local/pub/debian$GSI_OS_VERSION/$(uname -m)/$GSI_COMPILER_CC/rootmgr/517-06/bin/root-config --arch);
     export GEANT3PATH=/usr/local/pub/$GSI_OS_FLAVOR$GSI_OS_VERSION/$(uname -m)/$GSI_COMPILER_CC/alice/Geant3/v1-8_517-06/lib/tgt_${ALICE_TARGET};
     export GSILIB=/usr/local/pub/debian$GSI_OS_VERSION/$(uname -m)/$GSI_COMPILER_CC/rootmgr/gsilibs/517-06;
     export DATEPATH=/d/alice06/alisoft/PPR/date;
     export FLUPRO=$ALICE/../Fluka/2006.3b;
     CHOICE=1;;

  • su "rootmgr"

ROOT

  • /usr/local/pub/debian3.1/i686/gcc335-13/rootmgr/517-06

GEANT3

  • cd /usr/local/pub/debian3.1/i686/gcc335-13/alice/Geant3
  • cvs -q -z2 -d :pserver:cvs@root.cern.ch:/user/cvs co -r v1-8 geant3
  • mv geant3 v1-8_517-06
  • cd $GEANT3PATH
  • gmake

GSILIB

  • /usr/local/pub/debian3.1/i686/gcc335-13/rootmgr/gsilibs/517-06
    • empty !!! Info to Horst and Joern

ALIROOT

  • cd $ALICE
  • cvsa co -r v4-09-Rev-01 -d v4-09-Rev-01 AliRoot
  • cd $ALICE_ROOT
  • gmake
***** Creating EVE/tgt_linux/G__Alieve.cxx *****
Error: cannot open file "TDOMParser.h"  EVE/Alieve/AliEVEHOMERManager.h:18:
Error: cannot open file "TXMLNode.h"  EVE/Alieve/AliEVEHOMERManager.h:19:
Syntax error EVE/Alieve/AliEVEHOMERManager.h:142:
Error: Symbol TDOMParser is not defined in current scope  EVE/Alieve/AliEVEHOMERManager.h:285:
Error: Symbol fXMLParser is not defined in current scope  EVE/Alieve/AliEVEHOMERManager.h:285:
Error: Symbol TXMLNode is not defined in current scope  EVE/Alieve/AliEVEHOMERManager.h:288:
Error: Symbol fRootNode is not defined in current scope  EVE/Alieve/AliEVEHOMERManager.h:288:
Warning: Error occurred during reading source files
Warning: Error occurred during dictionary source generation
!!!Removing EVE/tgt_linux/G__Alieve.cxx EVE/tgt_linux/G__Alieve.h !!!
Error: rootcint: error loading headers...
gmake[1]: *** [EVE/tgt_linux/G__Alieve.cxx] Error 1

solution: in Makefile
ifneq ($(wildcard $(ROOTSYS)/include/TGLIncludes.h),)
# ALIROOTMODULES += EVE
endif

tests

  • gSystem->Load("libgeant321.so")
  • gSystem->Load("libRAliEn.so")
. .alienlogin
alien proxy-init
alien-token-init kschwarz
source /tmp/gclient_env_3248
root [0] TGrid::Connect("alien://")

Fluka support

  • asked Peter Hristov for corresponding versions
  • see below

PAR Files

  • cd $ALICE_ROOT, mkdir PAR
  • gmake STEERBase.par, ESD.par, AOD.par, ANALYSIS.par
  • cp /tmp/*.par PAR

html documentation

  • gmake htmldoc > makehtmldoc.out 2> makehtmldoc.out &

detector/calibration database

  • asked Peter Hristov for corresponding versions

update web page

rootmgr:lxg0503/v4-09-Rev-01> ln -s /usr/local/pub/debian3.1/i686/gcc335-13/alice/AliRoot/v4-09-Rev-01 /misc/kschwarz/web-docs/AliRoot/v4-09-Rev-01

Debian Etch, gcc412-21 (32bit)

environment

  • ROOT: v5-17-06
  • Geant3 v1-8

  • . alilogin v4-09-Rev-01

ROOT

  • cd /usr/local/pub/debian4.0/i686/gcc411-21/rootmgr
  • cp /usr/local/pub/debian3.1/i686/gcc335-13/rootmgr/517-06/root_v5.17.06.source.tar.gz .
  • mv root 517-06
  • mv root_v5.17.06.source.tar.gz 517-06
  • cp 517-04/rootmgr-configure $ROOTSYS
  • cd $ROOTSYS
  • more rootmgr-configure
#! /bin/sh

# QT login before compiling
# not working for Debian Etch
# . /usr/local/bin/qtlogin 303-04

# oracle login:
. /usr/local/bin/oraenv

export EVGEN_NEW=/usr/local/pub/$GSI_OS_FLAVOR$GSI_OS_VERSION/$GSI_COMPILER_CC/sim/evgen
export XMLDIR=/usr/local/pub/debian3.0/gcc323-00/rootmgr/libxml/libxml2-2.6.9
export VERSIONPATH=/usr/local/pub/debian3.1/gcc335-13/rootmgr
export VP2=/usr/local/pub/debian$GSI_OS_VERSION/$(uname -m)/$GSI_COMPILER_CC

cd $ROOTSYS
 
if [ ! -d $ROOTSYS/lib ]; then
  mkdir -p $ROOTSYS/lib
fi

#cp $EVGEN_NEW/Pythia5/libPythia.so $ROOTSYS/lib
cp $EVGEN_NEW/pythia6/libPythia6.so $ROOTSYS/lib/
cp $EVGEN_NEW/venus/libVenus.so $ROOTSYS/lib

touch lib/libPythia.so lib/libPythia6.so lib/libVenus.so

RFIODIR=/GSI/staging/adsm/v50/Linux 
 
./configure        --enable-soversion --enable-opengl --enable-rfio --enable-xml\
    --enable-alien\
    --build=debug\
    --enable-qtgsi\
    --disable-globus\
    --enable-fftw3\
    --with-thread-libdir=/usr/lib/\
    --with-pythia6-libdir=$ROOTSYS/lib \
    --with-ldap-incdir=$VERSIONPATH/rootmgr/openldap/include \
    --with-ldap-libdir=$VERSIONPATH/rootmgr/openldap/lib \
    --with-shift-libdir=$RFIODIR \
    --with-alien-incdir=$VP2/alice/alien/v2-14/api/include \
    --with-alien-libdir=$VP2/alice/alien/v2-14/api/lib \
# no CERNlib installation for Debian Etch
#    --with-cern-libdir=/usr/local/cern/2005-sarge-32/lib\
    --with-oracle-incdir=$ORACLE_HOME/rdbms/public --with-oracle-libdir=$ORACLE_HOME/lib\
# native ROOT xrootd should be used
#    --with-xrootd=/usr/local/grid/XRootd/GSI

  • cd $ROOTSYS
  • ./rootmgr-configure
Enabled support for alien, asimage, astiff, builtin_afterimage, builtin_ftgl, builtin_freetype, builtin_pcre, builtin_zlib, cern, cintex, clarens, exceptions, krb5, mathcore, mathmore, monalisa, mysql, opengl, oracle, pch, peac, pgsql, pythia6, python, qtgsi, reflex, shadowpw, shared, soversion, ssl, winrtdebug, xft, xml, xrootd.
  • gmake
I/usr/local/include/mysql -DUSEPCH -include precompile.h -o mysql/src/TMySQ
LServer.o -c mysql/src/TMySQLServer.cxx
/usr/include/asm-i486/bitops.h:244: error: expected initializer before âint
â
/usr/include/linux/bitops.h: In function âlong unsigned int hweight_long(lo
ng unsigned int)â:
  • nano config/Makefile.config
BUILDMYSQL     := no

Event Generators

Pythia5

  • obsolete

Pythia6

  • cd /usr/local/pub/debian4.0/gcc411-21/sim/evgen
  • get pythia-6.4.10.tar.gz from http://www.thep.lu.se/~torbjorn
  • mkdir tmp
  • cd tmp
  • make lib
    • but this creates only static library
  • cat *.f > pythia641.f
    • cp makePythia6.linux ../tmp
    • cp pythia6_common_address.c ../tmp
    • cp *F ../tmp
    • ./makePythia6.linux

Venus

  • obsolete

AliEn

  • cd /usr/local/pub/debian4.0/i686/gcc411-21/alice/alien
  • install AliEn 2.14 via alien-installer
    • wget http://alien.cern.ch/alien-installer
    • chmod +x, rm -rf $HOME/.alien/cache, rm $HOME/.alien/installer.rc
    • chose: i686-pc-linux-gnu, client, gshell
    • recompile gapi
      • cd api/src
      • recompile.gapi using native gcc 4.1.2

  • provide new login /u/aliprod/bin/.alienv214login
  • remove removal of old alien parts from alilogin

GEANT3

  • GEANT3PATH: /usr/local/pub/debian4.0/i686/gcc411-21/alice/Geant3/v1-8_517-06/lib/tgt_linux
  • cd /usr/local/pub/debian4.0/i686/gcc411-21/alice/Geant3
  • svn co https://root.cern.ch/svn/geant3/tags/v1-8 v1-8_517-06
  • export PLATFORM=`root-config --arch`
  • cd v1-8_517-06/
  • make

GSILIB

  • /usr/local/pub/debian4.0/i686/gcc411-21/rootmgr/gsilibs/517-06
ls: /usr/local/pub/debian4.0/i686/gcc411-21/rootmgr/gsilibs/517-06: No such file or directory
    • info and Horst und Joern

AliRoot

  • cd $ALICE
  • cvsa co -r v4-09-Rev-01 -d v4-09-Rev-01 AliRoot
  • cd $ALICE_ROOT
  • gmake

tests

  • gSystem->Load("libgeant321.so")
  • gSystem->Load("libRAliEn.so")
dlopen error: libgapiUI.so.3: cannot open shared object file: No such fileor directory
Load Error: Failed to load Dynamic link library /usr/local/pub/debian4.0/i686/gcc411-21/rootmgr/517-06/lib/libRAliEn.so
(int)(-1)
*** Interpreter error recovered ***

solution:
. /u/aliprod/bin/.alienv214login
root [0]  gSystem->Load("libRAliEn.so")
(int)0

  • open File in AliEn
. /u/aliprod/bin/.alienv214login
TGrid::Connect("alien://")
root [1] TFile *f2 = TFile::Open("alien:///alice/sim/2007/LHC07/0001/2616/AliESDs.root")
root [2] f2->ls()
TAlienFile**            alien:///alice/sim/2007/LHC07/0001/2616/AliESDs.root
 TAlienFile*            alien:///alice/sim/2007/LHC07/0001/2616/AliESDs.root
  KEY: TTree    esdTree;2       Tree with ESD objects
  KEY: TTree    esdTree;1       Tree with ESD objects
  KEY: TH1D     logTRD_backfit;1
  KEY: TH1D     logTRD_refit;1
  KEY: TH1D     logTRD_clSearch;1

Fluka support

  • version 2006.3b (November 2007)
  • as rootmgr:
  • scp kschwarz@lxg0503.gsi.de:/usr/local/pub/debian3.1/i686/gcc335-13/alice/Fluka/2006.3b/fluka2006.3b-linuxAA.tar.gz /usr/local/pub/debian4.0/i686/gcc411-21/alice/Fluka
  • mkdir 2006.3b
  • move tarball there
  • tar -zxvf fluka2006.3b-linuxAA.tar.gz
  • echo $FLUPRO: /usr/local/pub/debian4.0/i686/gcc411-21/alice/AliRoot/../Fluka/2006.3b
  • cd $ALICE_ROOT
  • make all-TFluka

test:

  • root [0] gSystem->Load("libTFluka.so")

PAR files

  • cd $ALICE_ROOT, mkdir PAR
  • gmake STEERBase.par, ESD.par, AOD.par, ANALYSIS.par
  • cp /tmp/*.par PAR

html documentation

  • see above

detector/calibration database

  • new version available, but where. Ask Peter Hristov and Raphaelle

Debian Etch, gcc412-21 (64bit)

environment

  • ROOT: v5-17-06
  • Geant3: v1-8
  • Fluka: 2006.3b

Event Generators

Pythia5

  • obsolete

Pythia6

  • cd /usr/local/pub/debian4.0/x86_64/gcc411-21/sim/evgen
  • mkdir pythia641
  • cd pythia641
  • cp /usr/local/pub/debian4.0/gcc411-21/sim/evgen/pythia641/pythia-6.4.10.tar.gz .
  • tar -zxvf pythia-6.4.10.tar.gz
  • cat *.f > pythia641.f
  • cp /usr/local/pub/debian4.0/gcc411-21/sim/evgen/pythia6/makePythia6.linux .
  • cp /usr/local/pub/debian4.0/gcc411-21/sim/evgen/pythia6/*.F .
  • cp /usr/local/pub/debian4.0/gcc411-21/sim/evgen/pythia6/*.c .
  • ./makePythia6.linux

Venus

  • obsolete

AliEn

  • cd /usr/local/pub/debian4.0/x86_64/gcc411-21/alice/
  • ln -s AliEn alien
  • wget http://alien.cern.ch/alien-installer
  • chmod +x, rm -rf $HOME/.alien/cache, rm $HOME/.alien/installer.rc
  • ./alien-installer
    • chose v2-14, x86_64, /usr/local/pub/debian4.0/x86_64/gcc411-21/alice/alien, client, gshell
    • recompile gapi
      • cd api/src
      • ./recompile.gapi
/usr/share/aclocal/tcl.m4:2026: warning: underquoted definition of SC_TCL_LINK_LIBS
sh: /usr/local/pub/debian4.0/x86_64/gcc411-21/alice/alien/v2-14/bin/autom4te: /opt/bits/bin/perl: bad interpreter: No such file or directory
aclocal-1.9: autom4te failed with exit status: 126
make: *** [aclocal.m4] Error 1
alien --bootstrap
check with
rootmgr:lxb255/gapi-apiservice-2.1.12> alien-perl -MExtUtils::Embed -e ldopts
-Wl,-E -L/usr/local/pub/debian4.0/x86_64/gcc411-21/alice/alien/v2-14/lib /usr/local/pub/debian4.0/x86_64/gcc411-21/alice/alien/v2-14/lib/perl5/5.8.8/x86_64-linux/auto/DynaLoader/DynaLoader.a -L/usr/local/pub/debian4.0/x86_64/gcc411-21/alice/alien/v2-14/lib/perl5/5.8.8/x86_64-linux/CORE -lperl -lnsl-ldl -lm -lcrypt -lutil -lc -lpthread
configure:
./configure --with-gsoap-soapcpp2=/usr/local/pub/debian4.0/x86_64/gcc411-21/alice/alien/v2-14/gsoap/bin/ --prefix=/usr/local/pub/debian4.0/x86_64/gcc411-21/alice/alien/v2-14/api/ --with-perl=/usr/local/pub/debian4.0/x86_64/gcc411-21/alice/alien/v2-14/bin/alien-perl --with-dist-location=/usr/local/pub/debian4.0/x86_64/gcc411-21/alice/alien/v2-14/api/ --enable-gsisoap --with-globus-location=/usr/local/pub/debian4.0/x86_64/gcc411-21/alice/alien/v2-14/globus/ --enable-debugmacros --disable-readline --disable-perl-module --disable-java-module --with-swig=/usr/local/pub/debian4.0/x86_64/gcc411-21/alice/alien/v2-14/bin/ --with-globus-nothr-flavor=gcc64 --disable-xrootd 
make, make install for the latter is was necessary to remove perl modules from gclientlib/Makefile
PERLMODULE =
  • login script: /u/aliprod/bin/.alienv214login

ROOT

  • cd /usr/local/pub/debian4.0/x86_64/gcc411-21/rootmgr
  • cp /usr/local/pub/debian3.1/i686/gcc335-13/rootmgr/517-06/root_v5.17.06.source.tar.gz .
  • mv root 517-06
  • mv root_v5.17.06.source.tar.gz 517-06
  • cp 517-04/rootmgr-configure $ROOTSYS
  • cd $ROOTSYS
  • more rootmgr-configure
! /bin/sh

# QT login before compiling
. /usr/local/bin/qtlogin 303-04

# oracle login:
. /usr/local/bin/oraenv

export EVGEN_GEN=/usr/local/pub/$GSI_OS_FLAVOR$GSI_OS_VERSION/$GSI_COMPILER_CC/sim/evgen
export EVGEN=/usr/local/pub/$GSI_OS_FLAVOR$GSI_OS_VERSION/$(uname -m)/$GSI_COMPILER_CC/sim/evgen
export XMLDIR=/usr/local/pub/debian3.0/gcc323-00/rootmgr/libxml/libxml2-2.6.9
export VERSIONPATH=/usr/local/pub/debian3.1/gcc335-13/rootmgr
export VP2=/usr/local/pub/debian$GSI_OS_VERSION/$(uname -m)/$GSI_COMPILER_CC

cd $ROOTSYS

if [ ! -d $ROOTSYS/lib ]; then
  mkdir -p $ROOTSYS/lib
fi

#cp $EVGEN_NEW/Pythia5/libPythia.so $ROOTSYS/lib
cp $EVGEN/pythia6/libPythia6.so $ROOTSYS/lib/
cp $EVGEN_GEN/venus/libVenus.so $ROOTSYS/lib

touch lib/libPythia.so lib/libPythia6.so lib/libVenus.so

RFIODIR=/GSI/staging/adsm/v51/Linux
./configure        --enable-soversion --enable-opengl --enable-rfio --enable-xml\
    --enable-alien\
    --build=debug\
    --enable-qtgsi\
    --disable-globus\
    --enable-fftw3\
    --with-thread-libdir=/usr/lib/\
    --with-pythia6-libdir=$ROOTSYS/lib \
    --with-ldap-incdir=$VERSIONPATH/rootmgr/openldap/include \
    --with-ldap-libdir=$VERSIONPATH/rootmgr/openldap/lib \
    --with-shift-libdir=$RFIODIR \
    --with-alien-incdir=$VP2/alice/alien/v2-14/api/include \
    --with-alien-libdir=$VP2/alice/alien/v2-14/api/lib \
# no CERNlib installation for Debian Etch
#   --with-cern-libdir=/usr/local/cern/2005-sarge-32/lib\
    --with-oracle-incdir=$ORACLE_HOME/rdbms/public --with-oracle-libdir=$ORACLE_HOME/lib\
# xrootd of GSIAF should be used
    --with-xrootd=/usr/local/grid/XRootd/GSI

  • cd $ROOTSYS
  • ./rootmgr/configure

Enabled support for alien, asimage, astiff, builtin_afterimage, builtin_ftgl, builtin_freetype, builtin_pcre, builtin_zlib, cintex, clarens, exceptions, krb5, mathcore, mathmore, opengl, oracle, pch, peac, pgsql, pythia6, python, qtgsi, reflex, shadowpw, shared, soversion, ssl, winrtdebug, xft, xml, xrootd.

  • gmake
==> lib/libPyROOT.so done
bin/rmkdepend -R -fxmlparser/src/TDOMParser.d -Y -w 1000 -- -pipe -Wall -m64 -fPIC -Iinclude  -pthread -I/opt/alien/include/libxml2 -D__cplusplus -- xmlparser/src/TDOMParser.cxx
g++ -g -pipe -Wall -m64 -fPIC -Iinclude  -pthread -I/opt/alien/include/libxml2 -DUSEPCH -include precompile.h -o xmlparser/src/TDOMParser.o -c xmlparser/src/TDOMParser.cxx
xmlparser/src/TDOMParser.cxx:29:25: error: libxml/tree.h: No such file or directory
xmlparser/src/TDOMParser.cxx:30:36: error: libxml/parserInternals.h: No such file or directory
xmlparser/src/TDOMParser.cxx: In member function 'virtual Int_t TDOMParser::ParseFile(const char*)':
    • no XML

Geant3

  • GEANT3PATH: /usr/local/pub/debian4.0/x86_64/gcc411-21/alice/Geant3/v1-8_517-06/lib/tgt_linuxx8664gcc
  • cd /usr/local/pub/debian4.0/x86_64/gcc411-21/alice/Geant3
  • svn co https://root.cern.ch/svn/geant3/tags/v1-8 v1-8_517-06
  • export PLATFORM=`root-config --arch`
  • cd v1-8_517-06/
  • gmake

GSILIB

  • /usr/local/pub/debian4.0/x86_64/gcc411-21/rootmgr/gsilibs/517-06
ls: /usr/local/pub/debian4.0/x86_64/gcc411-21/rootmgr/gsilibs/517-06: No such file or directory
  • info to Horst and Joern

AliRoot

  • cd $ALICE
  • cvsa co -r v4-09-Rev-01 -d v4-09-Rev-01 AliRoot
  • cd $ALICE_ROOT
  • gmake
***** Making executable bin/tgt_linuxx8664gcc/alieve *****
/usr/bin/ld: cannot find -lXMLParser
collect2: ld returned 1 exit status
gmake[1]: *** [bin/tgt_linuxx8664gcc/alieve] Error 1

  • solution: compile ROOT with XML support, take xml2 from AliEn
    • nano $ROOTSYS/config/Makefile.config
 BUILDXML       := yes
XMLLIBDIR      :=
XMLCLILIB      := -L/usr/local/pub/debian4.0/x86_64/gcc411-21/alice/alien/v2-14/lib64 -lxml2 -lz -lpthread -lm
XMLINCDIR      := $(filter-out /usr/include, /usr/local/pub/debian4.0/x86_64/gcc411-21/alice/alien/v2-14/include/libxml2/)

tests

  • gSystem->Load("libgeant321.so")
  • gSystem->Load("libRAliEn.so")
. /u/aliprod/bin/.alienv214login
export LD_LIBRARY_PATH=/usr/local/grid/XRootd/GSI/lib/
  • TGrid::Connect("alien://")
  • lookup file in AliEn
root [2] TFile *f2 = TFile::Open("alien:///alice/sim/2007/LHC07/0001/2616$
Info in <TAlienFile::Open>: Accessing image 1 of alien:///alice/sim/2007/LHC07/0001/2616/AliESDs.root in SE <ALICE::GSI::se>
aliroot: symbol lookup error: /usr/local/pub/debian4.0/x86_64/gcc411-21/rootmgr/517-06/lib/libNetx.so: undefined symbol: _ZN14XrdSysRecMutexC1Ev
  • solution: export LD_LIBRARY_PATH=/usr/local/grid/XRootd/GSI/lib/:$LD_LIBRARY_PATH

  • but then: segmentation fault.
  • solution: compile ROOT with local xrootd

PAR files

  • cd $ALICE_ROOT, mkdir PAR
  • gmake STEERBase.par, ESD.par, AOD.par, ANALYSIS.par
  • cp /tmp/*.par PAR

Detector/Calibration Database

  • precondition> AliEn connectivity
. /u/aliprod/bin/.alienv214login 
alien proxy-init  
alien-token-init kschwarz
source /tmp/gclient_env_2808 

  • alien: /alice/simulation/2008/v4-10-Release/

  • do this with next installation.

-- KilianSchwarz - 28 Dec 2007
Topic revision: r15 - 2008-02-26, KilianSchwarz
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding GSI Wiki? Send feedback
Imprint (in German)
Privacy Policy (in German)