Diane Demo Setup for MedAustron

The setup is based on the G4Analysis application of DIANE from the NSS2008DemoAndTutorial.


Following requirements for installation

  • A PC with open ports (lxarda27,lxarda29)
  • Scientific Linux 4 and gLite UI
  • Installation of DIANE
  • If graphics is required also mathplotlib and numpy
  • A GEANT4 installation
  • The user package (Tutorial.tar.gz)

At CERN most of these are available, so no need to install everything. In case of MedAustron the VOCE VO is used, that is not configured in the CERN gLite UI so some configuration is required,

  • A special gangarc with the definition of the VOCE VO
  • A special wms configuration voce_wms.conf
  • A special VOMS configuration to be put into ~/.glite/vomses
"voce" "skurut19.cesnet.cz" "7001" "/DC=cz/DC=cesnet-ca/O=CESNET/CN=skurut19.cesnet.cz" "voce"

  • Environment variable GLITE_SETUP ... the setup file for the gLite UI in gangarc.
  • Environment variable GLITE_WMS_CLIENT_CONFIG to tell the WMS about the voce_wms.conf
  • See env.sh which defines all these elements

Dianification of the application

  • Call the package Tutorial G4Tutorial and store it in $DIANE_USER_WORKSPACE/apps/G4Tutorial
  • Create inside this directory an empty file __init__.py (touch __init__.py)
  • Modify the main program to accept two arguments - the macro and random seed
  • Add a setup.sh file that configures GEANT4 and works both locally and on the grid
  • Define a control file for the master $DIANE_USER_WORKSPACE/apps/G4Tutorial/marco/protonbeam-diane.mac

Run the application with DIANE

Enter the environment:

   cd working/medaustron

Start DIANE master

   diane-run apps/G4Tutorial/macros/protonbeam-diane.run

Start the DIANE workers locally

   diane-env -d ganga LocalSubmitter.py --diane-worker-number=2

Start the DIANE workers on the grid

  diane-env -d ganga LCGSubmitter.py --CE=hephygr.oeaw.ac.at:2119/jobmanager-lcgpbs-voce --diane-worker-number=20

See the growing histograms

  show_hist_live runs/XXXX/merged1D_simoutput.xml energydeposit energydepositradial

-- DietrichLiko - 11 Aug 2009

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2009-08-17 - DietrichLiko
    • 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