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

Diff of /trunk/scons/sunzi_options.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3023 by lgao, Wed May 5 01:00:16 2010 UTC revision 3597 by caltinay, Thu Sep 15 06:03:17 2011 UTC
# Line 11  Line 11 
11  #  #
12  ########################################################  ########################################################
13    
14    # PREFIXES:
15    # There are two ways to specify where to find dependent headers and libraries
16    # (via the <dependency>_prefix):
17    # 1) If your installation follows the general scheme where headers are located
18    #    in <prefix>/include[32,64], and libraries in <prefix>/lib[32,64] then
19    #    it is sufficient to specify this prefix, e.g. boost_prefix='/usr'
20    # 2) Otherwise provide a list with two elements, where the first one is the
21    #    include path, and the second the library path, e.g.
22    #    boost_prefix=['/usr/include/boost1_44', '/usr/lib']
23    # All <dependency>_prefix settings default to '/usr'
24    
25  # Configuration for shake32 (64-bit Intel running Ubuntu Linux)  # The options file version. SCons will refuse to build if there have been
26    # changes to the set of variables and your file has not been updated.
27    # This setting is mandatory.
28    escript_opts_version = 201
29    
30  # If you cannot use the default compiler flags set in SConstruct, then change them here  # Installation prefix. Files will be installed in subdirectories underneath.
31  # C/C++ Compiler flags (always use cc_flags and either cc_optim or cc_debug)  # DEFAULT: '.' (current directory)
32  # cc_flags      = '-ansi'  #prefix = '/usr/local'
33  # cc_optim      = '-O2'  
34  # cc_debug      = '-g'  # Top-level directory for intermediate build and test files.
35  omp_optim       = '-fopenmp'  # DEFAULT: 'build'
36  omp_debug       = '-fopenmp'  #build_dir = 'build'
37  omp_libs        = ['gomp']  
38    # C compiler command name or full path.
39  # Use the default C/C++ flags but add something only for this host:  # DEFAULT: auto-detected
40  #cc_extra       = '-Wall -pedantic -isystem /usr/include/boost/ -isystem /usr/include/python2.5/ -Wno-sign-compare -Wno-long-long'  #cc = 'gcc'
41  #cc_extra       = '-fopenmp'  
42  # ld_extra      = ''  # C++ compiler command name or full path.
43  cc_extra = ''  # DEFAULT: auto-detected
44    #cxx = 'g++'
45  # Be picky about errors  
46  # usepedantic       = 'no'  # Flags to use with both C and C++ compilers. Do not set unless you know
47    # what you are doing - use cc_extra to specify additional flags!
48  # Extra libraries  # DEFAULT: compiler-dependent
49  # sys_libs      = ['guide', 'pthread', 'stdc++']  #cc_flags = ''
50    
51  # Python libraries  # Additional compiler (optimization) flags for non-debug builds
52  python_path     = '/usr/include/python2.6'  # DEFAULT: compiler-dependent
53  python_lib_path     = '/usr/lib'  #cc_optim = '-O3 -mmmx -msse'
54  python_libs     = 'python2.6'  
55  # python_cmd        = 'python'  # Additional compiler flags for debug builds
56    # DEFAULT: compiler-dependent
57  # Boost libraries  #cc_debug = '-g'
58  boost_path      = '/usr/include/'  
59  boost_lib_path      = '/usr/lib'  # Additional flags to add to the C compiler only
60  boost_libs      = ['boost_python-mt-py26']  # DEFAULT: '' (empty)
61    #cc_extra = ''
62  # Specify whether or not to use VTK  
63  # usevtk        = 'yes'  # Additional flags to add to the C++ compiler only
64    # DEFAULT: '' (empty)
65  # NetCDF  #cxx_extra = ''
66  # usenetcdf     = 'yes'  
67  netCDF_path     = '/usr/include/netcdf-3'  # Additional flags to add to the linker
68  netCDF_lib_path     = '/usr/lib'  # DEFAULT: '' (empty)
69  # netCDF_libs       = ['netcdf_c++', 'netcdf']  #ld_extra = ''
70    
71  # MKL  # Whether to treat compiler warnings as errors
72  # usemkl        = 'yes'  # DEFAULT: True
73  # mkl_path      = '/sw/sdev/cmkl/10.0.2.18/include'  #werror = False
74  # mkl_lib_path      = '/sw/sdev/cmkl/10.0.2.18/lib/em64t'  
75  # mkl_libs      = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']  # Whether to build a debug version
76    # DEFAULT: False
77  # UMFPACK (requires AMD and BLAS)  #debug = True
78  # useumfpack        = 'yes'  
79  # ufc_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'  # Set to True to print the full compiler/linker command line
80  # umf_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'  # DEFAULT: False
81  # umf_lib_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'  #verbose = True
82  # umf_libs      = ['umfpack']  
83  # amd_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'  # Set to True to add flags that enable OpenMP parallelization
84  # amd_lib_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'  # DEFAULT: False
85  # amd_libs      = ['amd']  #openmp = True
86  # blas_path     = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'  
87  # blas_lib_path     = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'  # Additional compiler flags for OpenMP builds
88  # blas_libs     = ['blas']  # DEFAULT: compiler-dependent
89    #omp_flags = '-fopenmp'
90  # OpenMP  
91  #useopenmp      = 'yes'  # Additional linker flags for OpenMP builds
92    # DEFAULT: compiler-dependent
93  # MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)  #omp_ldflags = '-fopenmp'
94  # usempi        = 'no'  
95  # mpi_path      = '/home/Work/InstallArea/mpich2-1.0.7/include'  # Flavour of MPI implementation
96  # mpi_lib_path      = '/home/Work/InstallArea/mpich2-1.0.7/lib'  # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
97  # mpi_libs      = ['mpich', 'rt']  # DEFAULT: 'none' (disable MPI)
98  # mpi_flavour       = "MPICH"  #mpi = 'OPENMPI'
99    
100  # MPICH2 for jumpshot (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)  # Prefix or paths to MPI headers and libraries. See note above about prefixes.
101  # mpi_path      = '/home/Work/InstallArea/mpich2-1.0.7/include'  #mpi_prefix = '/usr/lib/openmpi'
102  # mpi_lib_path      = '/home/Work/InstallArea/mpich2-1.0.7/lib'  
103  # mpi_libs      = ['lmpe', 'mpe', 'mpich', 'rt']  # MPI libraries to link against
104  # mpi_flavour       = "MPICH"  #mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']
105    
106  # ParMETIS (for use with MPI)  # Prefix or paths to boost-python headers and libraries. See note above.
107  # useparmetis       = 'yes'  #boost_prefix = '/usr/local'
108  # parmetis_path     = '/home/Work/InstallArea/parmetis-3.1/include'  
109  # parmetis_lib_path = '/home/Work/InstallArea/parmetis-3.1/lib'  # boost-python library/libraries to link against
110  # parmetis_libs     = ['parmetis', 'metis']  boost_libs = ['boost_python-mt-py26']
111    
112  # PAPI  # Prefix or paths to CppUnit headers and libraries. See note above.
113  # usepapi       = 'no'  #cppunit_prefix = '/usr/local'
114  # papi_path     = '/usr/include'  
115  # papi_lib_path     = '/usr/lib'  # CppUnit library/libraries to link against
116  # papi_libs     = ['papi']  #cppunit_libs = ['cppunit']
117  # papi_instrument_solver    = 'no'  
118    # Whether to use the netCDF library for dump file support
119    # DEFAULT: False
120    #netcdf = True
121    
122    # Prefix or paths to netCDF headers and libraries. See note above.
123    #netcdf_prefix = '/usr/local'
124    
125    # netCDF library/libraries to link against
126    #netcdf_libs = ['netcdf_c++', 'netcdf']
127    
128    # Whether to use the parMETIS library (only in conjunction with MPI)
129    # DEFAULT: False
130    #parmetis = True
131    
132    # Prefix or paths to parMETIS headers and libraries. See note above.
133    #parmetis_prefix = '/usr/local'
134    
135    # parMETIS library/libraries to link against
136    #parmetis_libs = ['parmetis', 'metis']
137    
138    # Whether to use the Intel PAPI (Performance API) library
139    # DEFAULT: False
140    #papi = True
141    
142    # Prefix or paths to PAPI headers and libraries. See note above.
143    #papi_prefix = '/usr/local'
144    
145    # PAPI library/libraries to link against
146    #papi_libs = ['papi']
147    
148    # Whether to use PAPI to instrument solver iterations
149    # DEFAULT: False
150    #papi_instrument_solver = True
151    
152    # Whether to use Intel MKL (Math Kernel Library)
153    # DEFAULT: False
154    #mkl = True
155    
156    # Prefix or paths to MKL headers and libraries. See note above.
157    #mkl_prefix = '/usr'
158    
159    # MKL library/libraries to link against
160    #mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
161    
162    # Whether to use UMFPACK (requires AMD and BLAS)
163    # DEFAULT: False
164    #umfpack = True
165    
166    # Prefix or paths to UMFPACK headers and libraries. See note above.
167    #umfpack_prefix = ['/usr/include/suitesparse', '/usr/lib']
168    
169    # UMFPACK library/libraries to link against
170    #umfpack_libs = ['umfpack']
171    
172    # Whether to use BoomerAMG (requires MPI)
173    # DEFAULT: False
174    #boomeramg = True
175    
176    # Prefix or paths to BoomerAMG headers and libraries. See note above.
177    #boomeramg_prefix = '/usr/local'
178    
179    # BoomerAMG library/libraries to link against
180    #boomeramg_libs = ['HYPRE']
181    
182    # Flavour of LAPACK implementation
183    # Recognized values: 'none', 'clapack', 'mkl'
184    # DEFAULT: 'none' (do not use LAPACK)
185    #lapack = 'clapack'
186    
187    # Prefix or paths to LAPACK headers and libraries. See note above.
188    #lapack_prefix = '/usr/local'
189    
190    # LAPACK library/libraries to link against
191    #lapack_libs = ['lapack_atlas']
192    
193    # Whether to use LLNL's SILO library for Silo output file support in weipa
194    # DEFAULT: False
195    #silo = True
196    
197    # Prefix or paths to SILO headers and libraries. See note above.
198    #silo_prefix = '/usr/local'
199    
200    # SILO library/libraries to link against
201    #silo_libs = ['siloh5', 'hdf5']
202    
203    # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
204    # DEFAULT: False
205    #visit = True
206    
207    # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
208    #visit_prefix = '/opt/visit/2.1.0/linux-intel/libsim/V2'
209    
210    # Sim2 library/libraries to link against
211    #visit_libs = ['simV2']
212    
213    # Whether to enable the deprecated PyVisi interface (requires the VTK python
214    # modules)
215    # DEFAULT: False
216    #pyvisi = True
217    
218    
219    ### ADVANCED OPTIONS ###
220    # Do not change the following options unless you know what they do
221    
222    # Use intel's VSL library for random data
223    # DEFAULT: False
224    #vsl_random = True
225    
226    # Extra libraries to link with
227    #sys_libs = []
228    
229    # Additional environmental variables to export to the tools
230    #env_export = []
231    
232    # Build a shared esysUtils library
233    #share_esysutils = True
234    
235    # Build a shared paso library
236    #share_paso = True
237    
238    #tools_names = ['default']
239    
240    #iknowwhatimdoing = False
241    
242    #forcelazy = 'leave_alone'
243    
244    #forcecollres = 'leave_alone'
245    

Legend:
Removed from v.3023  
changed lines
  Added in v.3597

  ViewVC Help
Powered by ViewVC 1.1.26