TWiki
>
AtlasCanada Web
>
ComputingPage
>
ComputingTips
>
InstallAtlasSoftware
>
Example_gangarc
(2026-10-05,
AsokaDeSilva
)
(raw view)
E
dit
A
ttach
%BR%%BR%%BR%%BR%%BR% %X% *WARNING:* This page is obsolete. %BR%%BR%%BR%%BR%%BR% <verbatim> # Ganga configuration file ($Name: Ganga-4-4-1 $). DO NOT remove this line. # #======================================================================= # All settings are commented out, so ganga will apply the default # values automatically. Wherever possible these default values are indicated. # To see which configuration settings are used, type at ganga prompt: # print config # # Support of Atlas and LHCb-specific functionality: # # GANGA_CONFIG_PATH environment variable or --config-path option at the command # line is used to enable LHCb or Atlas extensions. # For example: # $ export GANGA_CONFIG_PATH=GangaLHCb/LHCb.ini # $ ganga # or: # $ ganga --config-path=GangaAtlas/Atlas.ini # # In LHCb environment you do not need to worry about it because it is done # by GangaEnv command automatically. # #======================================================================= [Configuration] # The path to runtime plugin packages where you can add custom handlers # Normally you should not worry about it. # If an element of the path is just a name (like in the example below) # then the plugins will be loaded using current python path. This means that # some packages such as GangaTest may be taken from the release area # Examples: #RUNTIME_PATH = GangaTest #RUNTIME_PATH = /my/SpecialExtensions:GangaTest RUNTIME_PATH = GangaAtlas # The path to scripts directory. When you call a script from a shell prompt (e.g. ganga some_script) # this path is used to look for the some_script. #SCRIPTS_PATH = Ganga/scripts # The type of the interactive shell: IPython or Console # Console is a standard python interpreter. # IPython is cooler (default) #TextShell = IPython # Optionally, suppress RuntimeWarning messages issued by the python interpreter # when loading modules compiled agains old versions of python (e.g SSL) # By default, these messages are printed #IgnoreRuntimeWarnings = False #======================================================================= [Logging] # Logging controls the Ganga output messages. # The settings are applied hierarchically to the loggers. # Ganga is the name of the top-level logger. # The log level may be one of: CRITICAL ERROR WARNING INFO DEBUG # Examples: #Ganga = CRITICAL #Ganga.Runtime = DEBUG #Ganga.Core.JobRepository = INFO # Specify the format of the messages: TERSE,NORMAL(default),VERBOSE,DEBUG #_format = NORMAL # By default everything is also logged to the logfile. The size of the logfile # is specified in bytes. The rotating log will never exceed this file size. #_logfile = ~/.ganga.log #_logfile_size = 100000 #======================================================================= [DefaultJobRepository] # The type of the repository: Local (default) or Remote #type = Local # Your name in Ganga. Defaults to your user name. #user = # Options for Remote repository (ARDA MD Server) # Your authentication to the database # Currently the access is not authenticated unless reqSSL is set to 1. #login = #host = #port = # Turn the authentication mode on. # With reqSSL = 1, you should also set port = 8823 and login = user #reqSSL = 0 # Options for Local repository # The top directory for the repository in the local filesystem. # Defaults to ~/gangadir/repository # local_root = #======================================================================= [Plugins] # General control of plugin mechanism. # Set the default plugin in a given category. For example: # default_applications = DaVinci # default_backends = LCG #======================================================================= [TextShell_IPython] # Additional options to the IPython shell. See IPython manual for more details: # http://ipython.scipy.org/doc/manual #args = ['-colors','LightBG'] #======================================================================= [PollThread] # Basic poll rate in seconds at which backends will be asked for the # updated job status. In the future there will be a possibility to # poll rate per backend. Warning: be careful because it may overload # LSF with frequent bjobs request. #Local = 10 #LCG = 30 #Condor = 30 #gLite = 30 #LSF = 20 #PBS = 20 #Dirac = 50 #Panda = 50 # Enable automatic monitoring at startup. Sometimes it may be handy to # disable it. When disabled, jobs state will not be updated in the # background. #autostart = True #======================================================================= [FileWorkspace] # Location of user workspace i.e place where input and output sandbox # of jobs are stored.. Default is ~/gangadir/workspace but in some # cases (such as LSF CNAF) this needs to be modified to point to the # shared file system directory. #topdir = #======================================================================= [Mergers] # Default directory for the output of merges. Will be used when the # merge method is called on a Merger object and the outputdir # is not specified. Defaults to ~/gangadir/merge_results. # #merge_output_dir = ~/gangadir/merge_results # # Specify the file extensions to be associated with different Merger # objects. The default is TextMerger. # #root = RootMerger #txt = TextMerger #======================================================================= # PLUGIN CONFIGURATION #======================================================================= # In the sections below you will find specific configuration for # various plugins, including the applications and backends. #======================================================================= # The default properties of all plugin objects may be controlled in # the sections which have the following name: pluginname_Properties # Example: #[Executable_Properties] #exe = echo #args = ["Hello World"] # You may add freely default for other plugins here. # Other sections contain customized options, which have different meaning # as explained individually for each option. #======================================================================= [Local] # Working directory of local jobs are removed when job is finished. # If you want to inspect the working directory then you should disable # the automatic cleanup by setting remove_workdir = 0 # remove_workdir = 1 #======================================================================= [File_Associations] # This section defines associations between file types and the commands # to be used for viewing file contents. Three different situation are # foreseen: # 1) the viewing command should be executed at the Ganga prompt # => give command by itself, for example: less # 2) the viewing command should be executed in the background # => give command followed by an ampersand, for example: mozilla & # 3) the viewing command should be executed in a new terminal window # => give command followed by two ampersands, for example: root.exe && # Define the type of terminal window to open for the case that the viewing # command should be executed in a new window. This has been tested # with xterm, gnome-terminal and konsole newterm_command = xterm # Define the option for executing a command in a new terminal window. For # all of xterm, gnome-terminal and konsole this is -e. newterm_exeopt = -e # Define the command to use for listing directory contents. listing_command = ls -lhtr # Define the command to use in the case of a file type for which no # associated viewing command is specified. fallback_command = less && # Define associations between file types and commands. The association is # specified using the syntax: # <extension> = <command> # where <extension> is the part of the file name that comes after the # last dot, and <command> is the command to be used with files of this # extension. The list of associations can be added to indefinitely, # and the following are only examples. # Open mozilla in the background to view files *.html html = mozilla & # Open a ROOT session in a new terminal window to view files *.root root = root.exe && #======================================================================= [LCG] # The plugin is only active if a LCG UI is found. SETUP defines the # location of the LCG UI. The default at lxplus at CERN is applied as # shown below. LCG commands will be executed in their "private" # environment. # # LCG supports two middleware types: LCG and GLITE. The middleware specific # configurations will be initialized with the name of the middleware. # # One could switch on/off the middleware by setting *_ENABLE. By default, only EDG # middlewares is enabled. The locations of the corresponding middleware UIs can # be set by *_SETUP. If the *_SETUP is not defined explicitly then an # existing LCG UI environemt variables may take precedence and be used # instead. If *_SETUP is defined explicitly then it always has the # priority. #EDG_ENABLE = True #EDG_SETUP = /afs/cern.ch/project/gd/LCG-share/sl3/etc/profile.d/grid_env.sh #GLITE_ENABLE = False #GLITE_SETUP = /afs/cern.ch/project/gd/LCG-share/sl3/etc/profile.d/grid_env.sh GLITE_ENABLE = True # Your VO. A required attibute # Examples: VirtualOrganisation = atlas #VirtualOrganisation = lhcb # The grid/voms proxy parameters are in [GridProxy_Properties] section. # ------------------------------------------------------------------------- # The rest of this section is for advanced users. The values do not # indicate default but rather examples. The defaults depend on the LCG # UI used. # Alternate specification using the --config and/or --config-vo attribute. # For details see the documentation of edg-job-submit #ConfigVO = #Config = # Restrict submission to a number of CEs. The names of the CEs are specified as a # list of regular expressions. Multiple expressions are separated by space characters. #AllowedCEs = cern\.ch sinica\.edu\.tw # Exclude submission to a number of CEs. The names of the CEs are specified as # a list of regular expressions. Multiple expressions are separated by space characters. #ExcludedCEs = cern\.ch # Some additional JDL elements that might be necessary. For details see the # LCG User Guide. # Specify a myproxy server for certificate renewal by the WMS #MyProxyServer = myproxy.cern.ch # Change the ranking expression in the resource brokering. Some examples # from the LCG User Guide are provided. #Rank = other.GlueCEStateWaitingJobs == 0 ? other.GlueCEStateFreeCPUs : -other.GlueCEStateWaitingJobs # Select a special RetryCount #RetryCount = 0 # Specify a special Replica catalog (DLI endpoint) #ReplicaCatalog = http://lfc-atlas-test.cern.ch:8085/ # Specify the default SE and LFC for caching oversized inputsandboxes # Note that the DefaultLFC takes effect only if Ganga fails to detect # the preferred LFC defined in the LCG information system. #DefaultSE = srm.cern.ch #DefaultLFC = prod-lfc-shared-central.cern.ch # Specify the size limitation of the inputsandbox shipped through # the LCG Resource Broker (unit: byte). Inputsandboxes over this # limitation will be pre-uploaded to a remote storage. #BoundSandboxLimit = 10485760 #======================================================================= [Athena] # Where to find this years data in CASTOR #CastorDataLocation = /castor/cern.ch/grid/atlas/datafiles/rome/recov10 # The LCGOutputLocation has to be writeable using lcg-cp. You will have # to change the access mode #LCGOutputLocation = srm://srm.cern.ch/castor/cern.ch/grid/atlas/scratch/$USER/ganga # The LocalOutputLocation has to be writeable using rfcp. #LocalOutputLocation = /castor/cern.ch/atlas/scratch/$USER/ganga # local path to base paths of dist-kits #ATLAS_SOFTWARE = /afs/cern.ch/project/gd/apps/atlas/slc3/software ATLAS_SOFTWARE = /ATLAS_LOCAL_ROOT/Athena/Multi #======================================================================= [LHCb] # Configuration of LHCb specific parameters concerning Gaudi, and Dirac # To select a specific Dirac version you can set the top dir to the Dirac installation # using the DiracTopDir variable or by setting the LHCBPRODROOT environment variable. # If you set LHCBPRODROOT it will take precedence over this config file # If LHCBPRODROOT is not set it will be set within the Ganga session #DiracTopDir=/afs/cern.ch/lhcb/software/DEV/DIRAC/latest #======================================================================= [ROOT] # configuration of where to find ROOT on the local system and which version to # use by default. #location = /afs/cern.ch/sw/lcg/external/root/ #version = 5.12.00 #arch = slc3_ia32_gcc323 # If this is non-empty it will take precedence of the above and you will # *always* use the exact ROOT version this points to. #path = # Use the following version of Python. Ganga will look at the Root version # being used and will try to determine the version of Python that it was # built against. You can override this process by setting this variable. # # Currently, the best way to determine the correct value of this is by # looking in $ROOTSYS/include/config.h or $ROOTSYS/include/RConfigure.h #pythonversion=2.4.2 # The PYTHONHOME to use for PyRoot jobs. It is expected that there # will be lib and bin directories below this. The use of the variables # defined in the ROOT section of .gangarc is allowed to support CERN AFS # like installations where multiple versions are available. The syntax is # ${variable}. #pythonhome=${location}/../Python/${pythonversion}/${arch}/ #======================================================================= [GridProxy_Properties] # Proxy validity at creation (hh:mm) #validityAtCreation = 24:00 # Minimum proxy validity (hh:mm), below which new proxy needs to be created #minValidity = 00:15 # Number of password attempts allowed when creating proxy #maxTry = 1 # Options to be passed to command for proxy creation #init_opts = # Virtual organisation management system information (e.g. atlas or lhcb) #voms = [MonitoringServices] # Enable Athena handler monitoring using ARDADashboard sensor #Athena=Ganga.Lib.MonitoringServices.ARDADashboard.LCG.ARDADashboardLCG [TestingFramework] ## RELEASE TESTS: # Enable running of Ganga tests shipped with the release located in PACKAGE/test directories (e.g Ganga/test) # Default : True #SearchReleaseTests = True # Enable test runner # This can be disabled if you want to run only the HTML reporter # Default: True #EnableTestRunner = True # Run the reporting tool after the test are ran # Default: False #EnableHTMLReporter = False # When running system tests, multiple base configurations may be used by setting a colon separated # list of these files # These files are searched in PACKAGE/test/config directories # Default: default.ini #Config = 'default.ini' # Unique identifier for the current testing session # Default: latest #RunID = 'latest' # Reports directories #LogOutputDir = '/path/to/ganga/reports/latest/output/' #ReportsOutputDir = '/path/to/ganga/reports/' ## LOCAL TESTS # Enable running of local tests from arbitrary locations # Default : true #SearchLocalTests = True </verbatim> -- Main.AsokaDeSilva - 11 Oct 2007
E
dit
|
A
ttach
|
Watch
|
P
rint version
|
H
istory
: r2
<
r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r2 - 2026-10-05
-
AsokaDeSilva
AtlasCanada
Navigate ATLAS-Canada Wiki:
*
Home
* *
Activities
*
Analysis
Computing
Datasets
Getting Started
Grid Activities
*
Meetings
* *
People in ATLAS Canada
*
User Services
Travel To CERN
Wikis:
ATLAS
ATLAS Physics
Alberta
McGill
Montreal
SFU
Toronto
TRIUMF
UVic
ATLAS-Canada Institute Websites:
ATLAS-Canada
ATLAS Home
Alberta
UBC
Carleton
IPP
McGill
Montreal
SFU
Toronto
TRIUMF
UVic
York
Create New Topic
Search
Copyright © 2008-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback