Howto aliroot at pdsf
Contents |
Email list
To be informed about changes on the alice pdsf setup subscribe to the alice-pdsf-users egroup at https://e-groups.cern.ch/e-groups/EgroupsSearch.do
Setup modules
Using custom module files
In order to enable usage of your own module files insert a line in .$HOME/.bashrc:
module load use.own
or execute the above statement whenever you need to.
The location of the custom module files is $HOME/privatemodules . Create the directory if necessary and put your modules there.
mkdir -v $HOME/privatemodules
Access to Alice's module files
Link the directory with the modules from Alice in your private modules directory.
cd $HOME/privatemodules ln -s /project/projectdirs/alice/software/modulefiles/alice
Another, perhaps cleaner, way is to setup the modules via
module use /project/projectdirs/alice/software/modulefiles
The following assumes that this is what you have done.
Using the modules
Here we assume the modules are setup as above.
Try few commands.
module list
Lists modules currently loaded.
[pdsf4:ploskon]~ > module list Currently Loaded Modulefiles: 1) SGE/6.2 2) myquota/1.0 3) usg/1.0 4) subversion/1.6.9 5) use.own
module avail
This command will list available modules (both: system wide and your private modules).
[pdsf4:ploskon]~ > module avail --------------------- /usr/local/pkg/Modules/modulefiles-arch ---------------------- ...
---------------------------- /u/ploskon/privatemodules ----------------------------- ...
The relevant ALICE specific modules (as of Aug 24, 2010) are:
--------------- /project/projectdirs/alice/software/modulefiles ---------------- alice/alien/v2-18.73 alice/aliroot/v4-20-05-AN alice/aliroot/v4-18-Release alice/geant3/v1-11 alice/aliroot/v4-19-Release alice/root/v5.26.00c
Setting up alice environment
CHOS (very important)
The ALICE environment was setup with Scientific Linux 5.3 Make sure that your $HOME/.chos file consists of a line with: sl53
[pdsf4:ploskon]~ > cat $HOME/.chos sl53
Setup Aliroot
After following p.1 above the list available modules should show all the ALICE's setup files: The relevant ALICE specific modules (as of Aug 24, 2010) are:
[pdsf4:ploskon]~ > module avail
--------------- /project/projectdirs/alice/software/modulefiles ---------------- alice/alien/v2-18.73 alice/aliroot/v4-20-05-AN alice/aliroot/v4-18-Release alice/geant3/v1-11 alice/aliroot/v4-19-Release alice/root/v5.26.00c
One-by-one
Now, we can either load things individually (as needed):
module load alice/root/v5.26.00c alice/geant3/v1-11 module load alice/alien/v2-18.73
and then setup the aliroot environment with your own script or location (you should set ALICE, ALICE_LEVEL, ALICE_ROOT, ALICE_TARGET and PATH, LD_LIBRARY_PATH manually)
or simply load an aliroot module (see below).
Simple setup
Run for example:
module load alice/aliroot/v4-18-Release
which loads appropriate root and geant3 versions along with setting up aliroot environment
subversion and cmake
In order to use svn and cmake (required for aliroot starting from Jan 2011) you can do
module load subversion/1.6.9 module load cmake/2.8.4
Setup alien
The alien module is NOT loaded automatically with aliroot modules. To use alien functionality execute:
module load alice/alien/v2-18.73
Quick Summary
Note: CHOS is sl53
Include ALICE modules:
module use /project/projectdirs/alice/software/modulefiles
Load environment:
module load alice/aliroot/v4-18-Release alice/alien/v2-18.73
Location of data
See /eliza17/alice/
Location of OCDB mirror
For 2010 data:
/project/projectdirs/alice/software/OCDBmirror/OCDB/data/2010/OCDB
For simulation (v4-15-Release) - do not use if you do not know why you need it - NOT YET COMPLETE!:
/project/projectdirs/alice/software/OCDBmirror/OCDB/simulation/2008/v4-15-Release
Note: Updated daily from GRID via a cron job Dates and times of the updates: http://portal.nersc.gov/project/alice/ploskon/alice/OCDBsync/OCDBsync_run_at.log
Working with installed ALIROOT versions
The installed aliroot versions in /project/projectdir/alice/software are read-only. Therefore if you have to make modifications beyond simple macros you have two options.
a) Install your own aliroot version in /project/projectdirs/alice/$USER
This is particularly useful if you have to modify a lot of libraries (modules), or if you need to stay closely with trunk.
b) Use https://twiki.cern.ch/twiki/bin/viewauth/ALICE/MyAliRootPage#Build_libraries_against_external
This package allows you to build libraries against an installed ALIROOT version. There is a readme that explains how to use it. If you have questions, suggestions or problems do not hesitate to contact Constantin.
Esd file location
All esd files are at /eliza17/alice/esdfiles The text file location that you can use in your analysis is still to be established. At the moment you can find them in /eliza6/alice/marr/fileCollection/