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

Diff of /trunk/scons/shake34_options.py

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

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

Legend:
Removed from v.2470  
changed lines
  Added in v.3598

  ViewVC Help
Powered by ViewVC 1.1.26