Central ALICE Software Installations

Introduction

Two HPC Computing farms can be used for analysis Icarus and Prometheus. However, we try to move all activities to _Prometheus_ . Details on the batch farms can be found here (in IT wiki)

Be careful, connection to the outside (e.g. svn co) can only be reached from the pro.hpc machines ( lxsub05 upwards )

The application software is organised in modules:
  • _modules_ (http://sourceforge.net/projects/modules/) provides an easy access to the different versions
  • One main module _ALICE_ has to be loaded and loads all subsequent modules, needed in order to setup the required environment.

Setup Modules for User

Every user as to adjust his/her environment in order to use _modules_

Edit the $HOME/.bashrc file and add the following lines :

#####################################################
declare -f module>  /dev/null;
hasMODULE=$?

if [ ${hasMODULE} -eq 0 ] ; then

      if [ -d /cvmfs/alice.gsi.de/modules ] ; then
          module use /cvmfs/alice.gsi.de/modules
      else
          echo "ERROR : No modules can be found !!!"
      fi
fi
##################################################### 

Usage of Modules for User

The module command gives access to several options. Executing it without arguments will show a list of options. The most common ones are mentioned here :

module avail

Shows the available software modules, eg. module avail

module load <moduleName>/<versionNo>

Loads a software module, eg. module load ALICE/v5-01-Rev-18-prod

module unload <moduleName>

Unloads a software module, eg. module unload ALICE

module list

Shows the loaded software modules, eg. module list
jthaeder@lxi059:~$ module list
Currently Loaded Modulefiles:
  1) BASE/base                 3) FASTJET/2.4.4             5) ROOT/v5-30-03             7) ALICE/v5-01-Rev-18-prod
  2) ALIEN/v2-19               4) ALIROOT/v5-01-Rev-18      6) GEANT3/v1-12

Hints

It is useful to define aliases like :
# module aliases
alias ma="module avail"
alias mu="module unload"
alias ml="module load"
alias mls="module list"
alias mrm="module unload ALICE"
alias mh="module avail -l 2>&1 | grep ALICE" 

Use your private ALIROOT installation

It is possible to use a private aliroot installation. For this follow these steps :

Create a folder with your private ALIROOT installation on hera or lustre :

<hera/lustre>/alice/<user-name>/<software>/aliroot

and for the private module files

<hera/lustre>/alice/<user-name>/<software>/modules/ALIROOT

To create a private module file, copy one of the central installation and modify it accordingly eg.

cp /cvmfs/alice.gsi.de/modules/ALIROOT/<aliroot-module-name>  <hera/lustre>/alice/<user-name>/<software>/modules/ALIROOT/<private-aliroot-name>

Change the lines :

setenv      ALIROOT_RELEASE   <aliroot-version>

to

setenv      ALIROOT_RELEASE   <private-aliroot-version>

setenv      ALIROOT_BASEDIR   <hera/lustre>/alice/<user-name>/<software>/aliroot

in such a way the aliroot is installed in

<hera/lustre>/alice/<user-name>/<software>/aliroot/AliRoot_<private-aliroot-version>

and that the module filename matches the <private-aliroot-version>

Enable the usage of privat modules

module use --append <hera/lustre>/alice/<user-name>/<software>/modules/

Then load the general ALICE module and unload the ALIROOT one

module load ALICE/<version>
module unload ALIROOT

Now you can load your private ALIROOT module
module load ALIROOT/<private-aliroot-version>

Then aliroot can be checked out and installed eg. for trunk.

cd $ALIROOT_BASEDIR
svn co https://svn.cern.ch/reps/AliRoot/trunk AliRoot_<private-aliroot-version>

...

cd $ALICE_ROOT
mkdir build
cd build
cmake $ALICE_ROOT
make install -j 16

Software organisation

Every ALICE module loads several sub modules such as :
  • BASE (sets basic environmental variables)
  • ALIEN
  • FASTJET
  • ROOT
  • GEANT3
  • ALIROOT

To load an alice environment, one just has to load the top level ALICE module : eg
jthaeder@lxi059:~$ module load ALICE/v5-01-Rev-18-prod
   ALICE version loaded: (GLOBAL)   v5-01-Rev-18-prod
            AliRoot version:   v5-01-Rev-18
              Alien version:   v2-19
               Root version:   v5-30-03
             Geant3 version:   v1-12
            FastJet version:   2.4.4
jthaeder@lxi059:~$ 

Attention: one has to load the main module ALICE, it will not work if you load for example only the ALIROOT module

Possible ALICE versions

The versions of the ALICE module is mainly defined by the ALIROOT module below :

use of ALIROOT trunk

eg.: ALICE/HEAD_2012-02-08-prod

use of ALIROOT Analysis Tag

eg.: ALICE/v5-02-20-AN-prod

use of ALIROOT Release Branch

eg.: ALICE/v5-02-Release_2012-02-03-prod

use of ALIROOT Release Tag

eg.: ALICE/v5-01-Rev-21-prod

Special Issues

ALIEN USER

This setup assumes that your GSI username is also your alien username. If this is NOT the case, then you have to set the ALIEN_USER environment variable in your $HOME/.bashrc. eg.:
export  ALIEN_USER=myAlienUserName

GEANT4

If you want to use GEANT4, currently you have to load the appropriate modules by hand, after loading the ALICE module

module unload GEANT3
module load GEANT4/9.5
module load VMC/v2-13a

Central ALICE Software Installations : New (sge) farm

The new sge farm has three major differences to the old farm
  • debian squeeze operating system
  • no user $HOME directories
  • sge batch scheduler

To login to submit-hosts of the new farm use:
ssh -X squeezelust64

Therefore a new way to distribute our software is used.

Current Versions

_Can always retrieved via the modules avail command_

  • ALICE/HEAD_2012-05-09-prod 2012/05/09 9:14:32
  
          ALICE version loaded: (GLOBAL)  HEAD_2012-05-09-prod
                      AliRoot version:  HEAD_2012-05-09
                        Alien version:  v2-19
                         Root version:  v5-33-02b
                       Geant3 version:  v1-14
                      FastJet version:  2.4.4
Topic revision: r26 - 21 Feb 2013, MariaNicassio
 
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 Foswiki? Send feedback