Project

General

Profile

Software Environment Setup

UPS

All software is set up using the UPS command setup (note: this is not the system command /usr/bin/setup). Some sites will activate the setup command implicitly. For others one must source a file of the same name which is located at the top of the software "products" installation area.

source /path/to/products/setup
ups  # prints help message

Finding available software

To list what UPS products are available do

ups list -aK+

Setting up your environment

To set up your environment you give the top-level package, its version and possibly some qualifiers. For example:

ups list -aK+|grep larsoft
setup larsoft development -q prof

See what you got:

echo $SRT_PUBLIC_CONTEXT
/data3/lbne/bv/clean/lbnesoft/larsoft/releases/development