How to get the source code and setup your development area

The instructions below refer to $prefix which is the top of the Ganga area you are setting up.

For example set prefix=~/ganga and execute the following instructions below.

Using the shared installation (for example AFS):

mkdir -p $prefix/install
ln -s /afs/ $prefix/external
cd $prefix/install
For listing available tags
export SVNURL=svn+ssh://
svn ls $SVNURL/tags
For checking out particular tag ('Ganga-5-4-0')

svn co $SVNURL/tags/Ganga-5-4-0 5.4.0

Local installation:
There is a section on how to intall locally at

After completing this, Ganga might not run straight away, especially if the local system
contains newer versions of for example gcc and/or python.

The following steps were taken on a laptop running Gentoo with gcc 4.2.3 and python 2.5

  1. Remove any directories in the
    directory that contain software that is already installed locally.
    If there are several instances of python installed side by side, for example through a local install of LCGCMT,
    all the software that is removed from the external directory needs to be available for each instance of python.
  2. Remove any .pyc files from directories left in $prefix/external

To make running ganga easier.

  1. Copy /afs/ to your machine
  2. create an alias in you shell startup script to
     eval `python <somepath>/ --version=<yourversion> --interactive --experiment<yourexperiment> <sh or csh>` 
    Running this alias will add $prefix/install//bin to your path and setup GANGA_CONFIG_PATH as needed
  3. change prefixStr in to your local $prefix

If you do not or not always have acces to AFS on your local machine or want to use
local installations of files that ganga uses, modify your ganga startup file, ~/.gangarc by default,
and the .ini files for your experiment to reflect your local installation paths -- RoelAaij - 20 Mar 2008

Directory structure:

-- JakubMoscicki - 21 Mar 2007

For setup under Windows XP:

You need configure the SSH access first. Instructions can be found under point 6 at:

Edit | Attach | Watch | Print version | History: r6 < r5 < r4 < r3 < r2 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r6 - 2009-11-10 - ManojJha
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    ArdaGrid All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
or Ideas, requests, problems regarding TWiki? use Discourse or Send feedback