Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

$ source setup_template.csh

Info
Setup Scripts
titlesetup_template.csh

NOTE: If you are running on a Linux machine with SLAC AFS access, you can use the setup_template.csh and will not need to create a custom script.

This setup_template.csh is an example of all the software dependencies required to build the software and what environments variables need to be setup.

However if you make a custom setup script, make sure to include the python directory paths:

set temp_path=($_)

# Package directories

setenv ROGUE_DIR  `dirname ${PWD}/$temp_path[2]`

# Setup python path

setenv PYTHONPATH ${ROGUE_DIR}/python:${PYTHONPATH}

# Setup library path

setenv LD_LIBRARY_PATH ${ROGUE_DIR}/python:${LD_LIBRARY_PATH}

...

$ source setup_template.csh

Info
Setup Scripts
titlesetup_template.csh

NOTE: If you are running on a Linux machine with SLAC AFS access, you can use the setup_template.csh and will not need to create a custom script.

This setup_template.csh is an example of all the software dependencies required to build the software and what environments variables need to be setup.

However if you make a custom setup script, make sure to include the python directory paths:

# Python Package directories

setenv FEB_DIR    ${PWD}/../firmware/common/AtlasChess2Feb

setenv SURF_DIR   ${PWD}/../firmware/submodules/surf

setenv ROGUE_DIR ${PWD}/rogue

# Setup python path

setenv PYTHONPATH ${PWD}/python:${SURF_DIR}/python:${FEB_DIR}/python:${ROGUE_DIR}/python

# Setup library path

setenv LD_LIBRARY_PATH ${ROGUE_DIR}/python::${LD_LIBRARY_PATH}

# Setup library path

setenv LD_LIBRARY_PATH ${ROGUE_DIR}/python::${LD_LIBRARY_PATH}

...