Run a Brunel Job on Grid

Details presented here are directly related to user from german instituts. In theory, an analogical procedure should be applied for any other user, except only the site were the request for the grid certificate should be send.

Any other experience is wellcome to be shared.

Here are the steps to get a grid certificate:

0. before anything check if there is someone in your institute that already has the grid certificate, this is the best help.

1. first one needs to go at the

2. in the section How to produce a certificate request file? one can choose the option two and download the Perl Script

3. once the script is downloaded run it following the instructions

4. send an e-mail with the output of the script and your telephon number to your system administrator or the grid responsible person

5. then the user will have to make a copy of the pass and the grid responsible person will forward the user request back to the grid site

6. after something like a week, the user will get a phone call from the grid site for confirmation

7. afterwards an e-mail will be send from the grid site to the user with the grid certificate

Here are the steps how to use grid certificate:

0. before anything check if Globus is installed, on should already be intsalled, if not check the

1. copy the .pem file from the e-mail attachment to $HOME/.globus/usercert.pem

2. go to directory $HOME/.globus and run the commands:

>chmod 0600 userkey.pem
>openssl pkcs12 -export -in usercert.pem -inkey userkey.pem -out usercert.p12

3. than one can get a proxi with:

or check the informations about the proxi with:
more about proxies can be seen at

Before sending a Brunel job to grid one needs to be registered in a Virtual Organisation (VO). To register one needs to load the sertificate in the web browser, e.g. for mozilla:

                 ->Privacy & Security
                                                  ->Manage Certificates ...
the usercert.p12 file should be imported and a series of passwords will be ask and need ro be set. The registration can be done at

Finally, the steps to run a Brunel job over grid:

1. set the ganga environment:

>GangaEnv 4.4.2
2. set the grid environment:
3. set the Dirac environment:
>DIRACEnv v2r17 
4a. get a grid proxy for 12 hours:
4b. for longer jobs user proxy with longer validity, e.g. 160 hours:
>voms-proxy-init -voms lhcb -valid 160:00
and the job sould be submitted to grid.

Once the job is submitted, it can be monitored at

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r5 - 2007-11-12 - AdrianPerieanu
    • 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