1 | ###################################### |
---|
2 | # |
---|
3 | # Clean all G4 envs |
---|
4 | unset CLHEP_BASE_DIR |
---|
5 | unset CLHEP_INCLUDE_DIR |
---|
6 | unset CLHEP_LIB |
---|
7 | unset CLHEP_LIB_DIR |
---|
8 | |
---|
9 | unset G4DEBUG |
---|
10 | unset G4INCLUDE |
---|
11 | unset G4INSTALL |
---|
12 | |
---|
13 | unset G4LEDATA |
---|
14 | unset G4LEVELGAMMADATA |
---|
15 | unset G4NEUTRONHPDATA |
---|
16 | unset G4RADIOACTIVEDATA |
---|
17 | unset G4ABLADATA |
---|
18 | unset G4REALSURFACEDATA |
---|
19 | |
---|
20 | unset G4LIB |
---|
21 | unset G4LIB_BUILD_G3TOG4 |
---|
22 | unset G4LIB_BUILD_SHARED |
---|
23 | unset G4LIB_BUILD_STATIC |
---|
24 | unset G4LIB_BUILD_ZLIB |
---|
25 | unset G4LIB_BUILD_GDML |
---|
26 | unset G4LIB_USE_G3TOG4 |
---|
27 | unset G4LIB_USE_GRANULAR |
---|
28 | unset G4LIB_USE_ZLIB |
---|
29 | |
---|
30 | unset G4SYSTEM |
---|
31 | |
---|
32 | unset G4UI_NONE |
---|
33 | unset G4UI_BUILD_WIN32_SESSION |
---|
34 | unset G4UI_BUILD_XAW_SESSION |
---|
35 | unset G4UI_BUILD_XM_SESSION |
---|
36 | unset G4UI_USE_TCSH |
---|
37 | unset G4UI_USE_WIN32 |
---|
38 | unset G4UI_USE_XAW |
---|
39 | unset G4UI_USE_XM |
---|
40 | unset G4UI_USE_QT |
---|
41 | |
---|
42 | |
---|
43 | unset G4VIS_NONE |
---|
44 | unset G4VIS_BUILD_DAWN_DRIVER |
---|
45 | unset G4VIS_BUILD_OIWIN32_DRIVER |
---|
46 | unset G4VIS_BUILD_OIX_DRIVER |
---|
47 | unset G4VIS_BUILD_OPENGLWIN32_DRIVER |
---|
48 | unset G4VIS_BUILD_OPENGLXM_DRIVER |
---|
49 | unset G4VIS_BUILD_OPENGLX_DRIVER |
---|
50 | unset G4VIS_BUILD_RAYTRACERX_DRIVER |
---|
51 | unset G4VIS_BUILD_VRML_DRIVER |
---|
52 | unset G4VIS_BUILD_OPENGLQT_DRIVER |
---|
53 | |
---|
54 | unset G4VIS_USE_DAWN |
---|
55 | unset G4VIS_USE_OIWIN32 |
---|
56 | unset G4VIS_USE_OIX |
---|
57 | unset G4VIS_USE_OPENGLWIN32 |
---|
58 | unset G4VIS_USE_OPENGLX |
---|
59 | unset G4VIS_USE_OPENGLXM |
---|
60 | unset G4VIS_USE_RAYTRACERX |
---|
61 | unset G4VIS_USE_VRML |
---|
62 | unset G4VIS_USE_OPENGLQT |
---|
63 | |
---|
64 | export G4SYSTEM="@VERSION@" |
---|
65 | export G4INSTALL="@PREFIX@/src/geant4" |
---|
66 | export G4INCLUDE="@PREFIX@/include/geant4" |
---|
67 | #export G4BASE="@PREFIX@/include/geant4/source" |
---|
68 | export G4LIB="@PREFIX@/lib/geant4" |
---|
69 | export G4LEVELGAMMADATA="@PREFIX@/share/geant4/data/PhotonEvaporation@PHOTONEVAPORATION_V@" |
---|
70 | export G4RADIOACTIVEDATA="@PREFIX@/share/geant4/data/RadioactiveDecay@RADIOACTIVEDECAY_V@" |
---|
71 | export G4LEDATA="@PREFIX@/share/geant4/data/G4EMLOW@G4EMLOW_V@" |
---|
72 | export G4NEUTRONHPDATA="@PREFIX@/share/geant4/data/G4NDL@G4NDL_V@" |
---|
73 | export G4ABLADATA="@PREFIX@/share/geant4/data/G4ABLA@G4ABLA_V@" |
---|
74 | export G4REALSURFACEDATA="@PREFIX@/share/geant4/data/RealSurface@REALSURFACE_V@" |
---|
75 | export CLHEP_BASE_DIR="@PREFIX@" |
---|
76 | export CLHEP_INCLUDE_DIR="@PREFIX@/include" |
---|
77 | export CLHEP_LIB_DIR="@PREFIX@/lib" |
---|
78 | export CLHEP_LIB="CLHEP" |
---|
79 | export G4DEBUG=1 |
---|
80 | #export G4UI_NONE=1 |
---|
81 | #export G4UI_BUILD_XAW_SESSION=1 |
---|
82 | #export G4UI_USE_XAW=1 |
---|
83 | export G4UI_BUILD_XM_SESSION=1 |
---|
84 | export 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 |
---|
89 | export G4VIS_BUILD_OPENGLX_DRIVER=1 |
---|
90 | export 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 |
---|
96 | export G4VIS_USE_OPENGLX=1 |
---|
97 | export 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="" |
---|
111 | export G4LIB_BUILD_GDML=1 |
---|
112 | export 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 |
---|
117 | export G4LIB_BUILD_SHARED=1 |
---|
118 | #export G4LIB_BUILD_STATIC=1 |
---|
119 | export G4LIB_USE_GRANULAR=1 |
---|
120 | |
---|
121 | # |
---|
122 | # G4WORKDIR |
---|
123 | # |
---|
124 | |
---|
125 | if [ "X""$G4WORKDIR" = "X" ] ; then |
---|
126 | export G4WORKDIR=$HOME/geant4 |
---|
127 | fi |
---|
128 | |
---|
129 | # |
---|
130 | # Shared Libraries |
---|
131 | # |
---|
132 | |
---|
133 | if [ $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 |
---|
141 | fi |
---|