AliRoot v4-10-Release

environment

  • ROOT: v5-18-00a
  • Geant3: v1-9

(v4-10-Release) export ALICE=/usr/local/pub/$GSI_OS_FLAVOR$GSI_OS_VERSION/$(uname -m)/$GSI_COMPILER_CC/alice/AliRoot;
     export ALICE_LEVEL=v4-10-Release;
     export ALICE_ROOT=$ALICE/$ALICE_LEVEL;
     export ROOTSYS=/usr/local/pub/debian$GSI_OS_VERSION/$(uname -m)/$GSI_COMPILER_CC/rootmgr/518-00a;
     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-9_518-00a/lib/tgt_${ALICE_TARGET};
     export GSILIB=/usr/local/pub/debian$GSI_OS_VERSION/$(uname -m)/$GSI_COMPILER_CC/rootmgr/gsilibs/518-00;
     export DATEPATH=/d/alice06/alisoft/PPR/date;
     export FLUPRO=$ALICE/../Fluka/2006.3b;
     CHOICE=1;;

Debian Sarge, gcc335-13 (32bit)

libxml2

  • included in AliEn

AliEn

  • . /u/aliprod/bin/.alienv214login
  • cd $HOME/bin, wget http://alien.cern.ch/alien-installer, chmod +x, rm -rf $HOME/.alien/cache, rm $HOME/.alien/installer.rc
  • ./alien-installer: chose v2-14, no autodetect, $HOME/.alien/cache, i686, /usr/local/pub/debian3.1/i686/gcc335-13/alice/alien/v2-14, client, gshell, xrootd
  • login script copied to /usr/local/bin

ROOT:

./configure linux       --enable-soversion --enable-opengl --enable-rfio --enable-xml\
    --enable-alien \
    --enable-qtgsi \
    --disable-globus \
    --enable-fftw3 \
    --enable-cern \
    --enable-mathmore \
    --enable-mathcore \
    --enable-roofit \
    --enable-asimage \
    --enable-minuit2 \
    --with-fftw3-libdir=/usr/local/pub/debian3.1/gcc335-13/fftw/lib \
    --with-fftw3-incdir=/usr/local/pub/debian3.1/gcc335-13/fftw/include \
    --with-thread-libdir=/usr/lib/\
    --with-pythia6-libdir=$ROOTSYS/lib \
    --with-pythia6-uscore=SINGLE \
    --with-ldap-incdir=$VERSIONPATH/openldap/include \
    --with-ldap-libdir=$VERSIONPATH/openldap/lib \
    --with-rfio-libdir=$RFIODIR/ \
    --with-rfio-incdir=/GSI/staging/adsm/v50/inc \
    --with-alien-incdir=/usr/local/pub/debian3.1/i686/gcc335-13/alice/alien/v2-14/api/include \
    --with-alien-libdir=/usr/local/pub/debian3.1/i686/gcc335-13/alice/alien/v2-14/api/lib \
    --with-cern-libdir=/usr/local/cern/2005-sarge-32/lib \
    --with-oracle-incdir=$ORACLE_HOME/rdbms/public --with-oracle-libdir=$ORACLE_HOME/lib \
    --with-ssl-incdir=/usr/local/pub/debian3.1/i686/gcc335-13/alice/alien/v2-14/include \
    --with-ssl-libdir=/usr/local/pub/debian3.1/i686/gcc335-13/alice/alien/v2-14/lib \
    --with-xml-incdir=/usr/local/pub/debian3.1/i686/gcc335-13/alice/alien/v2-14/include/libxml2 \
    --with-xml-libdir=/usr/local/pub/debian3.1/i686/gcc335-13/alice/alien/v2-14/lib
  • gmake
g++ -shared -Wl,-soname,libEGPythia6.so.5.18 -m32 -O2 -o lib/libEGPythia6.so.5.18 pythia6/src/TMCParticle.o pythia6/src/TPythia6.o pythia6/src/TPythia6Decayer.o pythia6/src/G__Pythia6.o /usr/local/pub/debian3.1/i686/gcc335-13/rootmgr/518-00a/lib
/usr/bin/ld: /usr/local/pub/debian3.1/i686/gcc335-13/rootmgr/518-00a/lib: No such file: File format not recognized
collect2: ld returned 1 exit status
gmake: *** [lib/libEGPythia6.so] Error 1
  • test: remove from Makefile.config
FPYTHIA6CPPFLAGS := -DPYTHIA6_SINGLE_UNDERSCORE
    • does not help, add it again.
  • change Makefile.config to
BUILDFPYTHIA6    := yes
FPYTHIA6LIBDIR   := -L/usr/local/pub/debian3.1/i686/gcc335-13/rootmgr/518-$
FPYTHIA6LIB      := -lPythia6
FPYTHIA6CPPFLAGS := -DPYTHIA6_NO_UNDERSCORE

tests

  • load libRAliEn.so
. .alienv214login
root [0] gSystem->Load("libRAliEn.so")
(int)0
  • connect to Grid
alien proxy-init
alien-token-init kschwarz
/usr/local/pub/debian3.1/i686/gcc335-13/alice/alien/v2-14/api//bin/alien_connect: /lib/libgcc_s.so.1: version`GCC_4.2.0' not found (required by /usr/local/pub/debian3.1/i686/gcc335-13/alice/alien/v2-14/api//bin/alien_connect)
  • solution: add to .alienv214login
if [ $(uname -m) = "i686" ]; then
export ALIEN_LD_LIBRARY_PATH=$ALIEN_ROOT/i686-pc-linux-gnu/3.2.3/lib:$ALIEN_LD_LIBRARY_PATH
fi
if [ $(uname -m) = "x86_64" ]; then
export ALIEN_LD_LIBRARY_PATH=$ALIEN_ROOT/x86_64-unknown-linux-gnu/3.2.3/lib:$ALIEN_LD_LIBRARY_PATH
fi
  • connect to Grid
source /tmp/gclient_env_3248
root [0] TGrid::Connect("alien://")
(class TGrid*)0x83284c8
  • get a file from the Grid
root [1] TFile *f2 = TFile::Open("alien:///alice/sim/2007/LHC07/0001/2616/Kinematics.root")
Info in <TAlienFile::Open>: Accessing image 1 of alien:///alice/sim/2007/LHC07/0001/2616/Kinematics.root in SE <ALICE::GSI::se>
root [2] f2->ls()
TAlienFile**            alien:///alice/sim/2007/LHC07/0001/2616/Kinematics.root
 TAlienFile*            alien:///alice/sim/2007/LHC07/0001/2616/Kinematics.root
  KEY: TDirectoryFile   Event0;1        Event0

  • note: leaving ROOT creates error:
root [3] .qq
free(): invalid pointer 0x8316a58!

GEANT3:

GSILIB

  • /usr/local/pub/debian3.1/i686/gcc335-13/rootmgr/gsilibs/518-00
    • empty. Ticket in Storage Queue

AliRoot

tests

  • gSystem->Load("libgeant321.so")

Fluka

  • echo FLUPRO=/usr/local/pub/debian3.1/i686/gcc335-13/alice/AliRoot/../Fluka/2006.3b
  • cd $ALICE_ROOT, make all-TFluka

tests

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

PAR Files

  • gmake STEERBase.par, ESD.par, AOD.par, ANALYSIS.par
  • cp /tmp/*.par PAR

html documentation

  • gmake htmldoc
    • /usr/local full, therefore has to be repeated when problem is fixed.

detector/calibration database

  • see 64bit Etch version

update web page

  • add new entry for v4-10-Release
  • as rootmgr: ln -s /usr/local/pub/debian3.1/i686/gcc335-13/alice/AliRoot/v4-10-Release /misc/kschwarz/web-docs/AliRoot/v4-10-Release

Debian Etch, gcc412-21 (32bit)

libxml2

  • included in AliEn

AliEn

  • . /u/aliprod/bin/.alienv214login

ROOT:

(v4-10-Release-Etch) export ALICE=/d/alice01/alisoft/PPR/$GSI_OS_FLAVOR$GSI_OS_VERSION/$(uname -m)/$GSI_COMPILER_CC/alice/AliRoot;
     export ALICE_LEVEL=v4-10-Release;
     export ALICE_ROOT=$ALICE/$ALICE_LEVEL;
     export ROOTSYS=/d/alice01/alisoft/PPR/debian$GSI_OS_VERSION/$(uname -m)/$GSI_COMPILER_CC/rootmgr/518-00a;
     export ALICE_TARGET=$(/usr/local/pub/debian$GSI_OS_VERSION/$(uname -m)/$GSI_COMPILER_CC/rootmgr/517-06/bin/root-config --arch);
     export GEANT3PATH=/d/alice01/alisoft/PPR/$GSI_OS_FLAVOR$GSI_OS_VERSION/$(uname -m)/$GSI_COMPILER_CC/alice/Geant3/v1-9_518-00a/lib/tgt_${ALICE_TARGET};
     export GSILIB=/usr/local/pub/debian$GSI_OS_VERSION/$(uname -m)/$GSI_COMPILER_CC/rootmgr/gsilibs/518-00;
     export DATEPATH=/d/alice06/alisoft/PPR/date;
     export FLUPRO=/usr/local/pub/debian$GSI_OS_VERSION/$(uname -m)/$GSI_COMPILER_CC/alice/Fluka/2006.3b;
     CHOICE=1;;
RFIODIR=/GSI/staging/adsm/v51/Linux

./configure        --enable-soversion --enable-opengl --enable-rfio --enable-xml\
    --enable-alien\
    --build=debug\
    --enable-qtgsi\
    --disable-globus\
    --enable-cern \
    --enable-mathmore \
    --enable-roofit \
    --enable-asimage \
    --enable-minuit2 \
    --with-thread-libdir=/usr/lib/\
    --with-pythia6-libdir=$ROOTSYS/lib \
    --with-pythia6-uscore=SINGLE \
    --with-ldap-incdir=$VERSIONPATH/rootmgr/openldap/include \
    --with-ldap-libdir=$VERSIONPATH/rootmgr/openldap/lib \
    --with-rfio-libdir=$RFIODIR/ \
    --with-rfio-incdir=$RFIODIR/../inc \
    --with-shift-libdir=$RFIODIR \
    --with-alien-incdir=$VP2/alice/alien/v2-14/api/include \
    --with-alien-libdir=$VP2/alice/alien/v2-14/api/lib \
    --with-oracle-incdir=$ORACLE_HOME/rdbms/public
    --with-oracle-libdir=$ORACLE_HOME/lib \
    --with-ssl-incdir=$VP2/alice/alien/v2-14/include \
    --with-ssl-libdir=$VP2/alice/alien/v2-14/lib \
    --with-xml-incdir=$VP2/alice/alien/v2-14/include/libxml2 \
    --with-xml-libdir=$VP2/alice/alien/v2-14/lib
  • make -j8
    • ends unmotivated without error message
  • gmake
mysql/src/TMySQLServer.cxx: At global scope:
mysql/src/TMySQLServer.cxx:647: warning: unused parameter âsqlâ
    • remove MySQL support
/usr/bin/ld: /d/alice01/alisoft/PPR/debian4.0/i686/gcc411-21/rootmgr/518-00a/lib: No such file: File format not recognized
collect2: ld returned 1 exit status
gmake: *** [lib/libEGPythia6.so] Error 1

tests

  • load libRAliEn.so
. .alienv214login
root [0] gSystem->Load("libRAliEn.so")
(int)0

  • connect to Grid
alien proxy-init
alien-token-init kschwarz
source /tmp/gclient_env_3334 
root [0] TGrid::Connect("alien://")

  • get file from AliEn
root [1] TFile *f2 = TFile::Open("alien:///alice/sim/2007/LHC07/0001/2616/Kinematics.root")
Info in <TAlienFile::Open>: Accessing image 1 of alien:///alice/sim/2007/LHC07/0001/2616/Kinematics.root in SE <ALICE::GSI::se>
root [2] f2->ls()
TAlienFile**            alien:///alice/sim/2007/LHC07/0001/2616/Kinematics.root
 TAlienFile*            alien:///alice/sim/2007/LHC07/0001/2616/Kinematics.root
  KEY: TDirectoryFile   Event0;1        Event0

  • note: leaving ROOT unproblematic

GEANT3:

GSILIB

  • /usr/local/pub/debian3.1/i686/gcc335-13/rootmgr/gsilibs/518-00
    • directory does not exist. Ticket in Storage Queue

AliRoot

***** Compiling STEER/AliQADataMaker.cxx *****
STEER/AliQADataMaker.cxx:115:2: error: no newline at end of file
STEER/AliQADataMaker.h: In member function âAliQADataMaker& AliQADataMaker::operator=(const AliQADataMaker&)â:
STEER/AliQADataMaker.h:40: warning: no return statement in function returning non-void
gmake[1]: *** [STEER/tgt_linux/AliQADataMaker.o] Error 1
    • added newline

tests

  • gSystem->Load("libgeant321.so")

Fluka

  • echo FLUPRO=/usr/local/pub/debian4.0/i686/gcc411-21/alice/Fluka/2006.3b
  • cd $ALICE_ROOT, make all-TFluka

tests

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

PAR Files

  • gmake STEERBase.par, ESD.par, AOD.par, ANALYSIS.par
  • cp /tmp/*.par PAR

html documentation

  • see Debian Sarge 32bit.

detector/calibration database

  • see 64bit Etch version

update web page

  • update entry

Debian Etch, gcc412-21 (64bit)

GSL

libxml2

  • included in AliEn

AliEn

  • . /u/aliprod/bin/.alienv214login

ROOT

./configure        --enable-soversion --enable-opengl --enable-rfio --enable-xml\
    --enable-alien\
    --build=debug\
    --enable-qtgsi\
    --disable-globus\
    --enable-fftw3\
    --enable-cern \
    --enable-rfio \
    --enable-mathmore \
    --enable-mathcore \
    --enable-roofit \
    --enable-asimage --enable-minuit2 \
    --with-thread-libdir=/usr/lib/\
    --with-pythia6-libdir=$ROOTSYS/lib \
    --with-pythia6-uscore=SINGLE \
    --with-ldap-incdir=$VERSIONPATH/openldap/include \
    --with-ldap-libdir=$VERSIONPATH/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 \
    --with-oracle-incdir=$ORACLE_HOME/rdbms/public \
    --with-oracle-libdir=$ORACLE_HOME/lib \
    --with-ssl-incdir=$VP2/alice/alien/v2-14/include \
    --with-ssl-libdir=$VP2/alice/alien/v2-14/lib \
    --with-xml-incdir=$VP2/alice/alien/v2-14/include/libxml2 \
    --with-xml-libdir=$VP2/alice/alien/v2-14/lib \
    --with-gsl-incdir=$ALICE/../gsl/gsl-1.10/include \
    --with-gsl-libdir=$ALICE/../gsl/gsl-1.10/lib

  • in config/Makefile.config modify according to:
BUILDMATHMORE  := yes
GSLFLAGS       := $(filter-out -I/usr/include, -I/usr/include)
GSLLIBDIR      := -L/d/alice01/alisoft/PPR/debian4.0/x86_64/gcc411-21/alice/gsl$
GSLLIBS        := -lgsl -lgslcblas
GSLVERSION     := 1008

  • connection to AliEn not possible without segmentation fault with GSIAF xrootd in the PATH
    • workaround: provide ROOT for GSIAF without AliRoot and AliEn: 518-00a-GSIAF
    • provide ROOT 518-00a with local xrootd and AliEn for AliRoot

GEANT3:

GSILIB

  • /usr/local/pub/debian4.0/x86_64/gcc411-21/rootmgr/gsilibs/518-00
    • directory does not exist. Ticket in Storage Queue

AliRoot

/d/alice01/alisoft/PPR/debian4.0/x86_64/gcc411-21/rootmgr/518-00a/include/TGButton.h:377: warning:   or 'operator=(const TGSplitButton&)'
***** Making executable bin/tgt_linuxx8664gcc/aliengui *****
/d/alice01/alisoft/PPR/debian4.0/x86_64/gcc411-21/alice/AliRoot/v4-10-Release/lib/tgt_linuxx8664gcc/libHMPIDbase.so: undefined reference to `AliHMPIDParam::fgSigmas'

    • copy from 32bit environment and try again.

CDB

. .alienv214login
alien proxy-init
alien-token-init kschwarz
source /tmp/gclient_env_$UID

AliCDBManager* man = AliCDBManager::Instance();
man->SetDefaultStorage("alien://folder=/alice/simulation/2008/v4-10-Release/Full/")
man->SetDrain("local://$ALICE_ROOT/CDB/Full")
AliCDBStorage* sto = man->GetDefaultStorage()
sto->GetAll("*",0)

same with Ideal and Residual. Partial Data bases ?

update web page

  • update entry

-- KilianSchwarz - 26 Feb 2008

Topic revision: r13 - 2008-03-13, 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)