Example setup script for running an optimized SCons ScienceTools-xx-xx-xx build on a SLAC Central Linux redhat5 64-bit machine.

Key assumptions include that you have first:

  • SSH'd to a RHEL5-64 machine.
  • Created a directory called "binned_likelihood_data" in your User Work Space.
# Set Environment Variables
# BLDTYPE is defined for convenience
setenv BLDTYPE redhat5-x86_64-64bit-gcc41
# Here GLAST_EXT is defined for a 64-bit redhat5 machine at SLAC.
setenv 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
setenv BUILDS /nfs/farm/g/glast/u35/ReleaseManagerBuild
setenv INST_DIR ${BUILDS}/${BLDTYPE}/Optimized/ScienceTools/09-18-06
# 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.csh
# The next line will enable you to run SAOImage ds9, FTOOLS, and XSPEC
source $GLASTROOT/applications/astroTools/astrotools_setup.csh
# Create environment variable My_Data
setenv My_Data /afs/slac/g/glast/users/username/binned_likelihood_data