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

Annotation of /trunk/scons/shake75_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2968 - (hide annotations)
Wed Mar 3 04:02:30 2010 UTC (9 years, 11 months ago) by caltinay
File MIME type: text/x-python
File size: 3261 byte(s)
Updated service0 & shake75 options to use cxx_extra

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 2968 #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 2968 cxx_extra = '-Wall -mmmx -msse'
31 caltinay 2184 ld_extra = '-fopenmp'
32 caltinay 1984
33     # Be picky about errors
34 caltinay 2184 # usepedantic = 'no'
35 caltinay 1984
36     # Extra libraries
37 caltinay 2184 # sys_libs = []
38 caltinay 1984
39     # Python libraries
40 caltinay 2184 # python_path = '/usr/lib/python2.5'
41     # python_lib_path = '/usr/lib'
42     # python_libs = 'python2.5'
43     # python_cmd = 'python'
44 caltinay 1984
45     # Boost libraries
46 caltinay 2184 boost_path = '/usr/include/'
47     # boost_lib_path = '/usr/lib'
48 caltinay 2679 boost_libs = ['boost_python']
49 caltinay 1984
50     # Specify whether or not to use VTK
51 caltinay 2184 # usevtk = 'yes'
52 caltinay 1984
53     # NetCDF
54 caltinay 2184 #usenetcdf = 'yes'
55     #netCDF_path = '/usr/include/'
56     #netCDF_lib_path = '/usr/lib/'
57     #netCDF_libs = ['netcdf_c++', 'netcdf']
58 caltinay 1984
59     # MKL
60 caltinay 2184 # usemkl = 'yes'
61     # mkl_path = '/usr/include'
62     # mkl_lib_path = '/usr/lib'
63     # mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
64 caltinay 1984
65     # UMFPACK (requires AMD and BLAS)
66 caltinay 2679 useumfpack = 'yes'
67 caltinay 2184 # ufc_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
68     # umf_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
69     # umf_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
70     # umf_libs = ['umfpack']
71     # amd_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
72     # amd_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
73     # amd_libs = ['amd']
74     # blas_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
75     # blas_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
76     # blas_libs = ['blas']
77 caltinay 1984
78 caltinay 2184 # Silo
79     usesilo = 'yes'
80     silo_path = '/usr/local/include/'
81     silo_lib_path = '/usr/local/lib/'
82     silo_libs = ['siloh5', 'hdf5']
83    
84 caltinay 1984 # OpenMP
85 caltinay 2184 useopenmp = 'yes'
86 caltinay 1984
87     # MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
88 caltinay 2184 usempi = 'yes'
89     mpi_path = '/usr/include/mpi'
90     mpi_lib_path = '/usr/lib/openmpi/lib'
91     mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']
92 caltinay 2394 mpi_flavour = 'OPENMPI'
93 caltinay 1984
94     # ParMETIS (for use with MPI)
95 caltinay 2184 #useparmetis = 'yes'
96     #parmetis_path = '/usr/local/include'
97     #parmetis_lib_path = '/usr/local/lib'
98     #parmetis_libs = ['parmetis', 'metis']
99 caltinay 1984
100     # PAPI
101 caltinay 2184 # usepapi = 'no'
102     # papi_path = '/usr/include'
103     # papi_lib_path = '/usr/lib'
104     # papi_libs = ['papi']
105     # papi_instrument_solver = 'no'
106 caltinay 1984

  ViewVC Help
Powered by ViewVC 1.1.26