Pointlike: Setup SLAC Central Linux

  1. Login to SLAC Central Linux.
  2. Be sure that you have a .xrayrc file in your HOME directory; if not, create one. (See Example: Setup (when running Science Tools on SLAC Central Linux.)
  3. SSH to a rhel5-64 machine: ssh rhel5-64
  4. Start a bash shell: bash
  5. Create a subdirectory (e.g., mypointlike) in your user space:

mkdir /afs/slac/g/glast/users/user_name/mypointlike

  1. Create a setup script similar to the following:

# 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


Owned by:

dd/mm/yyyy

   

Last updated by: Chuck Patterson 05/24/2011