wiki:HetDescription/jrf/tu_env

Setting up your environment

Because the code is not in one of the standard system locations you will need to modify your environment in order to let the operating system know where to find executables, libraries, and configuration files.

If you use the bash shell, then you should include the following lines in your .bashrc file.

  #
  # .bashrc setup for HetDex
  #

  # location of third-party and hetdex software executables
  #  (this is required to operate the software)
  #
  export HETDEX_DIR=/opt/het/hetdex

  # location of src tree for Hetdex software source
  #  (this is required to operate the software)
  #
  # This will change after the system is stable. We are running
  # out of the source tree only during development.
  #
  export HET_SRC_ROOT=$HETDEX_DIR/src/tcs/trunk

  # modify environment variables to gain access to the system
  #  (this is required to operate the software)
  #
  export LIBRARY_PATH=$HETDEX_DIR/lib:$HETDEX_DIR/epics/lib/linux-x86_64
  export PATH=$HETDEX_DIR/bin:$HETDEX_DIR/anaconda/bin:$PATH
  export PYTHONPATH=$HETDEX_DIR/lib/python2.7/site-packages:$HETDEX_DIR/lib64/python2.7/site-packages:$PYTHONPATH

  export LD_LIBRARY_PATH=$HETDEX_DIR/lib:$HETDEX_DIR/epics/lib/linux-x86_64:$HETDEX_DIR/plugins/designer:$LD_LIBRARY_PATH

If you are using csh or a variant, you should include the following in your .cshrc file.

  #
  # .cshrc set up for HetDex
  #

  # location of third-party and hetdex software executables
  #  (this is required to operate the software)
  #
  setenv HETDEX_DIR /opt/het/hetdex

  # location of src tree for Hetdex software source
  #  (this is required to operate the software)
  #
  setenv HET_SRC_ROOT $HETDEX_DIR/src/tcs/trunk

  # for third-party software locations
  #  (this is required to operate the software)
  #
  setenv LIBRARY_PATH $HETDEX_DIR/lib:$HETDEX_DIR/epics/lib/linux-x86_64
  setenv PATH $HETDEX_DIR/bin:$HETDEX_DIR/anaconda/bin:$PATH

  setenv LD_LIBRARY_PATH $HETDEX_DIR/lib:$HETDEX_DIR/epics/lib/linux-x86_64:$HETDEX_DIR/plugins/designer

  setenv PYTHONPATH $HETDEX_DIR/lib/python2.7/site-packages:$HETDEX_DIR/lib64/python2.7/site-packages
Last modified 8 years ago Last modified on Sep 2, 2016 9:34:26 PM