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

Contents of /trunk/scons/shake75_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2882 - (show annotations)
Thu Jan 28 02:27:49 2010 UTC (9 years, 7 months ago) by caltinay
File MIME type: text/x-python
File size: 3221 byte(s)
Scons now allows to specify which C & C++ compiler to use via cc and cxx
variables. Fixes mantis # 485.

1
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
15 # Configuration for shake75 (32-bit Intel Core 2 running Debian Linux)
16 cc="gcc-4.4"
17 cxx="g++-4.4"
18 # If you cannot use the default compiler flags set in SConstruct, then change them here
19 # C/C++ Compiler flags (always use cc_flags and either cc_optim or cc_debug)
20 # cc_flags = '-ansi'
21 # cc_optim = '-O2'
22 # usedebug = 'no'
23 # cc_debug = '-g'
24 omp_optim = '-fopenmp'
25 omp_debug = ''
26 omp_libs = []
27
28 # Use the default C/C++ flags but add something only for this host:
29 cc_extra = '-Wall -mmmx -msse'
30 ld_extra = '-fopenmp'
31
32 # Be picky about errors
33 # usepedantic = 'no'
34
35 # Extra libraries
36 # sys_libs = []
37
38 # Python libraries
39 # python_path = '/usr/lib/python2.5'
40 # python_lib_path = '/usr/lib'
41 # python_libs = 'python2.5'
42 # python_cmd = 'python'
43
44 # Boost libraries
45 boost_path = '/usr/include/'
46 # boost_lib_path = '/usr/lib'
47 boost_libs = ['boost_python']
48
49 # Specify whether or not to use VTK
50 # usevtk = 'yes'
51
52 # NetCDF
53 #usenetcdf = 'yes'
54 #netCDF_path = '/usr/include/'
55 #netCDF_lib_path = '/usr/lib/'
56 #netCDF_libs = ['netcdf_c++', 'netcdf']
57
58 # MKL
59 # usemkl = 'yes'
60 # mkl_path = '/usr/include'
61 # mkl_lib_path = '/usr/lib'
62 # mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
63
64 # UMFPACK (requires AMD and BLAS)
65 useumfpack = 'yes'
66 # ufc_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
67 # umf_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
68 # umf_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
69 # umf_libs = ['umfpack']
70 # amd_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
71 # amd_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
72 # amd_libs = ['amd']
73 # blas_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
74 # blas_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
75 # blas_libs = ['blas']
76
77 # Silo
78 usesilo = 'yes'
79 silo_path = '/usr/local/include/'
80 silo_lib_path = '/usr/local/lib/'
81 silo_libs = ['siloh5', 'hdf5']
82
83 # OpenMP
84 useopenmp = 'yes'
85
86 # MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
87 usempi = 'yes'
88 mpi_path = '/usr/include/mpi'
89 mpi_lib_path = '/usr/lib/openmpi/lib'
90 mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']
91 mpi_flavour = 'OPENMPI'
92
93 # ParMETIS (for use with MPI)
94 #useparmetis = 'yes'
95 #parmetis_path = '/usr/local/include'
96 #parmetis_lib_path = '/usr/local/lib'
97 #parmetis_libs = ['parmetis', 'metis']
98
99 # PAPI
100 # usepapi = 'no'
101 # papi_path = '/usr/include'
102 # papi_lib_path = '/usr/lib'
103 # papi_libs = ['papi']
104 # papi_instrument_solver = 'no'
105

  ViewVC Help
Powered by ViewVC 1.1.26