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

Diff of /trunk/scons/guineapig_options.py

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

revision 3258 by caltinay, Tue Sep 7 09:10:09 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    # Installation prefix. Files will be installed in subdirectories underneath.
20    # DEFAULT: '.' (current directory)
21    #prefix = '/usr/local'
22    
23    # C compiler command name or full path.
24    # DEFAULT: auto-detected
25    #cc = 'gcc'
26    
27    # C++ compiler command name or full path.
28    # DEFAULT: auto-detected
29    #cxx = 'g++'
30    
31    # 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    # DEFAULT: compiler-dependent
34    #cc_flags = ''
35    
36    # Additional compiler (optimization) flags for non-debug builds
37    # DEFAULT: compiler-dependent
38    #cc_optim = '-O3 -mmmx -msse'
39    
40    # Additional compiler flags for debug builds
41    # DEFAULT: compiler-dependent
42    #cc_debug = '-g'
43    
44  # Configuration for guineapig (64-bit Intel running Debian)  # Additional flags to add to the C compiler only
45    # DEFAULT: '' (empty)
 # If you cannot use the default compiler flags set in SConstruct, then change them here  
 # C/C++ Compiler flags (always use cc_flags and either cc_optim or cc_debug)  
 cc='gcc-4.4'  
 cxx='g++-4.4'  
 # cc_flags      = '-ansi'  
 # cc_optim      = '-O2'  
 # cc_debug      = '-g'  
 omp_optim       = '-fopenmp'  
 omp_debug       = '-fopenmp'  
 omp_libs        = []  
   
 # Use the default C/C++ flags but add something only for this host:  
 #cc_extra       = '-Wall -pedantic -isystem /usr/include/boost/ -isystem /usr/include/python2.5/ -Wno-sign-compare -Wno-long-long'  
 #cc_extra       = '-fopenmp'  
 ld_extra        = '-fopenmp'  
46  cc_extra = '--std=c99 -isystem /usr/local/py2.6.2/silo4.7.2/include'  cc_extra = '--std=c99 -isystem /usr/local/py2.6.2/silo4.7.2/include'
47    
48    # Additional flags to add to the C++ compiler only
49    # DEFAULT: '' (empty)
50  cxx_extra = '-isystem /usr/local/py2.6.2/silo4.7.2/include'  cxx_extra = '-isystem /usr/local/py2.6.2/silo4.7.2/include'
51    
52  # Be picky about errors  # Additional flags to add to the linker
53  # usepedantic       = 'no'  # DEFAULT: '' (empty)
54    #ld_extra = ''
55    
56    # Whether to treat compiler warnings as errors
57    # DEFAULT: True
58    #werror = False
59    
60    # Whether to build a debug version
61    # DEFAULT: False
62    #debug = True
63    
64    # Set to True to print the full compiler/linker command line
65    # DEFAULT: False
66    #verbose = True
67    
68    # Set to True to add flags that enable OpenMP parallelization
69    # DEFAULT: False
70    openmp = True
71    
72    # Additional compiler flags for OpenMP builds
73    # DEFAULT: compiler-dependent
74    #omp_flags = '-fopenmp'
75    
76    # Additional linker flags for OpenMP builds
77    # DEFAULT: compiler-dependent
78    #omp_ldflags = '-fopenmp'
79    
80    # Flavour of MPI implementation
81    # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
82    # DEFAULT: 'none' (disable MPI)
83    mpi = 'OPENMPI'
84    
85    # Prefix or paths to MPI headers and libraries. See note above about prefixes.
86    mpi_prefix = '/usr/lib/openmpi'
87    
88    # MPI libraries to link against
89    mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']
90    
91    # Prefix or paths to boost-python headers and libraries. See note above.
92    #boost_prefix = '/usr/local'
93    
94    # boost-python library/libraries to link against
95    boost_libs = ['boost_python-mt-py26']
96    
97    # Whether to use the netCDF library for dump file support
98    # DEFAULT: False
99    netcdf = True
100    
101    # Prefix or paths to netCDF headers and libraries. See note above.
102    #netcdf_prefix = '/usr/local'
103    
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', 'amd', 'blas']
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/local'
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/py2.6.2/silo4.7.2'
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  # Extra libraries  #forcelazy = 'leave_alone'
 # sys_libs      = ['guide', 'pthread', 'stdc++']  
208    
209  # Python libraries  #forcecollres = 'leave_alone'
 #python_path        = '/usr/local/python2.6.2/include/python2.6'    # For our local build  
 #python_lib_path        = '/usr/local/python2.6.2/lib'      # For our local build  
 python_path     = '/usr/include/python2.6'  
 python_lib_path     = ''        # Its in the standard path  
   
 python_libs     = 'python2.6'  
 # python_cmd        = 'python'  
   
 # Boost libraries  
 #boost_path     = '/usr/local/py2.6.2/boost1.39.0/include/boost-1_39'   # For our local build  
 #boost_lib_path     = '/usr/local/py2.6.2/boost1.39.0/lib'          # For our local build  
 #boost_libs     = ['libboost_python-gcc44-mt']  
 boost_libs      = ['libboost_python-mt-py26.so']  
   
 # Specify whether or not to use VTK  
 usevtk          = 'no'  
   
 # NetCDF  
 #usenetcdf      = 'yes'  
 #netCDF_path        = '/usr/local/py2.6.2/netcdf4.0/include'  
 #netCDF_lib_path        = '/usr/local/py2.6.2/netcdf4.0/lib'  
 #netCDF_libs        = ['netcdf_c++', 'netcdf']  
   
 # Silo  
 usesilo         = 'yes'  
 silo_path       = '/usr/local/py2.6.2/silo4.7.2/include'  
 silo_lib_path   = '/usr/local/py2.6.2/silo4.7.2/lib'  
 silo_libs       = ['siloh5', 'hdf5']  
   
 # 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/suitesparse'  
 umf_path        = '/usr/include/suitesparse'  
 umf_lib_path        = '/usr/lib'  
 umf_libs        = ['umfpack']  
 amd_path        = '/usr/include/suitesparse'  
 amd_lib_path        = '/usr/lib'  
 amd_libs        = ['amd']  
 blas_path       = '/usr/include'  
 blas_lib_path       = '/usr/lib'  
 blas_libs       = ['blas']  
   
 # OpenMP  
 useopenmp       = 'yes'  
   
 usempi          = 'yes'  
 mpi_flavour         = 'OPENMPI'  
 mpi_path        = '/usr/include/openmpi/'  
 mpi_lib_path        = '/usr/lib/openmpi/lib/'  
 mpi_libs        = ['libmpi','libmpi_cxx']  
   
 # MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)  
 # usempi        = 'no'  
 # mpi_path      = '/home/Work/InstallArea/mpich2-1.0.7/include'  
 # mpi_lib_path      = '/home/Work/InstallArea/mpich2-1.0.7/lib'  
 # mpi_libs      = ['mpich', 'rt']  
 # mpi_flavour       = "MPICH"  
   
 # 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     = '/home/Work/InstallArea/parmetis-3.1/include'  
 # parmetis_lib_path = '/home/Work/InstallArea/parmetis-3.1/lib'  
 # parmetis_libs     = ['parmetis', 'metis']  
   
 # PAPI  
 # usepapi       = 'no'  
 # papi_path     = '/usr/include'  
 # papi_lib_path     = '/usr/lib'  
 # papi_libs     = ['papi']  
 # papi_instrument_solver    = 'no'  
210    

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

  ViewVC Help
Powered by ViewVC 1.1.26