/[escript]/branches/domexper/scons/badger_options.py
ViewVC logotype

Contents of /branches/domexper/scons/badger_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3189 - (show annotations)
Thu Sep 16 05:20:34 2010 UTC (8 years, 8 months ago) by jfenwick
File MIME type: text/x-python
File size: 3527 byte(s)
Adding support for selective compiling with loop unroll

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 shake63 (32-bit Intel running Fedora Linux)
16
17 # If you cannot use the default compiler flags set in SConstruct, then change them here
18 # C/C++ Compiler flags (always use cc_flags and either cc_optim or cc_debug)
19 # cc_flags = '-ansi'
20 # cc_optim = '-O2'
21 # cc_debug = '-g'
22 omp_optim = '-fopenmp'
23 omp_debug = '-fopenmp'
24 omp_libs = ['gomp']
25
26 # Use the default C/C++ flags but add something only for this host:
27 #cc_extra = '-Wall -pedantic -isystem /usr/include/boost/ -isystem /usr/include/python2.5/ -Wno-sign-compare -Wno-long-long'
28 #cc_extra = '-fopenmp'
29 # ld_extra = ''
30 cc_extra = ' -std=c99'
31
32
33 dudley_assemble_flags = '-funroll-loops'
34
35 # Be picky about errors
36 # usepedantic = 'no'
37
38 # Extra libraries
39 # sys_libs = ['guide', 'pthread', 'stdc++']
40
41 # Python libraries
42 python_path = '/usr/include/python2.5'
43 python_lib_path = ''
44 python_libs = 'python2.5'
45 # python_cmd = 'python'
46
47 # Boost libraries
48 boost_path = '/usr/include/'
49 boost_lib_path = ''
50 boost_libs = ['boost_python']
51
52 # Specify whether or not to use VTK
53 # usevtk = 'yes'
54
55 # NetCDF
56 # usenetcdf = 'yes'
57 netCDF_path = '/usr/include/netcdf-3'
58 netCDF_lib_path = ''
59 # netCDF_libs = ['netcdf_c++', 'netcdf']
60
61 # MKL
62 # usemkl = 'yes'
63 # mkl_path = '/sw/sdev/cmkl/10.0.2.18/include'
64 # mkl_lib_path = '/sw/sdev/cmkl/10.0.2.18/lib/em64t'
65 # mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
66
67 # UMFPACK (requires AMD and BLAS)
68 # useumfpack = 'yes'
69 # ufc_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
70 # umf_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
71 # umf_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
72 # umf_libs = ['umfpack']
73 # amd_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
74 # amd_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
75 # amd_libs = ['amd']
76 # blas_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
77 # blas_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
78 # blas_libs = ['blas']
79
80 #Lapack
81 uselapack = 'yes'
82 lapack_path = ''#'/usr/include'
83 lapack_lib_path = ''#'/usr/lib/atlas'
84 lapack_libs = ['lapack-3','blas-3']
85 lapack_type = 'clapack'
86
87 # OpenMP
88 #useopenmp = 'yes'
89
90 # MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
91 # usempi = 'no'
92 # mpi_path = '/home/Work/InstallArea/mpich2-1.0.7/include'
93 # mpi_lib_path = '/home/Work/InstallArea/mpich2-1.0.7/lib'
94 # mpi_libs = ['mpich', 'rt']
95 # mpi_flavour = "MPICH"
96
97 # MPICH2 for jumpshot (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
98 # mpi_path = '/home/Work/InstallArea/mpich2-1.0.7/include'
99 # mpi_lib_path = '/home/Work/InstallArea/mpich2-1.0.7/lib'
100 # mpi_libs = ['lmpe', 'mpe', 'mpich', 'rt']
101 # mpi_flavour = "MPICH"
102
103 # ParMETIS (for use with MPI)
104 # useparmetis = 'yes'
105 # parmetis_path = '/home/Work/InstallArea/parmetis-3.1/include'
106 # parmetis_lib_path = '/home/Work/InstallArea/parmetis-3.1/lib'
107 # parmetis_libs = ['parmetis', 'metis']
108
109 # PAPI
110 # usepapi = 'no'
111 # papi_path = '/usr/include'
112 # papi_lib_path = '/usr/lib'
113 # papi_libs = ['papi']
114 # papi_instrument_solver = 'no'
115

Properties

Name Value
svn:mergeinfo /branches/lapack2681/scons/badger_options.py:2682-2741 /branches/restext/scons/badger_options.py:2610-2624

  ViewVC Help
Powered by ViewVC 1.1.26