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

Diff of /trunk/scons/shake75_options.py

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

revision 3174 by caltinay, Fri Sep 10 03:55:18 2010 UTC revision 3259 by jfenwick, Mon Oct 11 01:48:14 2010 UTC
# Line 11  Line 11 
11  #  #
12  ########################################################  ########################################################
13    
14    # The options file version. SCons will refuse to build if there have been
15    # changes to the set of variables and your file has not been updated.
16    # This setting is mandatory.
17    escript_opts_version = 200
18    
19  # Configuration for shake75 (32-bit Intel Core 2 running Debian Linux)  # Installation prefix. Files will be installed in subdirectories underneath.
20  # If you cannot use the default compiler flags set in SConstruct,  # DEFAULT: '.' (current directory)
21  # then change them here  #prefix = '/usr/local'
22  #cc="gcc-4.4"  
23  #cxx="g++-4.4"  # C compiler command name or full path.
24  # C/C++ Compiler flags (always use cc_flags and either cc_optim or cc_debug)  # DEFAULT: auto-detected
25  # cc_flags      = '-ansi'  #cc = 'gcc'
26  # cc_optim      = '-O2'  
27  # usedebug      = 'no'  # C++ compiler command name or full path.
28  # cc_debug      = '-g'  # DEFAULT: auto-detected
29  omp_optim       = '-fopenmp'  #cxx = 'g++'
30  omp_debug       = ''  
31  omp_libs        = []  # Flags to use with both C and C++ compilers. Do not set unless you know
32    # what you are doing - use cc_extra to specify additional flags!
33  # Use the default C/C++ flags but add something only for this host:  # DEFAULT: compiler-dependent
34  cc_extra        = '-Wall -mmmx -msse'  #cc_flags = ''
35  cxx_extra       = '-Wall -mmmx -msse'  
36  ld_extra        = '-fopenmp'  # Additional compiler (optimization) flags for non-debug builds
37    # DEFAULT: compiler-dependent
38  # Be picky about errors  cc_optim = '-O3 -mmmx -msse'
39  # usepedantic   = 'no'  
40    # Additional compiler flags for debug builds
41  # Extra libraries  # DEFAULT: compiler-dependent
42  # sys_libs      = []  #cc_debug = '-g'
43    
44  # Python libraries  # Additional flags to add to the C compiler only
45  # python_path       = '/usr/lib/python2.6'  # DEFAULT: '' (empty)
46  # python_lib_path   = '/usr/lib'  #cc_extra = ''
47  # python_libs       = 'python2.6'  
48  # python_cmd        = 'python'  # Additional flags to add to the C++ compiler only
49    # DEFAULT: '' (empty)
50  # Boost libraries  #cxx_extra = ''
51  boost_path          = '/usr/include/'  
52  # boost_lib_path    = '/usr/lib'  # Additional flags to add to the linker
53  boost_libs          = ['boost_python']  # DEFAULT: '' (empty)
54    #ld_extra = ''
55  # Specify whether or not to use VTK  
56  # usevtk            = 'yes'  # Whether to treat compiler warnings as errors
57    # DEFAULT: True
58  # NetCDF  #werror = False
59  #usenetcdf          = 'yes'  
60  #netCDF_path        = '/usr/include/'  # Whether to build a debug version
61  #netCDF_lib_path    = '/usr/lib/'  # DEFAULT: False
62  #netCDF_libs        = ['netcdf_c++', 'netcdf']  #debug = True
63    
64  # MKL  # Set to True to print the full compiler/linker command line
65  # usemkl        = 'yes'  # DEFAULT: False
66  # mkl_path      = '/usr/include'  verbose = True
67  # mkl_lib_path  = '/usr/lib'  
68  # mkl_libs      = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']  # Set to True to add flags that enable OpenMP parallelization
69    # DEFAULT: False
70  # UMFPACK (requires AMD and BLAS)  openmp = True
71  useumfpack      = 'yes'  
72  # ufc_path      = '/usr/include'  # Additional compiler flags for OpenMP builds
73  # umf_path      = '/usr/include'  # DEFAULT: compiler-dependent
74  # umf_lib_path  = '/usr/lib'  #omp_flags = '-fopenmp'
75  # umf_libs      = ['umfpack']  
76  # amd_path      = '/usr/include'  # Additional linker flags for OpenMP builds
77  # amd_lib_path  = '/usr/lib'  # DEFAULT: compiler-dependent
78  # amd_libs      = ['amd']  #omp_ldflags = '-fopenmp'
79  # blas_path     = '/usr/include'  
80  # blas_lib_path = '/usr/lib'  # Flavour of MPI implementation
81  # blas_libs     = ['blas']  # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
82    # DEFAULT: 'none' (disable MPI)
83  #Lapack  mpi = 'OPENMPI'
84  uselapack       = 'yes'  
85  #lapack_path    = ''  # Prefix or paths to MPI headers and libraries. See note above about prefixes.
86  #lapack_lib_path= ''  mpi_prefix = '/usr/lib/openmpi'
87  lapack_libs     = ['lapack_atlas']  
88    # MPI libraries to link against
89  # Silo  mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']
90  usesilo         = 'yes'  
91  silo_path       = '/usr/local/include/'  # Prefix or paths to boost-python headers and libraries. See note above.
92  silo_lib_path   = '/usr/local/lib/'  #boost_prefix = '/usr/local'
93  silo_libs       = ['siloh5', 'hdf5']  
94    # boost-python library/libraries to link against
95  # VisIt  #boost_libs = ['boost_python']
96  usevisit        = 'yes'  
97  visit_path      = '/opt/visit/2.1.0/linux-intel/libsim/V2/include'  # Whether to use the netCDF library for dump file support
98  visit_lib_path  = '/opt/visit/2.1.0/linux-intel/libsim/V2/lib'  # DEFAULT: False
99  #visit_path      = '/home/caltinay/src/visit-trunk/src/include/visit'  netcdf = True
100  #visit_lib_path  = '/home/caltinay/src/visit-trunk/src/lib'  
101    # Prefix or paths to netCDF headers and libraries. See note above.
102  # OpenMP  #netcdf_prefix = '/usr/local'
103  useopenmp       = 'yes'  
104    # netCDF library/libraries to link against
105  # MPI  #netcdf_libs = ['netcdf_c++', 'netcdf']
106  usempi          = 'yes'  
107  mpi_path        = '/usr/include/mpi'  # Whether to use the parMETIS library (only in conjunction with MPI)
108  mpi_lib_path    = '/usr/lib/openmpi/lib'  # DEFAULT: False
109  mpi_libs        = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']  parmetis = True
110  mpi_flavour     = 'OPENMPI'  
111    # Prefix or paths to parMETIS headers and libraries. See note above.
112  # ParMETIS (for use with MPI)  #parmetis_prefix = '/usr/local'
113  #useparmetis        = 'yes'  
114  #parmetis_path      = '/usr/local/include'  # parMETIS library/libraries to link against
115  #parmetis_lib_path  = '/usr/local/lib'  #parmetis_libs = ['parmetis', 'metis']
116  #parmetis_libs      = ['parmetis', 'metis']  
117    # Whether to use the Intel PAPI (Performance API) library
118  # PAPI  # DEFAULT: False
119  # usepapi                = 'no'  #papi = True
120  # papi_path              = '/usr/include'  
121  # papi_lib_path          = '/usr/lib'  # Prefix or paths to PAPI headers and libraries. See note above.
122  # papi_libs              = ['papi']  #papi_prefix = '/usr/local'
123  # papi_instrument_solver = 'no'  
124    # PAPI library/libraries to link against
125    #papi_libs = ['papi']
126    
127    # Whether to use PAPI to instrument solver iterations
128    # DEFAULT: False
129    #papi_instrument_solver = True
130    
131    # Whether to use Intel MKL (Math Kernel Library)
132    # DEFAULT: False
133    #mkl = True
134    
135    # Prefix or paths to MKL headers and libraries. See note above.
136    #mkl_prefix = '/usr'
137    
138    # MKL library/libraries to link against
139    #mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
140    
141    # Whether to use UMFPACK (requires AMD and BLAS)
142    # DEFAULT: False
143    umfpack = True
144    
145    # Prefix or paths to UMFPACK headers and libraries. See note above.
146    umfpack_prefix = ['/usr/include/suitesparse', '/usr/lib']
147    
148    # UMFPACK library/libraries to link against
149    #umfpack_libs = ['umfpack']
150    
151    # Flavour of LAPACK implementation
152    # Recognized values: 'none', 'clapack', 'mkl'
153    # DEFAULT: 'none' (do not use LAPACK)
154    lapack = 'clapack'
155    
156    # Prefix or paths to LAPACK headers and libraries. See note above.
157    lapack_prefix = ['/usr/include/atlas', '/usr/lib/atlas-base']
158    
159    # LAPACK library/libraries to link against
160    lapack_libs = ['lapack_atlas']
161    
162    # Whether to use LLNL's SILO library for Silo output file support in weipa
163    # DEFAULT: False
164    silo = True
165    
166    # Prefix or paths to SILO headers and libraries. See note above.
167    silo_prefix = '/usr/local'
168    
169    # SILO library/libraries to link against
170    silo_libs = ['siloh5', 'hdf5']
171    
172    # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
173    # DEFAULT: False
174    visit = True
175    
176    # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
177    visit_prefix = '/opt/visit/2.1.0/linux-intel/libsim/V2'
178    
179    # Sim2 library/libraries to link against
180    #visit_libs = ['simV2']
181    
182    # Whether to enable the deprecated PyVisi interface (requires the VTK python
183    # modules)
184    # DEFAULT: False
185    #pyvisi = True
186    
187    
188    ### ADVANCED OPTIONS ###
189    # Do not change the following options unless you know what they do
190    
191    # Extra libraries to link with
192    #sys_libs = []
193    
194    # Additional environmental variables to export to the tools
195    #env_export = []
196    
197    # Build a shared esysUtils library
198    #share_esysutils = True
199    
200    # Build a shared paso library
201    #share_paso = True
202    
203    #tools_names = ['default']
204    
205    #iknowwhatimdoing = False
206    
207    #forcelazy = 'leave_alone'
208    
209    #forcecollres = 'leave_alone'
210    

Legend:
Removed from v.3174  
changed lines
  Added in v.3259

  ViewVC Help
Powered by ViewVC 1.1.26