@@ -96,102 +96,102 @@ def configure_step(self):
96
96
"There exists a config.sh file. Shall I use it to set the defaults? [y]" : "n" ,
97
97
"Would you like to see the instructions? [n]" : "" ,
98
98
"[Type carriage return to continue]" : "" ,
99
- "Definition of G4SYSTEM variable is Linux-g++. That stands for: 1) OS : Linux" \
100
- "2) Compiler : g++ To modify default settings, select number above (e.g. 2) " \
99
+ "Definition of G4SYSTEM variable is Linux-g++. That stands for: 1) OS : Linux"
100
+ "2) Compiler : g++ To modify default settings, select number above (e.g. 2) "
101
101
"[Press [Enter] for default settings]" : "2" ,
102
102
"Which C++ compiler? [g++]" : "$(GPP)" ,
103
103
"Confirm your selection or set recommended 'g++'! [*]" : "" ,
104
- "Definition of G4SYSTEM variable is Linux-icc. That stands for: 1) OS : Linux 2)" \
105
- "Compiler : icc To modify default settings, select number above (e.g. 2) " \
104
+ "Definition of G4SYSTEM variable is Linux-icc. That stands for: 1) OS : Linux 2)"
105
+ "Compiler : icc To modify default settings, select number above (e.g. 2) "
106
106
"[Press [Enter] for default settings]" : "" ,
107
107
"Do you expect to run these scripts and binaries on multiple machines? [n]" : "y" ,
108
108
"Where is Geant4 source installed? [%s]" % pwd : "" ,
109
- "Specify the path where Geant4 libraries and source files should be installed." \
109
+ "Specify the path where Geant4 libraries and source files should be installed."
110
110
" [%s]" % pwd : dst ,
111
111
"Do you want to copy all Geant4 headers in one directory? [n]" : "y" ,
112
- "Please, specify default directory where ALL the Geant4 data is installed:" \
113
- "G4LEVELGAMMADATA: %(pwd)s/data/PhotonEvaporation2.0 G4RADIOACTIVEDATA: " \
114
- "%(pwd)s/data/RadioactiveDecay3.2 G4LEDATA: %(pwd)s/data/G4EMLOW5.1 G4NEUTRONHPDATA: " \
115
- "%(pwd)s/data/G4NDL3.12 G4ABLADATA: %(pwd)s/data/G4ABLA3.0 You will be asked about " \
112
+ "Please, specify default directory where ALL the Geant4 data is installed:"
113
+ "G4LEVELGAMMADATA: %(pwd)s/data/PhotonEvaporation2.0 G4RADIOACTIVEDATA: "
114
+ "%(pwd)s/data/RadioactiveDecay3.2 G4LEDATA: %(pwd)s/data/G4EMLOW5.1 G4NEUTRONHPDATA: "
115
+ "%(pwd)s/data/G4NDL3.12 G4ABLADATA: %(pwd)s/data/G4ABLA3.0 You will be asked about "
116
116
"customizing these next. [%(pwd)s/data]" % {'pwd' : pwd }: "%s/data" % dst ,
117
117
"Directory %s/data doesn't exist. Use that name anyway? [n]" % dst : "y" ,
118
- "Please, specify default directory where the Geant4 data is installed: " \
119
- "1) G4LEVELGAMMADATA: %(dst)s/data/PhotonEvaporation2.0 2) G4RADIOACTIVEDATA: " \
120
- "%(dst)s/data/RadioactiveDecay3.2 3) G4LEDATA: %(dst)s/data/G4EMLOW5.1 4) G4NEUTRONHPDATA: " \
121
- "%(dst)s/data/G4NDL3.12 5) G4ABLADATA: %(dst)s/data/G4ABLA3.0 To modify default settings, " \
118
+ "Please, specify default directory where the Geant4 data is installed: "
119
+ "1) G4LEVELGAMMADATA: %(dst)s/data/PhotonEvaporation2.0 2) G4RADIOACTIVEDATA: "
120
+ "%(dst)s/data/RadioactiveDecay3.2 3) G4LEDATA: %(dst)s/data/G4EMLOW5.1 4) G4NEUTRONHPDATA: "
121
+ "%(dst)s/data/G4NDL3.12 5) G4ABLADATA: %(dst)s/data/G4ABLA3.0 To modify default settings, "
122
122
"select number above (e.g. 2) [Press [Enter] for default settings]" % {'dst' : dst }: "" ,
123
123
"Please, specify where CLHEP is installed: CLHEP_BASE_DIR: " : clhepdir ,
124
124
"Please, specify where CLHEP is installed: CLHEP_BASE_DIR: [%s]" % clhepdir : "" ,
125
- "You can customize paths and library name of you CLHEP installation: 1) CLHEP_INCLUDE_DIR: " \
126
- "%(clhepdir)s/include 2) CLHEP_LIB_DIR: %(clhepdir)s/lib 3) CLHEP_LIB: CLHEP To modify " \
125
+ "You can customize paths and library name of you CLHEP installation: 1) CLHEP_INCLUDE_DIR: "
126
+ "%(clhepdir)s/include 2) CLHEP_LIB_DIR: %(clhepdir)s/lib 3) CLHEP_LIB: CLHEP To modify "
127
127
"default settings, select number above (e.g. 2) [Press [Enter] for default settings]" %
128
128
{'clhepdir' : clhepdir }: "" ,
129
- "By default 'static' (.a) libraries are built. Do you want to build 'shared' (.so) " \
129
+ "By default 'static' (.a) libraries are built. Do you want to build 'shared' (.so) "
130
130
"libraries? [n]" : "y" ,
131
- "You selected to build 'shared' (.so) libraries. Do you want to build 'static' (.a) " \
131
+ "You selected to build 'shared' (.so) libraries. Do you want to build 'static' (.a) "
132
132
"libraries too? [n]" : "y" ,
133
133
"Do you want to build 'global' compound libraries? [n]" : "" ,
134
134
"Do you want to compile libraries in DEBUG mode (-g)? [n]" : "" ,
135
- "G4UI_NONE If this variable is set, no UI sessions nor any UI libraries are built. " \
136
- "This can be useful when running a pure batch job or in a user framework having its own " \
135
+ "G4UI_NONE If this variable is set, no UI sessions nor any UI libraries are built. "
136
+ "This can be useful when running a pure batch job or in a user framework having its own "
137
137
"UI system. Do you want to set this variable ? [n]" : "" ,
138
- "G4UI_BUILD_XAW_SESSION G4UI_USE_XAW Specifies to include and use the XAW interfaces in " \
139
- "the application to be built. The XAW (X11 Athena Widget set) extensions are required to " \
138
+ "G4UI_BUILD_XAW_SESSION G4UI_USE_XAW Specifies to include and use the XAW interfaces in "
139
+ "the application to be built. The XAW (X11 Athena Widget set) extensions are required to "
140
140
"activate and build this driver. [n]" : "" ,
141
- "G4UI_BUILD_XM_SESSION G4UI_USE_XM Specifies to include and use the XM Motif based user " \
141
+ "G4UI_BUILD_XM_SESSION G4UI_USE_XM Specifies to include and use the XM Motif based user "
142
142
"interfaces. The XM Motif extensions are required to activate and build this driver. [n]" : "" ,
143
- "G4VIS_NONE If this variable is set, no visualization drivers will be built or used. Do " \
143
+ "G4VIS_NONE If this variable is set, no visualization drivers will be built or used. Do "
144
144
"you want to set this variable ? [n]" : "n" ,
145
- "G4VIS_BUILD_OPENGLX_DRIVER G4VIS_USE_OPENGLX It is an interface to the de facto standard " \
146
- "3D graphics library, OpenGL. It is well suited for real-time fast visualization and " \
145
+ "G4VIS_BUILD_OPENGLX_DRIVER G4VIS_USE_OPENGLX It is an interface to the de facto standard "
146
+ "3D graphics library, OpenGL. It is well suited for real-time fast visualization and "
147
147
"prototyping. The X11 version of the OpenGL libraries is required. [n]" : "" ,
148
- "G4VIS_BUILD_OPENGLXM_DRIVER G4VIS_USE_OPENGLXM It is an interface to the de facto " \
149
- "standard 3D graphics library, OpenGL. It is well suited for real-time fast visualization " \
150
- "and prototyping. The X11 version of the OpenGL libraries and the Motif Xm extension is " \
148
+ "G4VIS_BUILD_OPENGLXM_DRIVER G4VIS_USE_OPENGLXM It is an interface to the de facto "
149
+ "standard 3D graphics library, OpenGL. It is well suited for real-time fast visualization "
150
+ "and prototyping. The X11 version of the OpenGL libraries and the Motif Xm extension is "
151
151
"required. [n]" : "" ,
152
- "G4VIS_BUILD_DAWN_DRIVER G4VIS_USE_DAWN DAWN drivers are interfaces to the Fukui Renderer " \
153
- "DAWN. DAWN is a vectorized 3D PostScript processor suited to prepare technical high " \
152
+ "G4VIS_BUILD_DAWN_DRIVER G4VIS_USE_DAWN DAWN drivers are interfaces to the Fukui Renderer "
153
+ "DAWN. DAWN is a vectorized 3D PostScript processor suited to prepare technical high "
154
154
"quality outputs for presentation and/or documentation. [n]" : "" ,
155
- "G4VIS_BUILD_OIX_DRIVER G4VIS_USE_OIX The OpenInventor driver is based on OpenInventor tech" \
155
+ "G4VIS_BUILD_OIX_DRIVER G4VIS_USE_OIX The OpenInventor driver is based on OpenInventor tech"
156
156
"nology for scientific visualization. The X11 version of OpenInventor is required. [n]" : "" ,
157
- "G4VIS_BUILD_RAYTRACERX_DRIVER G4VIS_USE_RAYTRACERX Allows for interactive ray-tracing " \
157
+ "G4VIS_BUILD_RAYTRACERX_DRIVER G4VIS_USE_RAYTRACERX Allows for interactive ray-tracing "
158
158
"graphics through X11. The X11 package is required. [n]" : "" ,
159
- "G4VIS_BUILD_VRML_DRIVER G4VIS_USE_VRML These driver generate VRML files, which describe " \
159
+ "G4VIS_BUILD_VRML_DRIVER G4VIS_USE_VRML These driver generate VRML files, which describe "
160
160
"3D scenes to be visualized with a proper VRML viewer. [n]" : "" ,
161
- "G4LIB_BUILD_GDML Setting this variable will enable building of the GDML plugin module " \
162
- "embedded in Geant4 for detector description persistency. It requires your system to have " \
161
+ "G4LIB_BUILD_GDML Setting this variable will enable building of the GDML plugin module "
162
+ "embedded in Geant4 for detector description persistency. It requires your system to have "
163
163
"the XercesC library and headers installed. Do you want to set this variable? [n]" : "" ,
164
- "G4LIB_BUILD_G3TOG4 The utility module 'g3tog4' will be built by setting this variable. " \
165
- "NOTE: it requires a valid FORTRAN compiler to be installed on your system and the " \
166
- "'cernlib' command in the path, in order to build the ancillary tools! Do you want to " \
164
+ "G4LIB_BUILD_G3TOG4 The utility module 'g3tog4' will be built by setting this variable. "
165
+ "NOTE: it requires a valid FORTRAN compiler to be installed on your system and the "
166
+ "'cernlib' command in the path, in order to build the ancillary tools! Do you want to "
167
167
"build 'g3tog4' ? [n]" : "" ,
168
- "G4LIB_BUILD_ZLIB Do you want to activate compression for output files generated by the " \
168
+ "G4LIB_BUILD_ZLIB Do you want to activate compression for output files generated by the "
169
169
"HepRep visualization driver? [n]" : "y" ,
170
- "G4ANALYSIS_USE Activates the configuration setup for allowing plugins to analysis tools " \
171
- "based on AIDA (Astract Interfaces for Data Analysis). In order to use AIDA features and " \
172
- "compliant analysis tools, the proper environment for these tools will have to be set " \
170
+ "G4ANALYSIS_USE Activates the configuration setup for allowing plugins to analysis tools "
171
+ "based on AIDA (Astract Interfaces for Data Analysis). In order to use AIDA features and "
172
+ "compliant analysis tools, the proper environment for these tools will have to be set "
173
173
"(see documentation for the specific analysis tools). [n]" : "" ,
174
174
"Press [Enter] to start installation or use a shell escape to edit config.sh: " : "" ,
175
175
# extra questions and answers for version 9.2.p03
176
176
"Directory %s doesn't exist. Use that name anyway? [n]" % dst : "y" ,
177
- "Specify the path where the Geant4 data libraries PhotonEvaporation%s " \
178
- "RadioactiveDecay%s G4EMLOW%s G4NDL%s G4ABLA%s are " \
179
- "installed. For now, a flat directory structure is assumed, and this can be customized " \
177
+ "Specify the path where the Geant4 data libraries PhotonEvaporation%s "
178
+ "RadioactiveDecay%s G4EMLOW%s G4NDL%s G4ABLA%s are "
179
+ "installed. For now, a flat directory structure is assumed, and this can be customized "
180
180
"at the next step if needed. [%s/data]" % (self .cfg ['PhotonEvaporationVersion' ],
181
181
self .cfg ['G4RadioactiveDecayVersion' ],
182
182
self .cfg ['G4EMLOWVersion' ],
183
183
self .cfg ['G4NDLVersion' ],
184
184
self .cfg ['G4ABLAVersion' ],
185
185
pwd
186
186
): "%s/data" % dst ,
187
- "Please enter 1) Another path to search in 2) 'f' to force the use of the path " \
188
- "you entered previously (the data libraries are not needed to build Geant4, but " \
189
- "are needed to run applications later). 3) 'c' to customize the data paths, e.g. " \
187
+ "Please enter 1) Another path to search in 2) 'f' to force the use of the path "
188
+ "you entered previously (the data libraries are not needed to build Geant4, but "
189
+ "are needed to run applications later). 3) 'c' to customize the data paths, e.g. "
190
190
"if you have the data libraries installed in different locations. [f]" : "" ,
191
- "G4UI_BUILD_QT_SESSION G4UI_USE_QT Setting these variables will enable the building " \
192
- "of the G4 Qt based user interface module and the use of this module in your " \
193
- "applications respectively. The Qt3 or Qt4 headers, libraries and moc application are " \
194
- "required to enable the building of this module. Do you want to enable build and use of " \
191
+ "G4UI_BUILD_QT_SESSION G4UI_USE_QT Setting these variables will enable the building "
192
+ "of the G4 Qt based user interface module and the use of this module in your "
193
+ "applications respectively. The Qt3 or Qt4 headers, libraries and moc application are "
194
+ "required to enable the building of this module. Do you want to enable build and use of "
195
195
"this module? [n]" : "" ,
196
196
# extra questions and answers for version 9.4.po1
197
197
"What is the path to the Geant4 source tree? [%s]" % pwd : "" ,
@@ -204,9 +204,9 @@ def configure_step(self):
204
204
"Do you want to build libraries with debugging information? [n]" : "" ,
205
205
"Specify the path where the Geant4 data libraries are installed: [%s/data]" % pwd : "%s/data" % dst ,
206
206
"How many parallel jobs should make launch? [1]" : "%s" % self .cfg ['parallel' ],
207
- "Please enter 1) Another path to search in 2) 'f' to force the use of the path you entered " \
208
- "previously (the data libraries are NOT needed to build Geant4, but are needed to run " \
209
- "applications later). 3) 'c' to customize the data paths, e.g. if you have the data " \
207
+ "Please enter 1) Another path to search in 2) 'f' to force the use of the path you entered "
208
+ "previously (the data libraries are NOT needed to build Geant4, but are needed to run "
209
+ "applications later). 3) 'c' to customize the data paths, e.g. if you have the data "
210
210
"libraries installed in different locations. [f]" : "" ,
211
211
"Enable building of User Interface (UI) modules? [y]" : "" ,
212
212
"Enable building of the XAW (X11 Athena Widget set) UI module? [n]" : "" ,
0 commit comments