/[escript]/trunk/scons/cgisrv3_options.py
ViewVC logotype

Annotation of /trunk/scons/cgisrv3_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 6651 - (hide annotations)
Wed Feb 7 02:12:08 2018 UTC (22 months ago) by jfenwick
File MIME type: text/x-python
File size: 7390 byte(s)
Make everyone sad by touching all the files

Copyright dates update

1 phornby 2011
2 jfenwick 3981 ##############################################################################
3 jfenwick 3259 #
4 jfenwick 6651 # Copyright (c) 2003-2018 by The University of Queensland
5 jfenwick 3981 # http://www.uq.edu.au
6 jfenwick 3259 #
7     # Primary Business: Queensland, Australia
8 jfenwick 6112 # Licensed under the Apache License, version 2.0
9     # http://www.apache.org/licenses/LICENSE-2.0
10 jfenwick 3259 #
11 jfenwick 3981 # Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 jfenwick 4657 # Development 2012-2013 by School of Earth Sciences
13     # Development from 2014 by Centre for Geoscience Computing (GeoComp)
14 jfenwick 3981 #
15     ##############################################################################
16 jfenwick 3259
17     import os
18    
19     # PREFIXES:
20     # There are two ways to specify where to find dependent headers and libraries
21     # (via the <dependency>_prefix):
22     # 1) If your installation follows the general scheme where headers are located
23     # in <prefix>/include[32,64], and libraries in <prefix>/lib[32,64] then
24     # it is sufficient to specify this prefix, e.g. boost_prefix='C:/python'
25     # 2) Otherwise provide a list with two elements, where the first one is the
26     # include path, and the second the library path, e.g.
27     # boost_prefix=['C:/boost/include/boost1_44', 'C:/boost/lib']
28     # All <dependency>_prefix settings default to '/usr' so have to be set
29     # manually on Windows.
30    
31     # The options file version. SCons will refuse to build if there have been
32     # changes to the set of variables and your file has not been updated.
33     # This setting is mandatory.
34 trankine 3600 escript_opts_version = 201
35 jfenwick 3259
36     # Installation prefix. Files will be installed in subdirectories underneath.
37     # DEFAULT: '.' (current directory)
38     #prefix = 'C:/escript'
39    
40 caltinay 3349 # Top-level directory for intermediate build and test files.
41     # DEFAULT: 'build'
42     #build_dir = 'build'
43    
44 jfenwick 3259 # C compiler command name or full path.
45     # DEFAULT: auto-detected
46     #cc = 'cl'
47    
48     # C++ compiler command name or full path.
49     # DEFAULT: auto-detected
50     #cxx = 'cl'
51    
52     # Flags to use with both C and C++ compilers. Do not set unless you know
53     # what you are doing - use cc_extra to specify additional flags!
54     # DEFAULT: compiler-dependent
55     #cc_flags = ''
56    
57     # Additional compiler (optimization) flags for non-debug builds
58     # DEFAULT: compiler-dependent
59     #cc_optim = '/O2 /Op /W3'
60    
61     # Additional compiler flags for debug builds
62     # DEFAULT: compiler-dependent
63     #cc_debug = '/Od /RTCcsu /ZI /DBOUNDS_CHECK'
64    
65     # Additional flags to add to the C compiler only
66     # DEFAULT: '' (empty)
67     #cc_extra = ''
68    
69     # Additional flags to add to the C++ compiler only
70     # DEFAULT: '' (empty)
71     #cxx_extra = ''
72    
73     # Additional flags to add to the linker
74     # DEFAULT: '' (empty)
75     #ld_extra = ''
76    
77     # Whether to treat compiler warnings as errors
78     # DEFAULT: True
79     werror = False
80    
81     # Whether to build a debug version
82     # DEFAULT: False
83     #debug = True
84    
85     # Set to True to print the full compiler/linker command line
86     # DEFAULT: False
87     verbose = True
88    
89     # Set to True to add flags that enable OpenMP parallelization
90     # DEFAULT: False
91     #openmp = True
92    
93     # Additional compiler flags for OpenMP builds
94     # DEFAULT: compiler-dependent
95     #omp_flags = '/Qopenmp /Qparallel'
96    
97     # Additional linker flags for OpenMP builds
98     # DEFAULT: compiler-dependent
99     #omp_ldflags = '/Qopenmp /Qparallel'
100    
101     # Flavour of MPI implementation
102     # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
103     # DEFAULT: 'none' (disable MPI)
104     mpi = 'MPICH2'
105    
106     # Prefix or paths to MPI headers and libraries. See note above about prefixes.
107     mpi_prefix = 'C:/Program Files/MPICH2'
108    
109     # MPI libraries to link against
110     mpi_libs = ['mpi']
111    
112     dotdot = os.path.realpath('..')
113 trankine 3541 system_builddeps = os.path.join('c:',os.sep, 'buildlibs')
114 jfenwick 3259
115 trankine 3541 # Prefix or paths to python headers and libraries. See note above.
116     # By default, this is determined using the running python executable.
117     #python_prefix = 'C:/Python26'
118    
119 jfenwick 3259 # Prefix or paths to boost-python headers and libraries. See note above.
120 trankine 3541 boost_prefix = [os.path.join(system_builddeps, 'boost_1_41_0'), os.path.join(system_builddeps, 'boost_1_41_0','windows_binary','lib')]
121 jfenwick 3259
122     # boost-python library/libraries to link against
123     boost_libs = ['boost_python-vc71-mt-1_41']
124    
125 caltinay 3597 # Prefix or paths to CppUnit headers and libraries. See note above.
126 trankine 3600 # C:\buildlibs\cppunit-1.12.1\src\cppunit\Release
127 trankine 3605 cppunit_prefix = os.path.join(system_builddeps, 'cppunit-1.12.1')
128 caltinay 3597
129     # CppUnit library/libraries to link against
130 trankine 3600 cppunit_libs = ['cppunit']
131 caltinay 3597
132 jfenwick 3259 # Whether to use the netCDF library for dump file support
133     # DEFAULT: False
134     netcdf = True
135    
136     # Prefix or paths to netCDF headers and libraries. See note above.
137 trankine 3541 netcdf_prefix = [os.path.join(system_builddeps, 'netcdf', 'src', 'include'), os.path.join(system_builddeps, 'netcdf', 'lib')]
138 jfenwick 3259
139     # netCDF library/libraries to link against
140     netcdf_libs = ['netcdf_cpp', 'netcdf']
141    
142     # Whether to use the parMETIS library (only in conjunction with MPI)
143     # DEFAULT: False
144     #parmetis = True
145    
146     # Prefix or paths to parMETIS headers and libraries. See note above.
147     #parmetis_prefix = 'C:/parmetis'
148    
149     # parMETIS library/libraries to link against
150     #parmetis_libs = ['parmetis', 'metis']
151    
152     # Whether to use the Intel PAPI (Performance API) library
153     # DEFAULT: False
154     #papi = True
155    
156     # Prefix or paths to PAPI headers and libraries. See note above.
157     #papi_prefix = 'C:/papi'
158    
159     # PAPI library/libraries to link against
160     #papi_libs = ['papi']
161    
162     # Whether to use PAPI to instrument solver iterations
163     # DEFAULT: False
164     #papi_instrument_solver = True
165    
166     # Whether to use Intel MKL (Math Kernel Library)
167     # DEFAULT: False
168     #mkl = True
169    
170     # Prefix or paths to MKL headers and libraries. See note above.
171     #mkl_prefix = 'C:/mkl'
172    
173     # MKL library/libraries to link against
174     #mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide']
175    
176     # Whether to use UMFPACK (requires AMD and BLAS)
177     # DEFAULT: False
178     #umfpack = True
179    
180     # Prefix or paths to UMFPACK headers and libraries. See note above.
181     #umfpack_prefix = 'C:/umfpack'
182    
183     # UMFPACK library/libraries to link against
184     #umfpack_libs = ['umfpack']
185    
186 caltinay 3597 # Whether to use BoomerAMG (requires MPI)
187     # DEFAULT: False
188     #boomeramg = True
189    
190     # Prefix or paths to BoomerAMG headers and libraries. See note above.
191     #boomeramg_prefix = 'C:/boomeramg'
192    
193     # BoomerAMG library/libraries to link against
194     #boomeramg_libs = ['HYPRE']
195    
196 jfenwick 3259 # Flavour of LAPACK implementation
197     # Recognized values: 'none', 'clapack', 'mkl'
198     # DEFAULT: 'none' (do not use LAPACK)
199     #lapack = 'clapack'
200    
201     # Prefix or paths to LAPACK headers and libraries. See note above.
202     #lapack_prefix = 'C:/lapack'
203    
204     # LAPACK library/libraries to link against
205     #lapack_libs = ['lapack_atlas']
206    
207     # Whether to use LLNL's SILO library for Silo output file support in weipa
208     # DEFAULT: False
209     #silo = True
210    
211     # Prefix or paths to SILO headers and libraries. See note above.
212     #silo_prefix = 'C:/silo'
213    
214     # SILO library/libraries to link against
215     #silo_libs = ['siloh5', 'hdf5']
216    
217     # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
218     # DEFAULT: False
219     #visit = True
220    
221     # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
222     #visit_prefix = 'C:/visit/2.1.0/linux-intel/libsim/V2'
223    
224     # Sim2 library/libraries to link against
225     #visit_libs = ['simV2']
226    
227     ### ADVANCED OPTIONS ###
228     # Do not change the following options unless you know what they do
229    
230 caltinay 3597 # Use intel's VSL library for random data
231     # DEFAULT: False
232     #vsl_random = True
233    
234 jfenwick 3259 # Extra libraries to link with
235     sys_libs = ['C:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/PlatformSDK/Lib/Ws2_32']
236    
237     # Additional environmental variables to export to the tools
238     #env_export = []
239    
240     #tools_names = ['msvc']
241    
242     #iknowwhatimdoing = False
243    
244     #forcelazy = 'leave_alone'
245    
246     #forcecollres = 'leave_alone'
247    

  ViewVC Help
Powered by ViewVC 1.1.26