3. Setting up the user environment

Table of Contents

Environment variables required by Anaphe
Setting up the environment for Bourne shell flavour shells
Setting up the environment for csh shell flavour shells
How to get a fresh Objectivity/DB federated database
Installation troubleshooting

The Anaphe environment is defined by a set of environment variables which define where to retrieve tools, libraries , include files etc. Depending on the flavour of the Unix shell used (Bourne o csh), different commands are used to define such variables. In order to have the environment properly set up at any new login, those commands must be recorded in a startup script which is then executed when the user logs in. The name of these script depends on the shell flavour as well.

Environment variables required by Anaphe

These are the environment variables Anaphe relies on:

  • LHCXXTOP, the location where Anaphe is installed;

  • PLATF, the specific computing platform ;

  • LHCXX_REL_DIR, the release of Anaphe in use;

  • OBJY_VERS, the release of Objectivity/DB in use.

These environment variables are used to locate all Anaphe components. Anaphe provides startup scripts to set reasonable defaults for those variables, but in some cases the user may want to override them. The next sections will explain how to setup the user environment depending on the flavour of the active shell. Shell Support - tcsh and zsh for pedestrians provides a comprehensive description of two mainstream shells (tcsh and zsh).