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

Diff of /trunk/scons/savanna_options.py

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

revision 3096 by caltinay, Thu Aug 19 01:40:52 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 Savanna (SGI ICE 8200 running SUSE Linux)  # Installation prefix. Files will be installed in subdirectories underneath.
20    # DEFAULT: '.' (current directory)
21    #prefix = '/usr/local'
22    
23  # Append environment variables which need to be passed through scons to  # C compiler command name or full path.
24  # other tools  # DEFAULT: auto-detected
25  env_export=['INTEL_LICENSE_FILE']  #cc = 'gcc'
26    
27  tools_names=['intelc']  # C++ compiler command name or full path.
28    # DEFAULT: auto-detected
29  # If you cannot use the default compiler flags set in SConstruct, then change them here  #cxx = 'g++'
30  # C/C++ Compiler flags (always use cc_flags and either cc_optim or cc_debug)  
31  # cc_flags      = '-ansi'  # Flags to use with both C and C++ compilers. Do not set unless you know
32  # cc_optim      = '-O2'  # what you are doing - use cc_extra to specify additional flags!
33  # cc_debug      = '-g'  # DEFAULT: compiler-dependent
34  omp_optim       = '-openmp  -openmp-report2'  #cc_flags = ''
35  # omp_debug     = '-openmp'  
36  # omp_libs      = ['guide']  # Additional compiler (optimization) flags for non-debug builds
37    # DEFAULT: compiler-dependent
38  # Use the default C/C++ flags but add something only for this host:  #cc_optim = '-O3 -mmmx -msse'
39  cc_extra        = '-sox'    # Embed compiler version and options in binaries  
40  cxx_extra       = '-sox'    # Embed compiler version and options in binaries  # Additional compiler flags for debug builds
41  ld_extra        = '-shared-intel'   # Fix warning about feupdate in icc v10  # DEFAULT: compiler-dependent
42    #cc_debug = '-g'
43  # Be picky about errors  
44  # usepedantic       = 'no'  # Additional flags to add to the C compiler only
45    # DEFAULT: '' (empty)
46  # Extra libraries  cc_extra = '-sox' # embed compiler info in binaries
47  # sys_libs      = []  
48    # Additional flags to add to the C++ compiler only
49  # Python libraries  # DEFAULT: '' (empty)
50  python_path     = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.6.2/include/python2.6'  cxx_extra = '-sox' # embed compiler info in binaries
51  python_lib_path     = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.6.2/lib'  
52  # python_libs       = ['python2.4']  # Additional flags to add to the linker
53  # python_cmd        = 'python'  # DEFAULT: '' (empty)
54    ld_extra = '-shared-intel' # fix warning about feupdate in icc v10
55  # Boost libraries  
56  boost_path      = '/sw/libs/boost/x86_64/gcc-4.1.2/python-2.6.2/boost_1_39_0/include/boost-1_39'  # Whether to treat compiler warnings as errors
57  boost_lib_path      = '/sw/libs/boost/x86_64/gcc-4.1.2/python-2.6.2/boost_1_39_0/lib'  # DEFAULT: True
58  boost_libs      = ['boost_python-gcc41-mt']  werror = False
59    
60  # Specify whether or not to use VTK  # Whether to build a debug version
61  # usevtk        = 'yes'  # DEFAULT: False
62    #debug = True
63  # NetCDF  
64  usenetcdf       = 'yes'  # Set to True to print the full compiler/linker command line
65  netCDF_path     = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/include'  # DEFAULT: False
66  netCDF_lib_path     = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/lib'  verbose = True
67  # netCDF_libs       = ['netcdf_c++', 'netcdf']  
68    # Set to True to add flags that enable OpenMP parallelization
69    # DEFAULT: False
70  # MKL  openmp = True
71  usemkl      = 'yes'  
72  #MKL for 10.2.5.035  # Additional compiler flags for OpenMP builds
73  mkl_path                = '/sw/sdev/intel/mkl/10.2.5.035/include'  # DEFAULT: compiler-dependent
74  mkl_lib_path            = '/sw/sdev/intel/mkl/10.2.5.035/lib/em64t'  omp_flags = '-openmp -openmp-report2'
75  mkl_libs                =  [ "mkl_core", "mkl_intel_lp64",  "mkl_intel_thread", "mkl_lapack", 'guide', 'pthread' , "mkl_mc", "mkl_def"]  
76    # Additional linker flags for OpenMP builds
77    # DEFAULT: compiler-dependent
78  # UMFPACK (requires AMD and BLAS)  #omp_ldflags = '-fopenmp'
79  useumfpack      = 'yes'  
80  ufc_path        = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'  # Flavour of MPI implementation
81  umf_path        = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'  # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
82  umf_lib_path        = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'  # DEFAULT: 'none' (disable MPI)
83  umf_libs        = ['umfpack']  mpi = 'INTELMPI'
84  amd_path        = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'  
85  amd_lib_path        = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'  # Prefix or paths to MPI headers and libraries. See note above about prefixes.
86  amd_libs        = ['amd']  mpi_prefix = ['/sw/sdev/intel/impi/4.0.0.027/include64', '/sw/sdev/intel/impi/4.0.0.027/lib64']
87  blas_path       = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'  
88  blas_lib_path       = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'  # MPI libraries to link against
89  blas_libs       = ['blas']  mpi_libs = ['mpi']
90    
91    # Prefix or paths to boost-python headers and libraries. See note above.
92  #Lapack  boost_prefix = ['/sw/libs/boost/x86_64/gcc-4.1.2/python-2.6.2/boost_1_39_0/include/boost-1_39', '/sw/libs/boost/x86_64/gcc-4.1.2/python-2.6.2/boost_1_39_0/lib']
93  uselapack       = 'yes'  
94  #lapack_path        = '/sw/sdev/intel/cmkl/10.1.0.015/include'  # boost-python library/libraries to link against
95  #lapack_lib_path        = '/sw/sdev/intel/cmkl/10.1.0.015/lib/em64t'  boost_libs = ['boost_python-gcc41-mt']
96  #lapack_libs        = ['mkl_lapack','mkl','guide','pthread']  
97  #We will pull these in with MKL  # Whether to use the netCDF library for dump file support
98  #If you are not using MKL then switch off Lapack or use the lines above  # DEFAULT: False
99  lapack_path     = ''  netcdf = True
100  lapack_lib_path     = ''  
101  lapack_libs     = []  # Prefix or paths to netCDF headers and libraries. See note above.
102  lapack_type     = 'mkl'  netcdf_prefix = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2'
103    
104    # netCDF library/libraries to link against
105  # ParMETIS (for use with MPI) (these setting my be overwritten depending on the mpi version used)  #netcdf_libs = ['netcdf_c++', 'netcdf']
106  useparmetis     = 'yes'  
107  parmetis_path          = '/sw/libs/parmetis/x86_64/icc-10.1.015/intelmpi/parmetis-3.1.1/include'  # Whether to use the parMETIS library (only in conjunction with MPI)
108  parmetis_lib_path      = '/sw/libs/parmetis/x86_64/icc-10.1.015/intelmpi/parmetis-3.1.1/lib'  # DEFAULT: False
109  parmetis_libs       = ['parmetis', 'metis']  parmetis = True
110    
111  # Silo  # Prefix or paths to parMETIS headers and libraries. See note above.
112  # usesilo       = 'yes'  parmetis_prefix = '/sw/libs/parmetis/x86_64/icc-10.1.015/intelmpi/parmetis-3.1.1'
113  silo_path       = '/sw/libs/silo/x86_64/gcc-4.3.2/silo-4.7.2/include'  
114  silo_lib_path           = '/sw/libs/silo/x86_64/gcc-4.3.2/silo-4.7.2/lib'  # parMETIS library/libraries to link against
115  # silo_libs     = ['siloh5', 'hdf5']  #parmetis_libs = ['parmetis', 'metis']
116    
117  # VisIt  # Whether to use the Intel PAPI (Performance API) library
118  usevisit        = 'no'  # DEFAULT: False
119  visit_path      = '/sw/apps/visit/x86_64/gcc-4.3.2/visit-2.0.2/2.0.2/linux-x86_64/libsim/V2/include'  #papi = True
120  visit_lib_path  = '/sw/apps/visit/x86_64/gcc-4.3.2/visit-2.0.2/2.0.2/linux-x86_64/libsim/V2/lib'  
121    # Prefix or paths to PAPI headers and libraries. See note above.
122    #papi_prefix = '/usr/local'
123  # OpenMP  
124  useopenmp       = 'yes'  # PAPI library/libraries to link against
125    #papi_libs = ['papi']
126  usempi      = 'yes'  
127  # MPI MPT (no module load required)  # Whether to use PAPI to instrument solver iterations
128  #mpi_path       = '/sw/sdev/mpt/1.24/include'  # DEFAULT: False
129  #mpi_lib_path       = '/sw/sdev/mpt/1.24/lib'  #papi_instrument_solver = True
130  #mpi_libs       = ['mpi']  
131  #mpi_flavour     = "MPT"  # Whether to use Intel MKL (Math Kernel Library)
132    # DEFAULT: False
133  # MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)  mkl = True
134  # mpi_path      = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/include'  
135  # mpi_lib_path      = '/sw/libs/mpich2/x86_64/gcc-4.1.2/mpich2-1.0.7/lib'  # Prefix or paths to MKL headers and libraries. See note above.
136  # mpi_libs      = ['mpich', 'rt']  mkl_prefix = ['/sw/sdev/intel/mkl/10.2.5.035/include', '/sw/sdev/intel/mkl/10.2.5.035/lib/em64t']
137  # mpi_flavour       = 'MPICH2'  
138    # MKL library/libraries to link against
139  # Intel MPI (to run Escript use: module load intel-mpi/4.0.0.027  mkl_libs = ['mkl_core', 'mkl_intel_lp64', 'mkl_intel_thread', 'mkl_lapack', 'guide', 'pthread', 'mkl_mc', 'mkl_def']
140  # (When use Intel MPI, compile with "useparmetis = yes")  
141  mpi_path        = '/sw/sdev/intel/impi/4.0.0.027/include64'  # Whether to use UMFPACK (requires AMD and BLAS)
142  mpi_lib_path        = '/sw/sdev/intel/impi/4.0.0.027/lib64'  # DEFAULT: False
143  mpi_libs        = ['mpi']  umfpack = True
144  mpi_flavour     = 'INTELMPI'  
145    # Prefix or paths to UMFPACK headers and libraries. See note above.
146  # ParMETIS setting needs to be overwritten in intel-mpi is used  umfpack_prefix = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2'
147  # parmetis_path = "/sw/libs/parmetis/x86_64/gcc-4.1.2/intelmpi/parmetis-3.1/include"  
148  # parmetis_lib_path   = "/sw/libs/parmetis/x86_64/gcc-4.1.2/intelmpi/parmetis-3.1/lib"  # UMFPACK library/libraries to link against
149    umfpack_libs = ['umfpack', 'amd', 'blas']
150  # mvapich (to run Escript use: module load mvapich/mvapich-1.0.1)  
151  # mpi_path      = '/usr/diags/mpi/mvapich/intel/include'  # Flavour of LAPACK implementation
152  # mpi_lib_path      = '/usr/diags/mpi/mvapich/intel/lib/shared'  # Recognized values: 'none', 'clapack', 'mkl'
153  # mpi_libs      = ['mpich']  # DEFAULT: 'none' (do not use LAPACK)
154  # mpi_flavour       = 'MPICH'  lapack = 'mkl'
155    
156  # OpenMPI (to run Escript use: module load openmpi/gcc-4.1.2/openmpi-1.2.6) (This doesn't compile)  # Prefix or paths to LAPACK headers and libraries. See note above.
157  # mpi_path      = '/sw/libs/openmpi/x86_64/gcc-4.1.2/openmpi-1.2.6/include'  lapack_prefix = mkl_prefix
158  # mpi_lib_path      = '/sw/libs/openmpi/x86_64/gcc-4.1.2/openmpi-1.2.6/lib'  
159  # mpi_libs      = ['mpi']  # LAPACK library/libraries to link against
160  # mpi_flavour       = 'OPENMPI'  lapack_libs = ['mkl_lapack']
161    
162  # PAPI  # Whether to use LLNL's SILO library for Silo output file support in weipa
163  # usepapi       = 'no'  # DEFAULT: False
164  # papi_path     = '/usr/include'  silo = True
165  # papi_lib_path     = '/usr/lib64'  
166  # papi_libs     = ['papi']  # Prefix or paths to SILO headers and libraries. See note above.
167  # papi_instrument_solver    = 'no'  silo_prefix = '/sw/libs/silo/x86_64/gcc-4.3.2/silo-4.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 = '/sw/apps/visit/x86_64/gcc-4.3.2/visit-2.0.2/2.0.2/linux-x86_64/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 = ['INTEL_LICENSE_FILE']
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 = ['intelc']
204    
205    #iknowwhatimdoing = False
206    
207    #forcelazy = 'leave_alone'
208    
209    #forcecollres = 'leave_alone'
210    

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

  ViewVC Help
Powered by ViewVC 1.1.26