TWiki> Main Web>DerSchrecklicheSven>AthenaStuff>GrId (revision 4)EditAttachPDF
This description is not supposed to replace the various howto's for running jobs on the Grid. It is merely a summary of what I have to do to run jobs on the grid. If people use it as their howto - go ahead.

This guide uses the jdlgen, status, ... scripts written by Alessandro de Salvo. Please have a look at this webpage written by James Catmore and setup the right environment.

Step by step to the grid:

  • Get a certificate smile
  • login to lxplus and type:
source /afs/
  • Get a very long certificate! If your grid token expires before the jobs are finished they will all be aborted.
grid-proxy-init -valid 100:00
gives you a proxy which last for 100 hours.
  • cd to your grid environment (as setup with James guide) and type

Simulation jobs

  • create jdl job description files with the command jdlgen
jdlgen -r 9.0.4 -d 4020 -D tth120_bb --in-step evgen904 --out-step g4initial904 \
-p wildauer -t 09-00-04-06 -e 2 --in-part 1:1 --out-part 1:5 -s \
--eta-min=-4. --eta-max=4.
this will give you jobs with the following structure:
  • storage directory (on
  • input file name LFN has to be:
  • Output files will be called:
same for 2 to 5

This line implies that you have ONE input file registered with the logical file name (LFN) wildauer.004020.evgen904.tth120_bb._00001.pool.root. You want to have 5 output files with 2 events each simulated in an eta range of -4. to +4. You also need to have a template file in your templates directory with the name wildauer.wildauer.g4initial904.jdl.template.


Register a file

Note that files created on the grid are already registered.
lcg-cr --vo atlas -d -l <LFNofFile> -g guid:<PoolFileID> \
The LFN of the file is arbitrary. As a convention it is simply the filename itself.

Unregister a file

To unregister a file, type:
lcg-uf --vo atlas guid mySFN
where guid and mySFN have to replaced accordingly. mySFN can be obtained via:
lcg-lr --vo atlas lfn:myLFN
and the guid via:
lcg-lg --vo atlas lfn:myLFN
Note that this only unregisters the file. It does not delete it! As a "shortcut" zou can also do:
lcg-uf --vo atlas \
`lcg-lg --vo atlas lfn:private.004020.g4initial904.tth120_bb._00062.pool.root.1` \
`lcg-lr --vo atlas lfn:private.004020.g4initial904.tth120_bb._00062.pool.root.1`
-- DerSchrecklicheSven - 25 Apr 2005
Edit | Attach | Watch | Print version | History: r10 | r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r4 - 2005-04-25 - AndreasWildauer
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    Main 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