/[PAMELA software]/PamCAL/pam_env.sh
ViewVC logotype

Contents of /PamCAL/pam_env.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Mon Nov 12 10:05:51 2007 UTC (17 years ago) by nikolas
Branch: MAIN
CVS Tags: HEAD
File MIME type: application/x-sh
Error occurred while calculating annotation data.
Added files and directories

1 case $1 in
2 pro)
3 export PAM_VER=pro
4 echo PRO Version of PAMELA Software selected. Setting PAM_VER to $PAM_VER
5 ;;
6 old)
7 export PAM_VER=old
8 echo OLD Version of PAMELA Software selected. Setting PAM_VER to $PAM_VER
9 ;;
10 *)
11 echo Version of PAMELA Software not specified. Setting PAM_VER to default $PAM_VER
12
13 esac
14
15 export PAMELA_INSTALLED=/home/pamela/pamela_software
16 export PAMELA_SOFTWARE=$PAMELA_INSTALLED/$PAM_VER
17 export PAMELA_DATA=/data1/pamela/data/level2/$PAM_VER
18
19 export PAM_BIN=$PAMELA_SOFTWARE/bin
20 export PAM_LIB=$PAMELA_SOFTWARE/lib
21 export PAM_SRC=$PAMELA_SOFTWARE/src
22 export PAM_INC=$PAMELA_SOFTWARE/inc
23 export PAM_DOC=$PAMELA_SOFTWARE/docs
24 export PAM_MACROS=$PAMELA_SOFTWARE/macros
25 export PAM_CALIB=$PAMELA_SOFTWARE/calib
26 export PAM_YODA=$PAMELA_SOFTWARE
27 #export PAM_DBHOST=mysql://localhost/pamelatmp?socket=`mysql_config --socket`
28 export PAM_DBUSER=pamelaprod_ro
29
30 #export ANT_HOME=$PAMELA_INSTALLED/apache-ant-1.6.5
31 #export JAVA_HOME=$PAMELA_INSTALLED/jdk1.5.0_07
32
33 fs sys | grep i386_linux24
34 if [ $? -eq 0 ]
35 then
36 # export LINUX_DISTRO=slc3_ia32_gcc323
37 export LINUX_DISTRO=slc3_ia32_gcc344
38 fi
39
40 fs sys | grep i386_linux26
41 if [ $? -eq 0 ]
42 then
43 export LINUX_DISTRO=slc4_ia32_gcc345
44 fi
45
46 export LD_LIBRARY_PATH=$PAM_LIB:$LD_LIBRARY_PATH
47 export PATH=$PAM_BIN:$PATH

  ViewVC Help
Powered by ViewVC 1.1.23