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

Annotation of /trunk/scons/savanna_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3320 - (hide annotations)
Thu Oct 28 03:29:51 2010 UTC (8 years, 10 months ago) by caltinay
File MIME type: text/x-python
File size: 6217 byte(s)
This fixes the scons warning about not finding the Intel top dir on Savanna.

1 jfenwick 3024
2     ########################################################
3     #
4     # Copyright (c) 2003-2010 by University of Queensland
5     # Earth Systems Science Computational Center (ESSCC)
6     # http://www.uq.edu.au/esscc
7     #
8     # Primary Business: Queensland, Australia
9     # Licensed under the Open Software License version 3.0
10     # http://www.opensource.org/licenses/osl-3.0.php
11     #
12     ########################################################
13    
14 jfenwick 3259 # 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 jfenwick 3024
19 jfenwick 3259 # Installation prefix. Files will be installed in subdirectories underneath.
20     # DEFAULT: '.' (current directory)
21     #prefix = '/usr/local'
22 jfenwick 3024
23 jfenwick 3259 # C compiler command name or full path.
24     # DEFAULT: auto-detected
25     #cc = 'gcc'
26 jfenwick 3024
27 jfenwick 3259 # C++ compiler command name or full path.
28     # DEFAULT: auto-detected
29     #cxx = 'g++'
30 jfenwick 3076
31 jfenwick 3259 # 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 jfenwick 3024
36 jfenwick 3259 # Additional compiler (optimization) flags for non-debug builds
37     # DEFAULT: compiler-dependent
38     #cc_optim = '-O3 -mmmx -msse'
39 jfenwick 3024
40 jfenwick 3259 # Additional compiler flags for debug builds
41     # DEFAULT: compiler-dependent
42     #cc_debug = '-g'
43 jfenwick 3024
44 jfenwick 3259 # Additional flags to add to the C compiler only
45     # DEFAULT: '' (empty)
46     cc_extra = '-sox' # embed compiler info in binaries
47 jfenwick 3024
48 jfenwick 3259 # Additional flags to add to the C++ compiler only
49     # DEFAULT: '' (empty)
50     cxx_extra = '-sox' # embed compiler info in binaries
51 jfenwick 3024
52 jfenwick 3259 # Additional flags to add to the linker
53     # DEFAULT: '' (empty)
54     ld_extra = '-shared-intel' # fix warning about feupdate in icc v10
55 jfenwick 3024
56 jfenwick 3259 # Whether to treat compiler warnings as errors
57     # DEFAULT: True
58     werror = False
59 jfenwick 3024
60 jfenwick 3259 # Whether to build a debug version
61     # DEFAULT: False
62     #debug = True
63 jfenwick 3024
64 jfenwick 3259 # Set to True to print the full compiler/linker command line
65     # DEFAULT: False
66     verbose = True
67 jfenwick 3024
68 jfenwick 3259 # Set to True to add flags that enable OpenMP parallelization
69     # DEFAULT: False
70     openmp = True
71 jfenwick 3024
72 jfenwick 3259 # Additional compiler flags for OpenMP builds
73     # DEFAULT: compiler-dependent
74     omp_flags = '-openmp -openmp-report2'
75 jfenwick 3024
76 jfenwick 3259 # Additional linker flags for OpenMP builds
77     # DEFAULT: compiler-dependent
78     #omp_ldflags = '-fopenmp'
79 jfenwick 3024
80 jfenwick 3259 # Flavour of MPI implementation
81     # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
82     # DEFAULT: 'none' (disable MPI)
83     mpi = 'INTELMPI'
84 jfenwick 3024
85 jfenwick 3259 # Prefix or paths to MPI headers and libraries. See note above about prefixes.
86     mpi_prefix = ['/sw/sdev/intel/impi/4.0.0.027/include64', '/sw/sdev/intel/impi/4.0.0.027/lib64']
87 jfenwick 3024
88 jfenwick 3259 # MPI libraries to link against
89     mpi_libs = ['mpi']
90 jfenwick 3024
91 jfenwick 3259 # Prefix or paths to boost-python headers and libraries. See note above.
92     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 caltinay 3096
94 jfenwick 3259 # boost-python library/libraries to link against
95     boost_libs = ['boost_python-gcc41-mt']
96 jfenwick 3024
97 jfenwick 3259 # Whether to use the netCDF library for dump file support
98     # DEFAULT: False
99     netcdf = True
100 jfenwick 3024
101 jfenwick 3259 # Prefix or paths to netCDF headers and libraries. See note above.
102     netcdf_prefix = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2'
103 caltinay 3096
104 jfenwick 3259 # netCDF library/libraries to link against
105     #netcdf_libs = ['netcdf_c++', 'netcdf']
106 jfenwick 3024
107 jfenwick 3259 # Whether to use the parMETIS library (only in conjunction with MPI)
108     # DEFAULT: False
109     parmetis = True
110 jfenwick 3024
111 jfenwick 3259 # Prefix or paths to parMETIS headers and libraries. See note above.
112     parmetis_prefix = '/sw/libs/parmetis/x86_64/icc-10.1.015/intelmpi/parmetis-3.1.1'
113 jfenwick 3024
114 jfenwick 3259 # parMETIS library/libraries to link against
115     #parmetis_libs = ['parmetis', 'metis']
116 jfenwick 3024
117 jfenwick 3259 # Whether to use the Intel PAPI (Performance API) library
118     # DEFAULT: False
119     #papi = True
120 jfenwick 3024
121 jfenwick 3259 # Prefix or paths to PAPI headers and libraries. See note above.
122     #papi_prefix = '/usr/local'
123 jfenwick 3024
124 jfenwick 3259 # PAPI library/libraries to link against
125     #papi_libs = ['papi']
126 jfenwick 3024
127 jfenwick 3259 # Whether to use PAPI to instrument solver iterations
128     # DEFAULT: False
129     #papi_instrument_solver = True
130 jfenwick 3024
131 jfenwick 3259 # 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 = ['/sw/sdev/intel/mkl/10.2.5.035/include', '/sw/sdev/intel/mkl/10.2.5.035/lib/em64t']
137    
138     # MKL library/libraries to link against
139     mkl_libs = ['mkl_core', 'mkl_intel_lp64', 'mkl_intel_thread', 'mkl_lapack', 'guide', 'pthread', 'mkl_mc', 'mkl_def']
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 = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2'
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 = 'mkl'
155    
156     # Prefix or paths to LAPACK headers and libraries. See note above.
157     lapack_prefix = mkl_prefix
158    
159     # LAPACK library/libraries to link against
160     lapack_libs = ['mkl_lapack']
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 = '/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 caltinay 3320 tools_names = [('intelc',{'topdir':'/sw/sdev/intel/cc/x86_64/10.1.025'})]
204 jfenwick 3259
205     #iknowwhatimdoing = False
206    
207     #forcelazy = 'leave_alone'
208    
209     #forcecollres = 'leave_alone'
210    

  ViewVC Help
Powered by ViewVC 1.1.26