ROOT v5-11-01-alice

gcc323-00

environment and preparation

software dependencies

  • SL: gcc, gcc-c++, XFree86-devel
  • Debian: gcc, g++, make, libx11-dev, libcpm-dev

other requirements

  • as "rootmgr" do ". gcc32login" and go to /usr/local/pub/debian3.0/gcc323-00/rootmgr
  • get source
    • cvs -d :pserver:cvs@root.cern.ch:/user/cvs export -r v5-11-01-alice -d 511-01-alice root
  • cp configure script from existing version
    • cp 510-00/rootmgr-configure 511-01-alice
script used for gcc323-00:
#! /bin/sh

export EVGEN_NEW=/usr/local/pub/$GSI_OS_FLAVOR$GSI_OS_VERSION/$GSI_COMPILER_CC/sim/evgen
export XMLDIR=$VERSIONPATH/rootmgr/libxml/libxml2-2.6.9
export VERSIONPATH=/usr/local/pub/debian$GSI_OS_VERSION/$GSI_COMPILER_CC/rootmgr

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

cp $EVGEN_NEW/Pythia5/libPythia.so $ROOTSYS/lib
cp $EVGEN_NEW/Pythia6_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/v20/Linux 
 
./configure linux       --enable-soversion --enable-thread --enable-opengl --enable-rfio --enable-xml\
    --enable-alien\
    --with-cern-libdir=/cern/dev/lib\
    --with-thread-libdir=/usr/lib/ \
    --with-pythia-libdir=$ROOTSYS/lib \
    --with-pythia6-libdir=$ROOTSYS/lib \
    --with-ldap-incdir=$VERSIONPATH/rootmgr/openldap/include \
    --with-ldap-libdir=$VERSIONPATH/rootmgr/openldap/lib \
    --with-venus-libdir=$ROOTSYS/lib \
    --with-shift-libdir=$RFIODIR \
    --with-alien-incdir=/u/aliprod/alien2/include \
    --with-alien-libdir=/u/aliprod/alien2/lib 

  • include new ROOT version in alilogin script
   (root5-11-01-alice) export ROOTSYS=/usr/local/pub/debian$GSI_OS_VERSION/$GSI_COMPILER_CC/rootmgr/511-01-alice;
          export GSILIB=/usr/local/pub/debian3.0/gcc323-00/rootmgr/gsilibs/510-00;     
          CHOICE=1;;
  • initialise new ROOT environment
    • ". alilogin root5-11-01-alice"

configure and compile

  • cd $ROOTSYS
  • but AliEn-libs are not found in /u/aliprod/alien2/lib
  • and GLOBUS points to /usr/local/globus2.0
  • safer:
GLOBUS_PATH=/u/aliprod/alien2/globus
GLOBUS_LOCATION=/u/aliprod/alien2/globus
and change of config-script like
   --with-alien-incdir=/u/aliprod/alien2/api/include \
    --with-alien-libdir=/u/aliprod/alien2/api/lib 

this results in:
Writing macros/html.C ... done
Writing config.status ... done

Enabled support for alien, asimage, astiff, builtin_afterimage, builtin_freetype, builtin_pcre, cern, exceptions, globus, mysql, opengl, pch, pythia, pythia6, python, shadowpw, shared, soversion, ssl, thread, venus, xrootd.

  • gmake
  • gmake cintdlls
  • gmake install

gcc335-13

environment and preparation

  • as "rootmgr" login on lxsarge32 and go to /usr/local/pub
  • cd $GSI_OS_FLAVOR$GSI_OS_VERSION
  • cd cd $GSI_COMPILER_CC
  • cd rootmgr
  • get source
    • cvs -d :pserver:cvs@root.cern.ch:/user/cvs export -r v5-11-01-alice -d 511-01-alice root
  • cd 511-01-alice
  • cp configure script from existing version
    • cp ../../../debian3.0/gcc323-00/rootmgr/511-01-alice/rootmgr-configure .

event generators

create event generators for Debian Sarge

Pythia5

  • cd /usr/local/pub/debian3.1/gcc335-13/sim
  • cd sim, mkdir evgen
  • cd evgen, mkdir Pythia5
  • cd Pythia5
  • cp /usr/local/pub/debian3.0/gcc323-00/sim/evgen/Pythia5/pythia5.tar.gz .
  • ./makePythia.linux

Pythia6

  • mkdir /usr/local/pub/debian3.1/gcc335-13/sim/evgen/Pythia6_new
  • cd to this directory
  • cp /usr/local/pub/debian3.0/gcc323-00/sim/evgen/Pythia6_new/pythia6.tar.gz .
  • tar -zxvf pythia6.tar.gz
  • cd pythia6
  • ./makePythia6.linux

Venus

  • mkdir /usr/local/pub/debian3.1/gcc335-13/sim/evgen/Venus
  • cd to this directory
  • cp /usr/local/pub/debian3.0/gcc323-00/sim/evgen/Venus/venus.tar.gz .
  • tar -zxvf venus.tar.gz
  • make

configure and compile

  • ". alilogin root5-11-01-alice"
  • cd $ROOTSYS
  • ./rootmgr-configure > config.log
Result: Enabled support for alien, asimage, astiff, builtin_afterimage, builtin_freetyp
e, builtin_pcre, exceptions, krb5, mysql, opengl, pch, pgsql, pythia, pythia6, shared,
soversion, ssl, thread, venus, xml, xrootd.
  • gmake
  • gmake cintdlls
  • gmake install

open topics

  • create shift lib

change $ROOTSYS/config/Makefile.config from
BUILDSHIFT     := no
SHIFTLIBDIR    := -L/GSI/staging/adsm/v20/Linux
SHIFTLIB       := -lshift
SHIFTINCDIR    := $(filter-out /usr/include, )
SHIFTCFLAGS    := 

to

BUILDSHIFT     := yes
SHIFTINCDIR    := /GSI/staging/adsm/v40/inc /usr/local/pub/$(GSI_OS_FLAVOR)$(GSI_OS_VERSION)/$(GSI_COMPILER_CC)/castor/castor/h
SHIFTLIBDIR    := -L/GSI/staging/adsm/v40/Linux
SHIFTLIB       := -lshift -lnsl 

and recompile rename resulting libraries from
lib/libRFIO.so  lib/libRFIO.so.5  lib/libRFIO.so.5.11
to
libRFIOn.so.5 libRFIOn.so      libRFIOn.so.5.11

recreate old libraries with
SHIFTINCDIR    := /GSI/staging/adsm/v20/inc /usr/local/pub/$(GSI_OS_FLAVOR)$(GSI_OS_VERSION)/$(GSI_COMPILER_CC)/castor/castor/h
SHIFTLIBDIR    := -L/GSI/staging/adsm/v20/Linux

same on Debian Sarge remark: *n is for new Robot, without *n for old Robot.

remark2: SHIFTLIB for Debian Sarge does not compile since /usr/local/pub/debian3.1/gcc335-13/castor ... does not exist frown ok, problem solved. SHIFTLIBDIR also for Sarge created.

  • enable and fix LDAP

-- KilianSchwarz - 07 Apr 2006
Topic revision: r8 - 2006-05-23, 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)