How to Install / Update Ganga
WARNING: This page is obsolete.

(25 Jun 2008) With Ganga 5.0.0, you will need to regenerate the ~/.gangarc file (the version used with Ganga 4.x.x is incompatible.) To do this:
cd
mv ~/.gangarc ~/.gangarc4
#setup ganga paths and do
ganga -g
# edit ~/.gangarc as described below.
Installation
Altough different versions of Ganga should in principle be able to exist in the same tree as installed by default, I found an error when installing an older release after the latest version was installed. Hence, I recommend a new directory structure for each version. Do the following (for example, to install 4.4.1)
mkdir -p /atlas/ATLASLocalRootbase/i686/Ganga/4.4.1
cd /atlas/ATLASLocalRootbase/i686/Ganga
wget http://cern.ch/ganga/download/ganga-install
python ganga-install --extern=GangaAtlas,GangaNG,GangaCronus,GangaGUI,GangaPlotter,GangaPanda --prefix=/atlas/ATLASLocalRootBase/i686/Ganga/4.4.1 4.4.1
ln -s 4.4.1 current
Notice the soft link 4.4.1 from current.
These are some notes about Ganga which may be useful if you are doing your own configuration; these are configured in the example_gangarc file which is available in /atlas/ATLASLocalRootBase/user directory if you have installed
ATLASLocalRootBase.
Edit the configuration file ~/.gangarc and change / add the following:
RUNTIME_PATH = GangaAtlas
- set the following variables if you had installed gLite with yum. (You should not do a gLite setup prior to running Ganga; however, yum installed gLite puts a setup in /etc/profile.d so this change is needed.)
EDG_SETUP = /opt/glite/etc/profile.d/grid-env.sh
GLITE_SETUP = /opt/glite/etc/profile.d/grid-env.sh
- set the ATLAS_SOFTWARE path to point to your kit (this is only needed if you want to use Ganga to run jobs locally rather than on the grid.)
ATLAS_SOFTWARE = /atlas/ATLASLocalRootBase/i686/Athena/Multi
- set the virtual organization to atlas:
VirtualOrganisation = atlas

You can check the LCG configuration by typing
config['LCG']
You can change parameters from the Ganga prompt, for example:
config["LCG_Properties"]["middleware"]='GLITE'
voms = atlas
- set the /atlas/ca attribute (for Canadians only)
init_opts = -voms atlas:/atlas/ca
ATLASLocalRootBase users
If you have
ATLASLocalRootBase installed, you can allow
manageTier3SW to maintain the software or do like in the following example for a particular version
$ATLAS_LOCAL_ROOT_BASE/utilities/installSW.sh --name=Ganga --platform=i686 --version=4.4.13 --makeDefault
--
AsokaDeSilva - 25 Jun 2008