/[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 2179 by caltinay, Thu Dec 18 00:23:55 2008 UTC revision 3259 by jfenwick, Mon Oct 11 01:48:14 2010 UTC
# Line 1  Line 1 
1    
2  ########################################################  ########################################################
3  #  #
4  # Copyright (c) 2003-2008 by University of Queensland  # Copyright (c) 2003-2010 by University of Queensland
5  # Earth Systems Science Computational Center (ESSCC)  # Earth Systems Science Computational Center (ESSCC)
6  # http://www.uq.edu.au/esscc  # http://www.uq.edu.au/esscc
7  #  #
# 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    # DEFAULT: '.' (current directory)
21    #prefix = '/usr/local'
22    
23  # If you cannot use the default compiler flags set in SConstruct, then change them here  # 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       = '-fopenmp'  
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'  #cc_flags = ''
35  ld_extra        = '-fopenmp'  
36    # Additional compiler (optimization) flags for non-debug builds
37  # Be picky about errors  # DEFAULT: compiler-dependent
38  # usepedantic       = 'no'  cc_optim = '-O3 -mmmx -msse'
39    
40  # Extra libraries  # Additional compiler flags for debug builds
41  # sys_libs      = []  # DEFAULT: compiler-dependent
42    #cc_debug = '-g'
43  # Python libraries  
44  # python_path       = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/include/python2.4'  # Additional flags to add to the C compiler only
45  # python_lib_path   = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/lib'  # DEFAULT: '' (empty)
46  # python_libs       = 'python2.4'  #cc_extra = ''
47  # python_cmd        = 'python'  
48    # Additional flags to add to the C++ compiler only
49  # Boost libraries  # DEFAULT: '' (empty)
50  # boost_path        = '/sw/libs/boost/x86_64/gcc-4.1.2/python-2.4.4/boost_1_33/include/boost-1_33'  #cxx_extra = ''
51  # boost_lib_path    = '/sw/libs/boost/x86_64/gcc-4.1.2/python-2.4.4/boost_1_33/lib'  
52  boost_libs      = ['boost_python-mt']  # Additional flags to add to the linker
53    # DEFAULT: '' (empty)
54  # Specify whether or not to use VTK  #ld_extra = ''
55  # usevtk        = 'yes'  
56    # Whether to treat compiler warnings as errors
57  # NetCDF  # DEFAULT: True
58  #usenetcdf      = 'yes'  #werror = False
59  #netCDF_path        = '/usr/include/netcdf-3/'  
60  #netCDF_lib_path    = '/usr/lib/'  # Whether to build a debug version
61  #netCDF_libs        = ['netcdf_c++', 'netcdf']  # DEFAULT: False
62    #debug = True
63  # MKL  
64  # usemkl        = 'yes'  # Set to True to print the full compiler/linker command line
65  # mkl_path      = '/sw/sdev/cmkl/10.0.2.18/include'  # DEFAULT: False
66  # mkl_lib_path      = '/sw/sdev/cmkl/10.0.2.18/lib/em64t'  verbose = True
67  # mkl_libs      = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']  
68    # Set to True to add flags that enable OpenMP parallelization
69  # UMFPACK (requires AMD and BLAS)  # DEFAULT: False
70  # useumfpack        = 'yes'  openmp = True
71  # ufc_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'  
72  # umf_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'  # Additional compiler flags for OpenMP builds
73  # umf_lib_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'  # DEFAULT: compiler-dependent
74  # umf_libs      = ['umfpack']  #omp_flags = '-fopenmp'
75  # amd_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'  
76  # amd_lib_path      = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'  # Additional linker flags for OpenMP builds
77  # amd_libs      = ['amd']  # DEFAULT: compiler-dependent
78  # blas_path     = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'  #omp_ldflags = '-fopenmp'
79  # blas_lib_path     = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'  
80  # blas_libs     = ['blas']  # Flavour of MPI implementation
81    # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
82  # OpenMP  # DEFAULT: 'none' (disable MPI)
83  useopenmp       = 'yes'  mpi = 'OPENMPI'
84    
85  # MPICH2 (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.
86  usempi= 'yes'  mpi_prefix = '/usr/lib/openmpi'
87  mpi_path        = '/usr/include/mpi'  
88  mpi_lib_path        = '/usr/lib/openmpi/lib'  # MPI libraries to link against
89  mpi_libs        = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']  mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']
90  mpi_run     = 'mpiexec -np 4'  
91    # Prefix or paths to boost-python headers and libraries. See note above.
92  # ParMETIS (for use with MPI)  #boost_prefix = '/usr/local'
93  #useparmetis        = 'yes'  
94  #parmetis_path      = '/usr/local/include'  # boost-python library/libraries to link against
95  #parmetis_lib_path  = '/usr/local/lib'  #boost_libs = ['boost_python']
96  #parmetis_libs      = ['parmetis', 'metis']  
97    # Whether to use the netCDF library for dump file support
98  # PAPI  # DEFAULT: False
99  # usepapi       = 'no'  netcdf = True
100  # papi_path     = '/usr/include'  
101  # papi_lib_path     = '/usr/lib'  # Prefix or paths to netCDF headers and libraries. See note above.
102  # papi_libs     = ['papi']  #netcdf_prefix = '/usr/local'
103  # papi_instrument_solver    = 'no'  
104    # netCDF library/libraries to link against
105    #netcdf_libs = ['netcdf_c++', 'netcdf']
106    
107    # Whether to use the parMETIS library (only in conjunction with MPI)
108    # DEFAULT: False
109    parmetis = True
110    
111    # Prefix or paths to parMETIS headers and libraries. See note above.
112    #parmetis_prefix = '/usr/local'
113    
114    # parMETIS library/libraries to link against
115    #parmetis_libs = ['parmetis', 'metis']
116    
117    # Whether to use the Intel PAPI (Performance API) library
118    # DEFAULT: False
119    #papi = True
120    
121    # Prefix or paths to PAPI headers and libraries. See note above.
122    #papi_prefix = '/usr/local'
123    
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.2179  
changed lines
  Added in v.3259

  ViewVC Help
Powered by ViewVC 1.1.26