Ticket #23323: env.sh

File env.sh, 3.5 KB (added by cristiano.fontana@…, 15 years ago)
Line 
1######################################
2#
3# Clean all G4 envs
4unset  CLHEP_BASE_DIR
5unset  CLHEP_INCLUDE_DIR
6unset  CLHEP_LIB
7unset  CLHEP_LIB_DIR
8
9unset  G4DEBUG
10unset  G4INCLUDE
11unset  G4INSTALL
12
13unset  G4LEDATA
14unset  G4LEVELGAMMADATA
15unset  G4NEUTRONHPDATA
16unset  G4RADIOACTIVEDATA
17unset  G4ABLADATA
18unset  G4REALSURFACEDATA
19
20unset  G4LIB
21unset  G4LIB_BUILD_G3TOG4
22unset  G4LIB_BUILD_SHARED
23unset  G4LIB_BUILD_STATIC
24unset  G4LIB_BUILD_ZLIB
25unset  G4LIB_BUILD_GDML
26unset  G4LIB_USE_G3TOG4
27unset  G4LIB_USE_GRANULAR
28unset  G4LIB_USE_ZLIB
29
30unset  G4SYSTEM
31
32unset  G4UI_NONE
33unset  G4UI_BUILD_WIN32_SESSION
34unset  G4UI_BUILD_XAW_SESSION
35unset  G4UI_BUILD_XM_SESSION
36unset  G4UI_USE_TCSH
37unset  G4UI_USE_WIN32
38unset  G4UI_USE_XAW
39unset  G4UI_USE_XM
40unset  G4UI_USE_QT
41
42
43unset  G4VIS_NONE
44unset  G4VIS_BUILD_DAWN_DRIVER
45unset  G4VIS_BUILD_OIWIN32_DRIVER
46unset  G4VIS_BUILD_OIX_DRIVER
47unset  G4VIS_BUILD_OPENGLWIN32_DRIVER
48unset  G4VIS_BUILD_OPENGLXM_DRIVER
49unset  G4VIS_BUILD_OPENGLX_DRIVER
50unset  G4VIS_BUILD_RAYTRACERX_DRIVER
51unset  G4VIS_BUILD_VRML_DRIVER
52unset  G4VIS_BUILD_OPENGLQT_DRIVER
53
54unset  G4VIS_USE_DAWN
55unset  G4VIS_USE_OIWIN32
56unset  G4VIS_USE_OIX
57unset  G4VIS_USE_OPENGLWIN32
58unset  G4VIS_USE_OPENGLX
59unset  G4VIS_USE_OPENGLXM
60unset  G4VIS_USE_RAYTRACERX
61unset  G4VIS_USE_VRML
62unset  G4VIS_USE_OPENGLQT
63
64export G4SYSTEM="@VERSION@"
65export G4INSTALL="@PREFIX@/src/geant4"
66export G4INCLUDE="@PREFIX@/include/geant4"
67#export G4BASE="@PREFIX@/include/geant4/source"
68export G4LIB="@PREFIX@/lib/geant4"
69export G4LEVELGAMMADATA="@PREFIX@/share/geant4/data/PhotonEvaporation@PHOTONEVAPORATION_V@"
70export G4RADIOACTIVEDATA="@PREFIX@/share/geant4/data/RadioactiveDecay@RADIOACTIVEDECAY_V@"
71export G4LEDATA="@PREFIX@/share/geant4/data/G4EMLOW@G4EMLOW_V@"
72export G4NEUTRONHPDATA="@PREFIX@/share/geant4/data/G4NDL@G4NDL_V@"
73export G4ABLADATA="@PREFIX@/share/geant4/data/G4ABLA@G4ABLA_V@"
74export G4REALSURFACEDATA="@PREFIX@/share/geant4/data/RealSurface@REALSURFACE_V@"
75export CLHEP_BASE_DIR="@PREFIX@"
76export CLHEP_INCLUDE_DIR="@PREFIX@/include"
77export CLHEP_LIB_DIR="@PREFIX@/lib"
78export CLHEP_LIB="CLHEP"
79export G4DEBUG=1
80#export G4UI_NONE=1
81#export G4UI_BUILD_XAW_SESSION=1
82#export G4UI_USE_XAW=1
83export G4UI_BUILD_XM_SESSION=1
84export G4UI_USE_XM=1
85#export G4UI_BUILD_QT_SESSION=1
86#export G4UI_USE_QT=1
87#export G4VIS_NONE=1
88#export G4VIS_BUILD_DAWN_DRIVER=1
89export G4VIS_BUILD_OPENGLX_DRIVER=1
90export G4VIS_BUILD_OPENGLXM_DRIVER=1
91#export G4VIS_BUILD_OIX_DRIVER=1
92#export G4VIS_BUILD_RAYTRACERX_DRIVER=1
93#export G4VIS_BUILD_VRML_DRIVER=1
94#export G4VIS_BUILD_OPENGLQT_DRIVER=1
95#export G4VIS_USE_DAWN=1
96export G4VIS_USE_OPENGLX=1
97export G4VIS_USE_OPENGLXM=1
98#export G4VIS_USE_OIX=1
99#export G4VIS_USE_RAYTRACERX=1
100#export G4VIS_USE_VRML=1
101#export G4VIS_USE_OPENGLQT=1
102#export OGLHOME=""
103#export OIVHOME=""
104#export XMFLAGS=" -I@PREFIX@/include "
105#export XMLIBS=" -L@PREFIX@/lib -lXm -lXpm "
106#export XAWFLAGS=""
107#export XAWLIBS=""
108#export QTFLAGS=""
109#export QTLIBS=""
110#export QTMOC=""
111export G4LIB_BUILD_GDML=1
112export XERCESCROOT=@PREFIX@
113#export G4LIB_BUILD_G3TOG4=1
114#export G4LIB_USE_G3TOG4=1
115#export G4LIB_BUILD_ZLIB=1
116#export G4LIB_USE_ZLIB=1
117export G4LIB_BUILD_SHARED=1
118#export G4LIB_BUILD_STATIC=1
119export G4LIB_USE_GRANULAR=1
120
121#
122# G4WORKDIR
123#
124
125if [ "X""$G4WORKDIR" = "X" ] ; then
126        export G4WORKDIR=$HOME/geant4
127fi
128
129#
130# Shared Libraries
131#
132
133if [ $G4LIB_BUILD_SHARED ] ; then
134        if [ $DYLD_LIBRARY_PATH ] ; then
135                DYLD_LIBRARY_PATH=${DYLD_LIBRARY_PATH}:${G4LIB}/${G4SYSTEM}
136        else
137                DYLD_LIBRARY_PATH=${G4LIB}/${G4SYSTEM}
138        fi
139
140        export DYLD_LIBRARY_PATH
141fi