ALERT! WARNING: This page is obsolete.






#!----------------------------------------------------------------------------
#!
#! Atlas_Local_DQ2_setup.sh
#!
#! A simple script to setup DQ2 for local Atlas users
#!
#! Usage:
#!     source Atlas_Local_DQ2_setup.sh
#!
#! History:
#!   10Oct07: A. De Silva, First version
#!
#!----------------------------------------------------------------------------
#!
#! Configurations:
#!
#! Default DQ2 version; it is overridden if user defines ATLAS_LOCAL_DQ2_VERSIONATLAS_LOCAL_DQ2_VERSION=${ATLAS_LOCAL_DQ2_VERSION:-current}; export ATLAS_LOCAL_DQ2_VERSION
#!
#!
#!----------------------------------------------------------------------------

echo "************************************************************************"
echo "It is strongly recommended that you run DQ2 in a new session"
echo "  It uses a different version of python from Athena and can cause grief."
echo "************************************************************************"
read -n 1 -p "Continue ? (Y[N]) : " doContinue
case $doContinue in
    y | Y ) echo "Setting up DQ2 ...";;
        * ) echo "Aborting now ..."; return;;
esac

# setup python 2.4
insertPath PATH /ATLAS_LOCAL_ROOT/python/installed/2.4.4/bin
insertPath LD_LIBRARY_PATH /ATLAS_LOCAL_ROOT/python/installed/2.4.4/lib

deletePath PATH $ATLAS_LOCAL_DQ2_PATH
export ATLAS_LOCAL_DQ2_PATH=/ATLAS_LOCAL_ROOT/DQ2/${ATLAS_LOCAL_DQ2_VERSION}/offline/DataManagement/DQ2_0_2/endusers
source ${ATLAS_LOCAL_DQ2_PATH}/setup.sh.any
echo "***************************************************"
echo "For some sites, you may need to do the following: "
echo "  export DQ2_COPY_COMMAND='lcg-cp -v --vo atlas'"
#export DQ2_COPY_COMMAND='lcg-cp -v --vo atlas'
echo "***************************************************"
appendPath PATH $ATLAS_LOCAL_DQ2_PATH

-- AsokaDeSilva - 11 Oct 2007

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2026-10-05 - AsokaDeSilva
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 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