(As the chaste user, not root)

Edit the .bashrc file in the home directory and append the following:

export LD_LIBRARY_PATH=$HOME/petsc-2.2.1/lib/libg_c++/linux-gnu/:$HOME/eclipse/workspace/Chaste/lib

Also add java paths if you are on a machine where you want to use eclipse or visualizers

# Java paths
export PATH=/usr/java/jdk1.5.0_09/bin:$PATH
export JAVA_HOME=/usr/java/jdk1.5.0_09

NB. change jdk1.5.0_09 and petsc-2.2.1 to the versions you installed in earlier steps NB. You will need to logout and in again for the above to take effect. Or you could just do

source ~/.bashrc

within your terminal, which will work for programs run from the terminal.

Also, alter ~/.bash_profile to set the PATH as


so programs in $HOME/bin (e.g. the eclipse launcher script) take precedence over standard system locations.

Last modified 8 years ago Last modified on Jun 13, 2012, 6:55:45 PM