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

Annotation of /trunk/scons/badger_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2742 - (hide annotations)
Thu Nov 12 06:03:37 2009 UTC (9 years, 8 months ago) by jfenwick
File MIME type: text/x-python
File size: 3499 byte(s)
Merging changes from the lapack branch.

The inverse() operation has been moved into c++. [No lazy support for this operation yet.]
Optional Lapack support has been added for matrices larger than 3x3. 
service0 is set to use mkl_lapack.



1 jfenwick 1690
2 ksteube 1810 ########################################################
3 jfenwick 1690 #
4 jfenwick 2548 # Copyright (c) 2003-2009 by University of Queensland
5 ksteube 1810 # Earth Systems Science Computational Center (ESSCC)
6     # http://www.uq.edu.au/esscc
7 jfenwick 1690 #
8 ksteube 1810 # 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 jfenwick 1690
14 ksteube 1810
15 ksteube 1705 # Configuration for shake63 (32-bit Intel running Fedora Linux)
16 jfenwick 1690
17 ksteube 1705 # 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 jfenwick 2286 omp_optim = '-fopenmp'
23     omp_debug = '-fopenmp'
24     omp_libs = ['gomp']
25 ksteube 1705
26     # Use the default C/C++ flags but add something only for this host:
27 jfenwick 2026 #cc_extra = '-Wall -pedantic -isystem /usr/include/boost/ -isystem /usr/include/python2.5/ -Wno-sign-compare -Wno-long-long'
28 jfenwick 2286 #cc_extra = '-fopenmp'
29 ksteube 1771 # ld_extra = ''
30 jfenwick 2455 cc_extra = ''
31 ksteube 1705
32     # Be picky about errors
33     # usepedantic = 'no'
34    
35     # Extra libraries
36     # sys_libs = ['guide', 'pthread', 'stdc++']
37    
38     # Python libraries
39 jfenwick 1690 python_path = '/usr/include/python2.5'
40     python_lib_path = '/usr/lib'
41 ksteube 1705 python_libs = 'python2.5'
42     # python_cmd = 'python'
43 jfenwick 1690
44 ksteube 1705 # Boost libraries
45     boost_path = '/usr/include/'
46     boost_lib_path = '/usr/lib'
47     boost_libs = ['boost_python']
48 jfenwick 1690
49 ksteube 1705 # Specify whether or not to use VTK
50     # usevtk = 'yes'
51    
52 jfenwick 1690 # NetCDF
53 ksteube 1705 # usenetcdf = 'yes'
54 jfenwick 1690 netCDF_path = '/usr/include/netcdf-3'
55     netCDF_lib_path = '/usr/lib'
56 ksteube 1705 # netCDF_libs = ['netcdf_c++', 'netcdf']
57 jfenwick 1690
58 ksteube 1705 # MKL
59     # usemkl = 'yes'
60     # mkl_path = '/sw/sdev/cmkl/10.0.2.18/include'
61     # mkl_lib_path = '/sw/sdev/cmkl/10.0.2.18/lib/em64t'
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 jfenwick 2742 #Lapack
78     uselapack = 'yes'
79     lapack_path = ''#'/usr/include'
80     lapack_lib_path = ''#'/usr/lib/atlas'
81     lapack_libs = ['lapack-3','blas-3']
82     lapack_type = 'clapack'
83    
84 ksteube 1705 # OpenMP
85 jfenwick 2286 #useopenmp = 'yes'
86 ksteube 1705
87     # MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
88 ksteube 1771 # usempi = 'no'
89 ksteube 1705 # mpi_path = '/home/Work/InstallArea/mpich2-1.0.7/include'
90     # mpi_lib_path = '/home/Work/InstallArea/mpich2-1.0.7/lib'
91 jfenwick 1690 # mpi_libs = ['mpich', 'rt']
92 gross 2363 # mpi_flavour = "MPICH"
93 jfenwick 1690
94 ksteube 1705 # MPICH2 for jumpshot (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
95     # mpi_path = '/home/Work/InstallArea/mpich2-1.0.7/include'
96     # mpi_lib_path = '/home/Work/InstallArea/mpich2-1.0.7/lib'
97     # mpi_libs = ['lmpe', 'mpe', 'mpich', 'rt']
98 gross 2363 # mpi_flavour = "MPICH"
99 jfenwick 1690
100 ksteube 1705 # ParMETIS (for use with MPI)
101     # useparmetis = 'yes'
102     # parmetis_path = '/home/Work/InstallArea/parmetis-3.1/include'
103     # parmetis_lib_path = '/home/Work/InstallArea/parmetis-3.1/lib'
104     # parmetis_libs = ['parmetis', 'metis']
105    
106     # PAPI
107     # usepapi = 'no'
108     # papi_path = '/usr/include'
109     # papi_lib_path = '/usr/lib'
110     # papi_libs = ['papi']
111     # papi_instrument_solver = 'no'
112    

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