%BR%%BR%%BR%%BR%%BR% %X% *WARNING:* This page is obsolete. %BR%%BR%%BR%%BR%%BR% <verbatim> #!---------------------------------------------------------------------------- #! #! Atlas_Local_setup.sh #! #! A simple script for users to setup the cluster environment for ATLAS #! #! Usage: #! source Atlas_Local_setup.sh #! #! History: #! 10Oct07: A. De Silva, First version #! #!---------------------------------------------------------------------------- #! #! Configurations: #! #! #! #!---------------------------------------------------------------------------- # Utilities # add to end of path # copied from BaBar appendPath() { if eval test -z \${$1}; then eval "$1=$2" elif ! eval test -z \"\${$1##$2}\" -o -z \"\${$1##*:$2:*}\" -o -z \"\${$1%%*:$2}\" -o -z \"\${$1##$2:*}\" ; then eval "$1=\$$1:$2" fi } # add to front of path # copied from BaBar insertPath() { if eval test -z \${$1}; then eval "$1=$2" elif ! eval test -z \"\${$1##$2}\" -o -z \"\${$1##*:$2:*}\" -o -z \"\${$1%%*:$2}\" -o -z \"\${$1##$2:*}\" ; then eval "$1=$2:\$$1" fi } # delete from path # copied from BaBar deletePath() { eval "$1=\$(echo \$$1 | sed -e s%^$2\$%% -e s%^$2\:%% -e s%:$2\:%:%g -e s%:$2\\\$%%)" } # for ROOT (do not need this since it is distributed with Athena/Multi) ? # deletePath PATH ${ROOTSYS}/bin #ROOTSYS=${ROOTSYS:-/ATLAS_LOCAL_ROOT/cern/root/5.16.00/root}; export ROOTSYS # appendPath PATH ${ROOTSYS}/bin # for Ganga source /ATLAS_LOCAL_ROOT/Ganga/Atlas_Local_Ganga_setup.sh # 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.sh' </verbatim> -- Main.AsokaDeSilva - 11 Oct 2007
This topic: AtlasCanada
>
ComputingPage
>
ComputingTips
>
InstallAtlasSoftware
>
Atlas_Local_setup_sh
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