<<Include(Menu)>>

LTR Environment Variables

The first step to run an LTR code is to configure your environment. You must set two environment variables:

  • $LTRROOT - points to the LTR source code
  • Append to $PATH
    The way you set these variables depends on the login shell your using. You can determine which shell you're using via the command echo $SHELL.

Bash Shell

The environment variables you need to set are*:

export LTRROOT=/home/wiltbemj/src/LTR-para
export PATH=$PATH:$LTRROOT/misc/python

You need this environment variable set each time you run the code. You can automatically set them each time you login in one of your login scripts: $HOME/.bashrc, $HOME/.bash_login, $HOME/.bash_profile.

C-Shell Shell

The environment variables you need to set are*:

setenv LTRROOT /home/wiltbemj/src/LTR-para
setenv PATH $PATH:$LTRROOT/misc/python

You need this environment variable set each time you run the code. You can automatically set them each time you login in your login script at $HOME/.cshrc

Footnotes

  • The value of LTRROOT you set depends on where you download/extract the source code.
  • No labels