Issues of interest to users at the Waisman Center

Installation

The software is used on computers running a variety of Linux versions. This presents the problem of transparently setting paths for users that may login on any system. The solution is to run a bash script linked to the application name. This script determines the appropriate settings. sets the environment variables, and then runs the application. The application inherits these environment variables without disrupting the user's default environment. This enables the safe use of the LD_LIBRARY_PATH, which is of the more user-vicious features of UNIX.

The bash script, python_launcher.bsh, requires the following links for the applications "process_data.py":

ln -s /apps/scientific_45/bin/bash/python_launcher.bsh <progname>
ln -s <progname>.py

Example - Creating links for make_fmap

In /apps/scientific_45/bin/python, create the links:
ln -s /apps/scientific_45/bin/python_launcher.bsh make_fmap
ln -s /apps/python/python_apps/make_fmap.py

Since /apps/scientific_45/bin/python is in the default user path, the program can be run with the commmand "make_fmap."

Last modified October 18, 2008