TWiki> ArdaGrid Web>GarfieldGridInstructions (revision 4)EditAttachPDF

Garfield on the Grid

Garfield is a computer program for the detailed simulation of two- and three-dimensional drift chambers.

See Garfield homepage.

Background information

  • Garfield application runs currently in geant4 VO
  • Garfield executable and libraries are installed on-the-fly via the input sandbox.
  • The work area on AFS is: /afs/cern.ch/sw/arda/install/Garfield:
    • install: Garfield installation
    • examples: examples and test area for ARDA team
    • user: test area for Garfield users and developers
    • Garfield.ini : ganga configuration file
    • scripts : ganga scripts for Garfield (submit_garfield.py)

The good starting point is /afs/cern.ch/sw/arda/install/Garfield/examples/example1. Copy it to your work area.

Instructions

Setup

  • Put Ganga in your path and point it to the correct configuration (see also: http://cern.ch/ganga/install)
    • export PATH=/afs/cern.ch/sw/ganga/install/4.2.11/bin:$PATH
    • export GANGA_CONFIG_PATH=/afs/cern.ch/sw/arda/install/Garfield/Garfield.ini
  • Make sure you have the certificate or a proxy for the VO! more info needed
  • Login to lxplus

Ganga manual

Usage example

  • to prevent failing at some sites (poznan, napoli) fix in the wrapper: make sure to create symlink libX11.so -> libX11.n.m.so
  • this example requires that you have ./generator_ArCO2 in your current working directory
  • submit ten jobs to LSF ( fix the script to include the last index too)
    • ganga submit_garfield.py ./generator_ArCO2 1 10 LSF
  • submit 5 jobs to the Grid with cpu limit >= 10 hours (600 minutes)
    • ganga submit_garfield.py --cputime=600  ./generator_ArCO2 15 20 LCG
  • by default the /afs/cern.ch/sw/arda/install/Garfield/scripts/submit_garfield.py is used
  • you can use a local copy of this script if you specify a path to it: ganga ./mydir/submit_garfield.py ....

Getting job output

  • start ganga and select the job:
    • j=jobs[i]
  • the output directory is printed like this:
    • print j.outputdir
  • you can list the directory like this:
    • !ls -l $j.outputdir
  • you can inspect the files in the outputdir like this:
    • j.peek()
    • j.peek('file') (the output files will most likely be in the tarball)

-- JakubMoscicki - 07 Mar 2007

Edit | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions...
Topic revision: r4 - 2007-04-18 - JakubMoscicki
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    ArdaGrid All webs login

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