setvars:
source setvars.sh (if you use bash)
source setvars.csh (if you use tcsh)
Otherwise you can set the values in startup files of your shell such as $HOME/.bashrc
in case of interactive session or .profile in case of remote login session, or .tcshrc if you
use tcsh
For bash, add the following lines (specify the location of MagiC in the first line):
# Define location of MAGIC below. MAGIC=<PATH_TO_LOCATION_OF_MAGIC> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MAGIC/MagicTools/xdrfile-1.1.1 export PYTHONPATH=$MAGIC/MagicTools/xdrfile-1.1.1/src/python:$PYTHONPATH export PYTHONPATH=$MAGIC/MagicTools:$MAGIC/MagicTools/lib:$PYTHONPATH export PATH=$PATH:$MAGIC/bin
If you use tcsh, set up the same environmental variables using setenv directive.