Skip to content

Setting the UCVM Environment

Philip Maechling edited this page Aug 4, 2025 · 3 revisions

During UCVM installation, a script is created that will setup required environment variables used by the UCVM software. Typically, users will add this script to their .bashrc or .cshrc file, so the environment is setup before they invoke UCVM commands. Two version of this setup file is provided, one for .bashrc users (setup_ucvm.sh) and one for .cshrc users (setup_ucvm.csh).

This script will set needed UCVM environment variables, the PROJ library path, and add the UCVM executables to your path.

Defining them using the UCVM setup script

Example instructions from the UCVM installation include:

Done installing UCVM!

Thank you for installing UCVM.
Now edit your ~/.bashrc file to call /scratch/00329/tg456034/ucvm_257/conf/ucvm_env.sh 

   source /scratch/00329/tg456034/ucvm_257/conf/ucvm_env.sh 

This will set the required UCVM environment variables.
Then log out, and log in, move to tests directory, and run the tests

UCVM Environment Variables

If you have errors running UCVM commands, make sure these two environment variables used by the UCVM software are set in your environment. The required enviroment variables should be defined in the ucvm_env.sh (or ucvm_env.csh) with commands like this:

  • export UCVM_SRC_PATH=$WORK/ucvm_src/ucvm
  • export UCVM_INSTALL_PATH=$WORK/ucvm_257
Clone this wiki locally