Installing the SRB Client

SRB clients are provided in precompiled form by the SDSC and the Centre de Calcul de Lyon.

The downloaded tarball is expanded in a local directory. The local administrator has to create a setup script in this directory.

The following examples are given for the Scientific Linux 3 and 4 platforms:

% cd /exp/auger/AugerSoft/Srb

% tar xvfz SRB3.4.2_LinuxSL.tar.gz

srb_env.sh                                                (script Sh, Bash, Ksh, Zsh)

export SRB_ROOT=/exp/auger/AugerSoft/Srb/SRB3.4.2_LinuxSL
export PATH=$SRB_ROOT/bin:${PATH}
alias Sman='/usr/bin/man -M $SRB_ROOT/man'

srb_env.csh                                               (script Csh, Tcsh)

setenv SRB_ROOT /exp/auger/AugerSoft/Srb/SRB3.4.2_LinuxSL
setenv PATH $SRB_ROOT/bin:${PATH}
alias Sman '/usr/bin/man -M $SRB_ROOT/man'

Note: the setup script must be "sourced", using the source command. This is the only way to define the necessary environment variables in the context of the user process.

The local Auger administrator is encouraged to create an alias in the login script of the group:

Sh, Bash

alias srb_env='. /usr/local/shared/bin/srb_env.sh'

Csh, Tcsh

alias srb_env "source /usr/local/shared/bin/srb_env.csh"

It would be also useful to copy from Lyon the initialization script and to install it in the SRB root directory (see SRB Access)

% scp ccali.in2p3.fr:/afs/in2p3.fr/throng/pauger/init_srb_account.sh $SRB_ROOT/
% chmod g+rx $SRB_ROOT/init_srb_account.sh