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

Annotation of /trunk/scons/cgisrv6_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3981 - (hide annotations)
Fri Sep 21 02:47:54 2012 UTC (7 years ago) by jfenwick
File MIME type: text/x-python
File size: 8266 byte(s)
First pass of updating copyright notices
1 caltinay 3597
2 jfenwick 3981 ##############################################################################
3 caltinay 3597 #
4 jfenwick 3911 # Copyright (c) 2003-2012 by University of Queensland
5 jfenwick 3981 # http://www.uq.edu.au
6 caltinay 3597 #
7     # Primary Business: Queensland, Australia
8     # Licensed under the Open Software License version 3.0
9     # http://www.opensource.org/licenses/osl-3.0.php
10     #
11 jfenwick 3981 # Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12     # Development since 2012 by School of Earth Sciences
13     #
14     ##############################################################################
15 caltinay 3597
16     import os
17    
18     # PREFIXES:
19     # There are two ways to specify where to find dependent headers and libraries
20     # (via the <dependency>_prefix):
21     # 1) If your installation follows the general scheme where headers are located
22     # in <prefix>/include[32,64], and libraries in <prefix>/lib[32,64] then
23     # it is sufficient to specify this prefix, e.g. boost_prefix='C:/python'
24     # 2) Otherwise provide a list with two elements, where the first one is the
25     # include path, and the second the library path, e.g.
26     # boost_prefix=['C:/boost/include/boost1_44', 'C:/boost/lib']
27     # All <dependency>_prefix settings default to '/usr' so have to be set
28     # manually on Windows.
29    
30     # The options file version. SCons will refuse to build if there have been
31     # changes to the set of variables and your file has not been updated.
32     # This setting is mandatory.
33     escript_opts_version = 200
34    
35     # Installation prefix. Files will be installed in subdirectories underneath.
36     # DEFAULT: '.' (current directory)
37     #prefix = 'C:/escript'
38    
39     # Top-level directory for intermediate build and test files.
40     # DEFAULT: 'build'
41     #build_dir = 'build'
42    
43     # C compiler command name or full path.
44     # DEFAULT: auto-detected
45     #cc = 'gcc'
46    
47     # C++ compiler command name or full path.
48     # DEFAULT: auto-detected
49     #cxx = 'g++'
50    
51     # Flags to use with both C and C++ compilers. Do not set unless you know
52     # what you are doing - use cc_extra to specify additional flags!
53     # DEFAULT: compiler-dependent
54     cc_flags = '/EHsc /GR /MD /I"C:/Program Files (x86)/Intel/Composer XE 2011 SP1/compiler/include/" /DCPPUNIT_BUILD_DLL'
55    
56     # Additional compiler (optimization) flags for non-debug builds
57     # DEFAULT: compiler-dependent
58     cc_optim = '/fast /Oi /W3 /Qinline-factor- /Qinline-min-size=0 /Qunroll'
59     cc_optim = '/fast /Oi /Qunroll'
60    
61     # Additional compiler flags for debug builds
62     # DEFAULT: compiler-dependent
63     #cc_debug = '/Od /RTCcsu /Zi /Y- /debug:all /Qtrapuv'
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 = '/libpath:"C:/Program Files (x86)/Intel/Composer XE 2011 SP1/compiler/lib/ia32"'
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 = False
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     # /Qvec-report0 - Vectorise quietly - http://software.intel.com/sites/products/documentation/hpc/composerxe/en-us/cpp/lin/copts/common_options/option_vec_report.htm
95     # /Qopenmp-report0 - OpenMP quietly (No diagnostics report generated.) - http://software.intel.com/sites/products/documentation/hpc/composerxe/en-us/cpp/lin/optaps/common/optaps_perf_openmprep.htm
96     # DEFAULT: compiler-dependent
97     omp_flags = '/Qvec-report0 /Qopenmp /Qopenmp-report0 /Qparallel'
98    
99     # Additional linker flags for OpenMP builds
100     # DEFAULT: compiler-dependent
101     omp_ldflags = ''
102    
103     # Flavour of MPI implementation
104     # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
105     # DEFAULT: 'none' (disable MPI)
106     mpi = 'MPICH2' #'MPICH2'
107    
108     # Prefix or paths to MPI headers and libraries. See note above about prefixes.
109     mpi_prefix = "C:/Program Files (x86)/MPICH2"
110    
111     # MPI libraries to link against
112     mpi_libs = ['mpi']
113    
114     dotdot = os.path.realpath('..')
115    
116     # Prefix or paths to boost-python headers and libraries. See note above.
117     boost_prefix = ['C:/projects/boost_1_47_0', 'C:/projects/boost_1_47_0/stage/lib']
118    
119     # boost-python library/libraries to link against
120     boost_libs = ['boost_python-iw-mt-1_47']
121    
122     # Prefix or paths to CppUnit headers and libraries. See note above.
123     #cppunit_prefix = 'C:/CppUnit'
124    
125     # CppUnit library/libraries to link against
126     #cppunit_libs = ['cppunit']
127    
128     # Whether to use the netCDF library for dump file support
129     # DEFAULT: False
130     netcdf = False
131    
132     # Prefix or paths to netCDF headers and libraries. See note above.
133     netcdf_prefix = [os.path.join(dotdot, 'netcdf', 'src', 'include'), os.path.join(dotdot, 'netcdf', 'lib')]
134    
135     # netCDF library/libraries to link against
136     netcdf_libs = ['netcdf_cpp', 'netcdf']
137    
138     # Whether to use the parMETIS library (only in conjunction with MPI)
139     # DEFAULT: False
140     #parmetis = True
141    
142     # Prefix or paths to parMETIS headers and libraries. See note above.
143     #parmetis_prefix = 'C:/parmetis'
144    
145     # parMETIS library/libraries to link against
146     #parmetis_libs = ['parmetis', 'metis']
147    
148     # Whether to use the Intel PAPI (Performance API) library
149     # DEFAULT: False
150     #papi = True
151    
152     # Prefix or paths to PAPI headers and libraries. See note above.
153     #papi_prefix = 'C:/papi'
154    
155     # PAPI library/libraries to link against
156     #papi_libs = ['papi']
157    
158     # Whether to use PAPI to instrument solver iterations
159     # DEFAULT: False
160     #papi_instrument_solver = True
161    
162     # Whether to use Intel MKL (Math Kernel Library)
163     # DEFAULT: False
164     mkl = True
165    
166     # Prefix or paths to MKL headers and libraries. See note above.
167     mkl_base_dir = 'C:/Program Files (x86)/Intel/Composer XE 2011 SP1/mkl'
168     mkl_prefix = [os.path.join(mkl_base_dir, 'include'), os.path.join(mkl_base_dir, 'lib/ia32')]
169    
170     # MKL library/libraries to link against
171     mkl_libs = ['mkl_intel_c_dll', 'mkl_intel_thread_dll', 'mkl_core_dll', 'libiomp5md', 'mkl_solver', 'mkl_intel_thread', 'mkl_core']
172    
173     # Whether to use UMFPACK (requires AMD and BLAS)
174     # DEFAULT: False
175     #umfpack = True
176    
177     # Prefix or paths to UMFPACK headers and libraries. See note above.
178     #umfpack_prefix = 'C:/umfpack'
179    
180     # UMFPACK library/libraries to link against
181     #umfpack_libs = ['umfpack']
182    
183     # Whether to use BoomerAMG (requires MPI)
184     # DEFAULT: False
185     #boomeramg = True
186    
187     # Prefix or paths to BoomerAMG headers and libraries. See note above.
188     #boomeramg_prefix = 'C:/boomeramg'
189    
190     # BoomerAMG library/libraries to link against
191     #boomeramg_libs = ['HYPRE']
192    
193     # Flavour of LAPACK implementation
194     # Recognized values: 'none', 'clapack', 'mkl'
195     # DEFAULT: 'none' (do not use LAPACK)
196     #lapack = 'clapack'
197     lapack = 'mkl'
198    
199     # Prefix or paths to LAPACK headers and libraries. See note above.
200     #lapack_prefix = 'C:/lapack'
201     lapack_prefix = mkl_prefix
202    
203     # LAPACK library/libraries to link against
204     lapack_libs = ['mkl_lapack95']
205    
206     # Whether to use LLNL's SILO library for Silo output file support in weipa
207     # DEFAULT: False
208     #silo = True
209    
210     # Prefix or paths to SILO headers and libraries. See note above.
211     #silo_prefix = 'C:/silo'
212    
213     # SILO library/libraries to link against
214     #silo_libs = ['siloh5', 'hdf5']
215    
216     # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
217     # DEFAULT: False
218     #visit = True
219    
220     # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
221     #visit_prefix = 'C:/visit/2.1.0/linux-intel/libsim/V2'
222    
223     # Sim2 library/libraries to link against
224     #visit_libs = ['simV2']
225    
226     # Whether to enable the deprecated PyVisi interface (requires the VTK python
227     # modules)
228     # DEFAULT: False
229     #pyvisi = True
230    
231 caltinay 3598 # Build dynamic libraries only
232     #DEFAULT: False
233     build_shared = True
234 caltinay 3597
235 caltinay 3598
236 caltinay 3597 ### ADVANCED OPTIONS ###
237     # Do not change the following options unless you know what they do
238    
239     # Use intel's VSL library for random data
240     # DEFAULT: False
241     #vsl_random = True
242    
243     # Extra libraries to link with
244     # sys_libs = ['C:/Program Files/Microsoft Visual Studio .NET 2003/Vc7/PlatformSDK/Lib/Ws2_32', 'C:\Program Files\Intel\Compiler\C++\9.1\IA32\Lib\libguide40']
245     sys_libs = ['']
246    
247     # Additional environmental variables to export to the tools
248     #env_export = []
249    
250     # overloading - [('intelc',{'topdir':'/sw/sdev/intel/cc/x86_64/10.1.025'})]
251     tools_names = [('intelc',{'topdir':'C:/Program Files (x86)/Intel/Composer XE 2011 SP1'})]
252    
253     #iknowwhatimdoing = False
254    
255     #forcelazy = 'leave_alone'
256    
257     #forcecollres = 'leave_alone'
258    

  ViewVC Help
Powered by ViewVC 1.1.26