---+ How to Install / Update Ganga %BR%%BR%%BR%%BR%%BR% %X% *WARNING:* This page is obsolete. %BR%%BR%%BR%%BR%%BR% %TOC% %ICON{warning}% (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: <verbatim> cd mv ~/.gangarc ~/.gangarc4 #setup ganga paths and do ganga -g # edit ~/.gangarc as described below.</verbatim> ---++ 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) <verbatim> 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</verbatim> 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: * add the line <verbatim> RUNTIME_PATH = GangaAtlas</verbatim> * 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.) <verbatim> EDG_SETUP = /opt/glite/etc/profile.d/grid-env.sh GLITE_SETUP = /opt/glite/etc/profile.d/grid-env.sh</verbatim> * 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.) <verbatim> ATLAS_SOFTWARE = /atlas/ATLASLocalRootBase/i686/Athena/Multi</verbatim> * set the virtual organization to atlas: <verbatim> VirtualOrganisation = atlas</verbatim> %ICON{tip}% You can check the LCG configuration by typing <verbatim> config['LCG']</verbatim> You can change parameters from the Ganga prompt, for example: <verbatim> config["LCG_Properties"]["middleware"]='GLITE'</verbatim> * set the voms: <verbatim> voms = atlas</verbatim> * set the /atlas/ca attribute (for Canadians only) <verbatim> init_opts = -voms atlas:/atlas/ca</verbatim> ---++ !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 <verbatim> $ATLAS_LOCAL_ROOT_BASE/utilities/installSW.sh --name=Ganga --platform=i686 --version=4.4.13 --makeDefault</verbatim> -- Main.AsokaDeSilva - 25 Jun 2008
This topic: AtlasCanada
>
ComputingPage
>
NstallGanga
Topic revision: r3 - 2026-10-05 - AsokaDeSilva
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