How to run Vetra on the online cluster

This page describes how to run Vetra on a computer in the LHCb Online System Environment and therefore it requires you to have a username on the online network. The page also describes how to configure your account on the online network to work with getpack , the script used to check out software from CVS. If you don't know how to get access to the online network, I suggest that you have a look on this page where you will find info on how to get an "online account" and more.

When logged on to the online network (lbgw.cern.ch from a computer on the CERN network), the first step is to set up the Vetra environment properly. This is done with the command

> setenvVetra [and choose the latest version available]
> source Vetra_vXrY/Velo/Vetra/vXrY/cmt/setup.sh

which will configure your environment for Vetra.

You will find the Vetra installation in /group/velo/sw/cmtuser/Vetra_vXrY/. The command Vetra.exe has been aliased to the correct executable. Remember that you are now working with a group installation so think twice before you start changing options files and recompiling. Always make backups!
Some useful environment variables are:

$User_release_area = /group/velo/sw/Vetra_vXry
$VETRAROOT = $User_release_area/Vetra_vXrY/Velo/Vetra/vXrY
$CMTCONFIG = shows which compiler and CPU architecture you are using to compile.

In $VETRAROOT/options you will find plenty of options files to use. The file named VetraNZS.opts is a good starting point if you want to do simple NZS analysis (noise, pedestals, ...).
You can find more information and an example on how to run a noise analysis here.

Finally, some important things to think about when you work on the online cluster:

1) The default shell is bash. This means that you need to source setup.sh instead of setup.csh etc etc.

2) You are not an the CERN network anymore, so access to CVS will not work immediately. You need to do some configuring first. If you don't intend to check out packages from CVS you don't need to continue reading.

To use getpack you need to do the following:

* Set up getpack to work with your afs username. If you put this line in your ~/.bashrc file it will be loaded everytime you log on.

export GETPACK_USER=arasp <--- here you put your afs user name instead of 'arasp'

* Configure your account to access the CERN network using SSH authenification but without password. You can skip this step, but I highly recommend you to do it otherwise it's a pain in the neck to access CVS. It only has to be done once. Instructions can be found http://product-support.web.cern.ch/product-support/UI/Docs/CVS/howto.html#accessing-sshlinux

Now you should be able to use getpack as usual!

Good luck!

-- Main.arasp - 06 Feb 2008

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r7 - 2008-02-07 - ArasPapadelis
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    LHCb All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback