In order for the SNARK09 executable files to be invoked and linked properly, each user must set the PATH and LD_LIBRARY_PATH environment variables to include the executable and library installation directories specified during installation.
The following describes how to set the variables PATH and LD_LIBRARY_PATH for users of bash and csh.
The PATH and LD_LIBRARY_PATH variables are colon-separated lists of directories. Edit the ~/.bashrc file by appending the following three lines (if .bashrc does not exist in your home directory then you will have to create it):
export SNARK09ROOT=/usr/local/snark09
export PATH=$PATH:$SNARK09ROOT/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SNARK09ROOT/lib
where /usr/local/snark09 is the location at which SNARK09 was installed. If you have modified this then adjust the first of the above lines accordingly.
After changing the file .bashrc type the following for the changes to take effect:
$ source ~/.bashrc
The PATH and LD_LIBRARY_PATH variables are space-separated lists of directories. Edit the ~/.cshrc file by appending the following lines (if cshrc does not exist in your home directory then you will have to create it):
setenv SNARK09ROOT /usr/local/snark09
if ($?PATH) then
setenv PATH ${PATH}:${SNARK09ROOT}/bin
else
setenv PATH ${SNARK09ROOT}/bin
endif
if ($?LD_LIBRARY_PATH) then
setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${SNARK09ROOT}/lib
else
setenv LD_LIBRARY_PATH ${SNARK09ROOT}/bin
endif
where /usr/local/snark09 is the location at which SNARK09 was installed. If you have modified this then adjust the first of the above lines accordingly.
After changing the file .bashrc type the following for the changes to take effect:
$ source ~/.cshrc
All Content Copyright © 2009-2014
CISDD
Last revised: Jul 29, 2009, 20:17:31
Page designed by Joanna Klukowska
for Discrete Imaging and
Graphics Group (DIG)