WARNING: This page is obsolete.
#!----------------------------------------------------------------------------
#!
#! Atlas_Local_setup.csh
#!
#! A simple script for users to setup the cluster environment for ATLAS
#!
#! Usage:
#! source Atlas_Local_setup.csh
#!
#! History:
#! 10Oct07: A. De Silva, First version
#!
#!----------------------------------------------------------------------------
#!
#! Configurations:
#!
#!
#!
#!----------------------------------------------------------------------------
# Utilities
# add to end of path
# copied from BaBar
alias appendPath 'if ( $\!:1 != \!:2 && $\!:1 !~ \!:2\:* && $\!:1 !~ *\:\!:2\:* && $\!:1 !~ *\:\!:2 ) setenv \!:1 ${\!:1}\:\!:2'
# add to front of path
# copied from BaBar
alias insertPath 'if ( $\!:1 != \!:2 && $\!:1 !~ \!:2\:* && $\!:1 !~ *\:\!:2\:* && $\!:1 !~ *\:\!:2 ) setenv \!:1 \!:2\:${\!:1}; if ( $\!:1 != \!:2 && $\!:1 !~ \!:2\:* ) setenv \!:1 \!:2\:`echo ${\!:1} | sed -e s%^\!:2\:%% -e s%:\!:2\:%:%g -e s%:\!:2\$%%`'
# delete from path
# copied from BaBar
alias deletePath 'setenv \!:1 `echo ${\!:1} | sed -e s%^\!:2\$%% -e s%^\!:2\:%% -e s%:\!:2\:%:%g -e s%:\!:2\$%%`'
# for ROOT (don't need this since it is distributed with Athena/Multi ?)
# if ( $?ROOTSYS ) then
# deletePath ${ROOTSYS}/bin
# endif
#if ( ! $?ROOTSYS ) setenv ROOTSYS /ATLAS_LOCAL_ROOT/cern/root/5.16.00/root
# appendPath PATH ${ROOTSYS}/bin
# for Ganga
source /ATLAS_LOCAL_ROOT/Ganga/Atlas_Local_Ganga_setup.csh
# for DQ2
# (11 Oct 2007, ADS)
# ... not sourcing this as it affects the edg commands because of
# python versions. Do not know if it is still a problem
# For now, users can type the alias to source DQ2.
alias ATLAS_LOCAL_DQ2_SETUP 'source /ATLAS_LOCAL_ROOT/DQ2/Atlas_Local_DQ2_setup.csh'
--
AsokaDeSilva - 11 Oct 2007