# Set Environment Variables for pointlike analysis
# The next line source will enable you to run SAOImage ds9, FTOOLS,and XSPEC at
#
SLAC
source /afs/slac.stanford.edu/g/ki/software/etc/profile.xray
# BLDTYPE is defined for convenience
export BLDTYPE=redhat5-x86_64-64bit-gcc41
# Here GLAST_EXT is defined for 64-bit redhat5 machine at SLAC
export GLAST_EXT=/afs/slac/g/glast/ground/GLAST_EXT/${BLDTYPE}
# INST_DIR should be set to root of base installation
# The next 2 lines are appropriate for using an optimized RM build at SLAC
export BUILDS=/nfs/farm/g/glast/u35/ReleaseManagerBuild
# Use 09-23-02, or higher (not available when this was written on 5/23/2011)
export INST_DIR=${BUILDS}/${BLDTYPE}/Optimized/ScienceTools/09-23-01
# The following line (or equivalent) should be included if you plan to run
# executables directly. Do not include if using wrapper scripts.
# Note last field in the path prior to filename is the variant.
source ${INST_DIR}/bin/redhat5-x86_64-64bit-gcc41-Optimized/_setup.sh
# Create environment variable CALDB (not needed if using 09-23-02, or higher)
export CALDB=${INST_DIR}/irfs/caldb/CALDB
# Create environment variable My_Data
export My_Data=/afs/slac/g/glast/users/user_name/mypointlike
# Change to My_Data directory
cd $My_Data
# end |