Versions Compared

Key

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

...

  • SIT_ENV – defines the type of the SIT environment, can be default for regular setup or ana for analysis environment
  • SIT_ROOT – defines the location of the top directory for the PSDM software, usually /reg/g/psdm.
  • SIT_RELDIR – directory with regular PSDM release
  • SIT_RELEASE – the name of the software release to use, something like "current" or "ana-1.1.5"
  • SIT_ARCH – the name of the hardware/software architecture to use like x86_64-rhel5-gcc41-opt
  • SIT_DATA – list of directories where the data files reside. These are not regular XTC data files, but rather some additional data that software needs. Usually it includes "<test-release>/data" and $SIT_RELDIR/$SIT_RELEASE/data (that is "data" directory in the releases) but can also be extended to include other locations.
  • SIT_REPOS – the locations of all "base" releases. Currently we only support single base release so this variable would look like $SIT_RELDIR/$SIT_RELEASE
  • LSF_PACKAGE_LIB – the location of the lsf package lib directory. Typical users will not set this. When at LCLS, it will be set to /afs/slac.stanford.edu/package/lsf/curr/lib/. Offsite users that have their own lsf installation they want to try with an ana release can set this appropriately.
  • SIT_NO_MODIFY_OMPI_ENV – typical users will not set this. Only offsite users that set OMPI environment variables may want to set this. see below.

Derived variables:

  • PATH – should be extended to include <test-release>/arch/$SIT_ARCH/bin and $SIT_RELDIR/$SIT_RELEASE/arch/$SIT_ARCH/bin
  • LD_LIBRARY_PATH – should be extended to include <test-release>/arch/$SIT_ARCH/lib and $SIT_RELDIR/$SIT_RELEASE/arch/$SIT_ARCH/lib, and $LSF_PACKAGE_LIB
  • PYTHONPATH – should be extended to include <test-release>/arch/$SIT_ARCH/python and $SIT_RELDIR/$SIT_RELEASE/arch/$SIT_ARCH/python

The <test-release> place holder is the absolute path to test release which is a release that is based on a base release (in $SIT_RELEASE). All these variables could be set manually, but there is a single convenience script which can be sourced from the user's shell which does all the tedious work.

MPI and LSF

The starting with ana 0.18.0, openmpi will try to load lsf components. sit_setup will set LSF_PACKAGE_LIB to the appropriate directory at SLAC. For offsite users, it will instead set three OMPI environment variables to instruct openmpi to not try to load the lsf components. These variables are

OMPI_MCA_ess = ^lsf
OMPI_MCA_ras  = ^lsf
OMPI_MCA_plm = ^lsf

Advanced users may want to set these variables themselves. If so, set

SIT_NO_MODIFY_OMPI_ENV=1

before setting up the ana environment.

Cern Root Users

At LCLS, the ana_env scripts make our cern root installation available to users. Advanced root users may want to run the thisroot.sh script to further setup the root environment. After running the ana_env.sh script, one would execute:

...