= Configurer GANGA au LPSC = [[PageOutline]] == Installation == Pour l'instant, GANGA n'est pas installé sur l'UI du LPSC. Vous devez donc vous faire votre propre installation dans votre répertoire home.[[BR]] La [http://ganga.web.cern.ch/ganga/user/installation/ procédure d'installation] est décrite sur le site officiel de ganga (Local Installations) == Configuration == GANGA est configuré par défaut, mais vous pouvez créer et modifier un fichier .gangarc pour le personnaliser. ==== Création du fichier .gangarc ==== {{{ sh-3.00$ ganga -g *** Welcome to Ganga *** Version: Ganga-5-0-10 Documentation and support: http://cern.ch/ganga Type help() or help('index') for online help. This is free software (GPL), and you are welcome to redistribute it under certain conditions; type license() for details. Ganga.Utility.Config : WARNING [Errno 2] No such file or directory: '/atlas/lambert/.gangarc' Copied current config file to None Using flavour Atlas Created standard config file /atlas/lambert/.gangarc }}} ==== Configuration de LCG ==== Voici un exemple de paramétrisation de la partie concernant LCG dans .gangarc {{{ [LCG] # sets allowed computing elements by a regular expression #AllowedCEs = # sets the size limitation of the input sandbox, oversized input sandbox will # be pre-uploaded to the storage element specified by 'DefaultSE' in the area # specified by 'DefaultSRMToken' #BoundSandboxLimit = 10485760 # sets the generic LCG-UI configuration script for the GLITE workload # management system #Config = # sets the VO-specific LCG-UI configuration script for the EDG resource broker #ConfigVO = # sets the file catalogue server #DefaultLFC = prod-lfc-shared-central.cern.ch DefaultLFC = lfc-prod.in2p3.fr # sets the default storage element #DefaultSE = srm.cern.ch DefaultSE = lpsc-se-dpm-server.in2p3.fr # sets the space token for storing temporary files (e.g. oversized input # sandbox) #DefaultSRMToken = # enables/disables the support of the EDG middleware #EDG_ENABLE = True # sets the LCG-UI environment setup script for the EDG middleware #EDG_SETUP = /afs/cern.ch/project/gd/LCG-share/current/etc/profile.d/grid_env.sh # sets excluded computing elements by a regular expression #ExcludedCEs = # Enables/disables the support of the GLITE middleware #GLITE_ENABLE = False # sets the LCG-UI environment setup script for the GLITE middleware #GLITE_SETUP = /afs/cern.ch/project/gd/LCG-share/current/etc/profile.d/grid_env.sh # sets the myproxy server #MyProxyServer = myproxy.cern.ch MyProxyServer = myproxy.grif.fr # sets the ranking rule for picking up computing element #Rank = # sets the replica catalogue server #ReplicaCatalog = # sets the full qualified class name for other specific LCG job requirements #Requirements = Ganga.Lib.LCG.LCGRequirements # sets maximum number of job retry #RetryCount = 3 # sets the full qualified class name for handling the oversized input sandbox #SandboxCache = Ganga.Lib.LCG.LCGSandboxCache # sets the transfer timeout of the oversized input sandbox #SandboxTransferTimeout = 60 # sets maximum number of job shallow retry #ShallowRetryCount = 10 # sets the storage index #StorageIndex = # sets the name of the grid virtual organisation #VirtualOrganisation = dteam VirtualOrganisation = atlas }}} ==== Configuration de DQ2 pour GANGA ==== {{{ [DQ2] # Default backup locations of DQ2OutputDataset output #DQ2_BACKUP_OUTPUT_LOCATIONS = ['CERN-PROD_USERDISK', 'CERN-PROD_USERTAPE', 'FZK-LCG2_USERDISK', 'IN2P3-CC_USERDISK', 'TRIUMF-LCG2_USERDISK', 'IFAE_USERDISK', 'NIKHEF-ELPROD_USERDISK'] DQ2_BACKUP_OUTPUT_LOCATIONS =['IN2P3-LPSC_USERDISK','IN2P3-CC_USERDISK'] # Sets the DQ2 local site id #DQ2_LOCAL_SITE_ID = CERN-PROD_DATADISK DQ2_LOCAL_SITE_ID = IN2P3-LPSC_USERDISK # Allowed space tokens names of DQ2OutputDataset output #DQ2_OUTPUT_SPACE_TOKENS = ['ATLASUSERDISK', 'ATLASUSERTAPE', 'ATLASLOCALGROUPDISK'] DQ2_OUTPUT_SPACE_TOKENS = ['ATLASUSERDISK','ATLASUSERTAPE', 'ATLASLOCALGROUPDISK'] # FIXME #DQ2_URL_SERVER = http://atlddmcat.cern.ch/dq2/ # FIXME #DQ2_URL_SERVER_SSL = https://atlddmcat.cern.ch:443/dq2/ # Allow DQ2 subscription to aggregate DQ2OutputDataset output on a storage # element instead of using remote lcg-cr #USE_STAGEOUT_SUBSCRIPTION = False # user tag for a given data taking period usertag = userFL08 }}} [wiki:tutoGanga up]