commit ffbcba5eb06838d6b03208ba6f29b3eb78f333bb parent 5419662ff87f920b1b732749175d561b39d03c87 Author: Anders Damsgaard <anders.damsgaard@geo.au.dk> Date: Tue, 3 Sep 2013 13:54:37 +0200 added env var values for lmgc90v2 Diffstat:
M | .bashrc | | | 10 | ++++++++++ |
M | .zshrc | | | 10 | ++++++++++ |
2 files changed, 20 insertions(+), 0 deletions(-)
diff --git a/.bashrc b/.bashrc @@ -120,3 +120,13 @@ fi #source /home/adc/OpenFOAM/OpenFOAM-2.1.1/etc/bashrc + +# LMGC90 +if [ -z ${PYTHONPATH} ]; then + export PYTHONPATH=/home/adc/code/lmgc90/LMGC90v2/builds/Lmgc90_v2 + export PYTHONPATH=${PYTHONPATH}://home/adc/code/lmgc90/LMGC90v2/builds/Lmgc90_v2/lib +else + export PYTHONPATH=${PYTHONPATH}://home/adc/code/lmgc90/LMGC90v2/builds/Lmgc90_v2 + export PYTHONPATH=${PYTHONPATH}://home/adc/code/lmgc90/LMGC90v2/builds/Lmgc90_v2/lib +fi +export PATH=${PATH}:/home/adc/code/lmgc90/LMGC90v2/src/LMGC90v2_dev/addons diff --git a/.zshrc b/.zshrc @@ -91,3 +91,13 @@ export LIBRARY_PATH=/usr/local/lib/:$LIBRARY_PATH export PYTHONPATH=/usr/local/lib/python2.7/dist-packages/:$PYTHONPATH export PYTHONPATH=/home/adc/code/esys-particle/own-modules/:$PYTHONPATH + +# LMGC90 +if [ -z ${PYTHONPATH} ]; then + export PYTHONPATH=/home/adc/code/lmgc90/LMGC90v2/builds/Lmgc90_v2 + export PYTHONPATH=${PYTHONPATH}://home/adc/code/lmgc90/LMGC90v2/builds/Lmgc90_v2/lib +else + export PYTHONPATH=${PYTHONPATH}://home/adc/code/lmgc90/LMGC90v2/builds/Lmgc90_v2 + export PYTHONPATH=${PYTHONPATH}://home/adc/code/lmgc90/LMGC90v2/builds/Lmgc90_v2/lib +fi +export PATH=${PATH}:/home/adc/code/lmgc90/LMGC90v2/src/LMGC90v2_dev/addons