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

Annotation of /trunk/scons/shake75_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2882 - (hide 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 caltinay 1984
2     ########################################################
3     #
4 jfenwick 2881 # Copyright (c) 2003-2010 by University of Queensland
5 caltinay 1984 # 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 caltinay 2882 cc="gcc-4.4"
17     cxx="g++-4.4"
18 caltinay 1984 # 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 caltinay 2184 # cc_flags = '-ansi'
21     # cc_optim = '-O2'
22     # usedebug = 'no'
23     # cc_debug = '-g'
24     omp_optim = '-fopenmp'
25     omp_debug = ''
26 caltinay 2796 omp_libs = []
27 caltinay 1984
28     # Use the default C/C++ flags but add something only for this host:
29 caltinay 2796 cc_extra = '-Wall -mmmx -msse'
30 caltinay 2184 ld_extra = '-fopenmp'
31 caltinay 1984
32     # Be picky about errors
33 caltinay 2184 # usepedantic = 'no'
34 caltinay 1984
35     # Extra libraries
36 caltinay 2184 # sys_libs = []
37 caltinay 1984
38     # Python libraries
39 caltinay 2184 # python_path = '/usr/lib/python2.5'
40     # python_lib_path = '/usr/lib'
41     # python_libs = 'python2.5'
42     # python_cmd = 'python'
43 caltinay 1984
44     # Boost libraries
45 caltinay 2184 boost_path = '/usr/include/'
46     # boost_lib_path = '/usr/lib'
47 caltinay 2679 boost_libs = ['boost_python']
48 caltinay 1984
49     # Specify whether or not to use VTK
50 caltinay 2184 # usevtk = 'yes'
51 caltinay 1984
52     # NetCDF
53 caltinay 2184 #usenetcdf = 'yes'
54     #netCDF_path = '/usr/include/'
55     #netCDF_lib_path = '/usr/lib/'
56     #netCDF_libs = ['netcdf_c++', 'netcdf']
57 caltinay 1984
58     # MKL
59 caltinay 2184 # 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 caltinay 1984
64     # UMFPACK (requires AMD and BLAS)
65 caltinay 2679 useumfpack = 'yes'
66 caltinay 2184 # 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 caltinay 1984
77 caltinay 2184 # Silo
78     usesilo = 'yes'
79     silo_path = '/usr/local/include/'
80     silo_lib_path = '/usr/local/lib/'
81     silo_libs = ['siloh5', 'hdf5']
82    
83 caltinay 1984 # OpenMP
84 caltinay 2184 useopenmp = 'yes'
85 caltinay 1984
86     # MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
87 caltinay 2184 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 caltinay 2394 mpi_flavour = 'OPENMPI'
92 caltinay 1984
93     # ParMETIS (for use with MPI)
94 caltinay 2184 #useparmetis = 'yes'
95     #parmetis_path = '/usr/local/include'
96     #parmetis_lib_path = '/usr/local/lib'
97     #parmetis_libs = ['parmetis', 'metis']
98 caltinay 1984
99     # PAPI
100 caltinay 2184 # usepapi = 'no'
101     # papi_path = '/usr/include'
102     # papi_lib_path = '/usr/lib'
103     # papi_libs = ['papi']
104     # papi_instrument_solver = 'no'
105 caltinay 1984

  ViewVC Help
Powered by ViewVC 1.1.26