#!/bin/bash # This script should be sourced at log on (e.g. in .bashrc) # Set environment variables if not yet set if [ -z "$DIM_DNS_NODE" ]; then export DIM_DNS_NODE=ihp-pc1.ethz.ch; fi if [ -z "$DIM_HOST_NODE" ]; then export DIM_HOST_NODE=`hostname -I`; fi if [ -z "$DIMDIR" ]; then export DIMDIR=/usr/local/dim/; fi if [ -z "$QWTDIR" ]; then export QWTDIR=/usr/local/qwt/; fi #Set paths export LD_LIBRARY_PATH=$QWTDIR/lib:$DIMDIR/linux:$LD_LIBRARY_PATH export PATH=.:$DIMDIR/linux:$PATH