Changes between Version 3 and Version 4 of tutogangaanalysis


Ignore:
Timestamp:
24/10/2008 15:49:18 (16 years ago)
Author:
/O=GRID-FR/C=FR/O=CNRS/OU=LPSC/CN=Fabian Lambert
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • tutogangaanalysis

    v3 v4  
    1616 == Prérequis ==
    1717  * Installez et configurez GANGA.
    18   * Créez la structure de votre environnement athena (cmthome, testarea...) et décompressez le package fourni.
     18  * [wiki:setupAthenaLocal Préparer votre environnement] comme pour un job à lancer en local (cmthome, testarea...)
     19  * Décompressez le package fourni sous testarea puis initialiser le (après l'avoir éventuellement compilé)
    1920 
    2021 {{{
     
    2526sh-3.00$ ls
    2627TopAnalysis  TopAnalysis.tgz
     28sh-3.00$ cd testarea/14.2.20/TopAnalysis/cmt/
     29sh-3.00$ cmt config
     30sh-3.00$ source setup.sh
     31sh-3.00$ gmake
    2732}}}
    2833
     34 == Lancer Ganga ==
     35 Pour les utilisation suivantes de GANGA avec ce package vous pouvez commencer directement d'ici.
     36 ==== Le fichier joboptions ====
     37 {{{
     38sh-3.00$ cd testarea/14.2.20/TopAnalysis/run/
     39sh-3.00$ ls
     40PoolFileCatalog.xml  PoolFileCatalog.xml.BAK  RunTopAnalysisDPD.py  TopAnalysisDPD2.py  TopAnalysisDPD.py
     41}}}
     42 Placez vous dans le répertoire run. Vous devez y trouver le fichier joboptions TopAnalysisDPD2.py. [[BR]]
     43 Ce fichier est à peu de chose près la concaténation des fichiers de joboptions que vous trouverez sous le répertoire share.[[BR]]
     44 Le fichier à été crée à partir de RunTopAnalysisDPD.py et TopAnalysisDPD.py car GANGA n'accepte pas les "import" (sauf erreur de ma part)[[BR]]
     45 Deux lignes sont importantes dans ce fichier pour GANGA:
     46
     47 {{{
     48InputCollections = [ "AOD.pool.root" ]
     49OutputFileName = "TopAnalysisDPD.root"
     50}}}
     51 Lors de la soumission du job, GANGA va analyser le fichier de joboptions et initialiser: [[BR]]
     52 InputCollections avec les bonnes valeurs (la liste des fichiers d'un dataset à analyser)
     53 OutputFileName en ajoutant une numérotation automatique à TopAnalysisDPD.root si plusieurs fichiers sont produits.
     54 
     55 ==== Initialisation de l'environnement dans GANGA ====
     56{{{
     57sh-3.00$ ganga
     58Enter GRID pass phrase:
     59Your identity: /O=GRID-FR/C=FR/O=CNRS/OU=LPSC/CN=Fabian Lambert
     60Creating temporary proxy ....................................... Done
     61Contacting  lcg-voms.cern.ch:15001 [/DC=ch/DC=cern/OU=computers/CN=lcg-voms.cern.ch] "atlas" Done
     62Creating proxy ................................................ Done
     63Your proxy is valid until Tue Oct 28 14:29:49 2008
     64
     65*** Welcome to Ganga ***
     66Version: Ganga-5-0-10
     67Documentation and support: http://cern.ch/ganga
     68Type help() or help('index') for online help.
     69
     70This is free software (GPL), and you are welcome to redistribute it
     71under certain conditions; type license() for details.
     72
     73
     74ATLAS Distributed Analysis Support is provided by the "Distributed Analysis Help" HyperNews forum. You can find the forum at
     75    https://hypernews.cern.ch/HyperNews/Atlas/get/distAnalysisHelp.html
     76or you can send an email to hn-atlas-dist-analysis-help@cern.ch
     77
     78GangaAtlas                         : INFO     Tasks read from file
     79Ganga.GPIDev.Lib.JobRegistry       : INFO     Found 1 jobs in "jobs", completed in 0 seconds
     80Ganga.GPIDev.Lib.JobRegistry       : INFO     Found 0 jobs in "templates", completed in 0 seconds
     81
     82
     83In [1]:cmtsetup 14.2.20,setup,32
     84GangaAtlas                         : INFO     CMTCONFIG = i686-slc4-gcc34-opt
     85GangaAtlas                         : INFO     CMTPATH = /atlas/lambert/testarea
     86GangaAtlas                         : INFO     CMTPATH = /swareas/atls/prod/releases/rel_14-4/AtlasOffline/14.2.20
     87
     88In [2]:setup
     89GangaAtlas                         : INFO     Package TopAnalysis has been configured.
     90
     91}}}
     92
     93  ==== Lancer le job ====
     94
     95 
    2996[wiki:tutoganga up]