| 34 | == Lancer Ganga == |
| 35 | Pour les utilisation suivantes de GANGA avec ce package vous pouvez commencer directement d'ici. |
| 36 | ==== Le fichier joboptions ==== |
| 37 | {{{ |
| 38 | sh-3.00$ cd testarea/14.2.20/TopAnalysis/run/ |
| 39 | sh-3.00$ ls |
| 40 | PoolFileCatalog.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 | {{{ |
| 48 | InputCollections = [ "AOD.pool.root" ] |
| 49 | OutputFileName = "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 | {{{ |
| 57 | sh-3.00$ ganga |
| 58 | Enter GRID pass phrase: |
| 59 | Your identity: /O=GRID-FR/C=FR/O=CNRS/OU=LPSC/CN=Fabian Lambert |
| 60 | Creating temporary proxy ....................................... Done |
| 61 | Contacting lcg-voms.cern.ch:15001 [/DC=ch/DC=cern/OU=computers/CN=lcg-voms.cern.ch] "atlas" Done |
| 62 | Creating proxy ................................................ Done |
| 63 | Your proxy is valid until Tue Oct 28 14:29:49 2008 |
| 64 | |
| 65 | *** Welcome to Ganga *** |
| 66 | Version: Ganga-5-0-10 |
| 67 | Documentation and support: http://cern.ch/ganga |
| 68 | Type help() or help('index') for online help. |
| 69 | |
| 70 | This is free software (GPL), and you are welcome to redistribute it |
| 71 | under certain conditions; type license() for details. |
| 72 | |
| 73 | |
| 74 | ATLAS 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 |
| 76 | or you can send an email to hn-atlas-dist-analysis-help@cern.ch |
| 77 | |
| 78 | GangaAtlas : INFO Tasks read from file |
| 79 | Ganga.GPIDev.Lib.JobRegistry : INFO Found 1 jobs in "jobs", completed in 0 seconds |
| 80 | Ganga.GPIDev.Lib.JobRegistry : INFO Found 0 jobs in "templates", completed in 0 seconds |
| 81 | |
| 82 | |
| 83 | In [1]:cmtsetup 14.2.20,setup,32 |
| 84 | GangaAtlas : INFO CMTCONFIG = i686-slc4-gcc34-opt |
| 85 | GangaAtlas : INFO CMTPATH = /atlas/lambert/testarea |
| 86 | GangaAtlas : INFO CMTPATH = /swareas/atls/prod/releases/rel_14-4/AtlasOffline/14.2.20 |
| 87 | |
| 88 | In [2]:setup |
| 89 | GangaAtlas : INFO Package TopAnalysis has been configured. |
| 90 | |
| 91 | }}} |
| 92 | |
| 93 | ==== Lancer le job ==== |
| 94 | |
| 95 | |