23.05.2014 Views

Athena Developer Guide

Athena Developer Guide

Athena Developer Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Athena</strong><br />

Chapter 4 Establishing a development environment Version/Issue: 2.0.0<br />

Chapter 4<br />

Establishing a development environment<br />

4.1 Overview<br />

This Chapter describes how to establish an environment to allow a developer to modify or create<br />

<strong>Athena</strong>-based applications. The details of this will depend upon the particular site, on whether the user<br />

is using a CERN computer, and whether AFS is available. Consult your local system administrator for<br />

details of how to login and to create a minimal environment. What is described here is the appropriate<br />

setup procedures for a CERN user on a CERN machine.<br />

4.2 Establishing a login environment<br />

4.2.1 Commands to establish a bourne-shell or varient login environment<br />

The commands in Listing 4.1 establish a minimal login environment using the bourne shell or varients<br />

(sh, bash, zsh, etc.) and should be entered into the .profile or .bash_profile (?) file.<br />

Listing 4.1 Bourne shell and varients commands to establish an ATLAS login environment<br />

export ATLAS_ROOT=/afs/cern.ch/atlas<br />

export CVSROOT=:kserver:atlas-sw.cern.ch:/atlascvs<br />

if [ "$PATH" != "" ]; then<br />

export PATH=${PATH}:$ATLAS_ROOT/software/bin<br />

else<br />

export PATH=$ATLAS_ROOT/software/bin<br />

fi<br />

source ‘srt setup -s sh‘<br />

page 21

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!