Ganga Installation and Download
News
Mon, 14 May 2012 09:37:50 +0000: Latest public release is 5.8.1-hotfix1
Users with AFS access (e.g. lxplus):
LHCb users
GangaEnv
ganga
All LHCb plugins will be automatically enabled.
Atlas users
source /afs/cern.ch/sw/ganga/install/etc/setup-atlas.sh
ganga
All Atlas plugins will be automatically loaded.
Other users
On lxplus no installation is needed, you may just start Ganga directly:
/afs/cern.ch/sw/ganga/install/5.8.1-hotfix1/bin/ganga
For convinience you may set your PATH or make an alias.
You will get the default set of plugins. You may enable new plugins in the ~/.gangarc config file.
Local installations (e.g. laptops):
First download the Ganga installation script:
ganga-install
A given version of Ganga for slc3_gcc32 can then be downloaded and installed
using:
python ganga-install options VERSION
where you need python 2.2 or greater.
You can optionally request installation of additional Ganga packages,
and the external packages on which they depend. The following are
strongly recommended:
- For Atlas:
--extern=GangaAtlas,GangaNG,GangaCronus,GangaGUI,GangaPlotter
- For LHCb: --extern=GangaLHCb,GangaGUI,GangaPlotter
- GUI only: --extern=GangaGUI,GangaPlotter
For information on additional options, use: python ganga-install --help
To enable the ATLAS runtime plugins, use:
- bash: export GANGA_CONFIG_PATH=GangaAtlas/Atlas.ini
- tcsh: setenv GANGA_CONFIG_PATH GangaAtlas/Atlas.ini
In addition, to enable use of the Cronus and NorduGrid plugins, you
should change RUNTIME_PATH in your GangaAtlas/Atlas.ini file to:
- RUNTIME_PATH = GangaAtlas:GangaCronus:GangaNG
This is likely to become the default in a future Ganga release.
To enable the LHCb runtime plugins, use:
- bash: export GANGA_CONFIG_PATH=GangaLHCb/LHCb.ini
- tcsh: setenv GANGA_CONFIG_PATH GangaLHCb/LHCb.ini
Troubleshooting
- Failed to fetch http file: check your network connection and try if you can do wget http://cern.ch/ganga/index.html. If the network is OK then check if you do not have the web server proxy.
- Web server proxy may occasionally cause problems to download ganga via http. You can fix this problem by setting the environment variable.
bash: export http_proxy=http://ip.or.name.of.the.proxy.server
csh: setenv http_proxy http://ip.or.name.of.the.proxy.server