/[escript]/branches/arrexp_2137_win_merge/scons/shake24_options.py
ViewVC logotype

Annotation of /branches/arrexp_2137_win_merge/scons/shake24_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2266 - (hide annotations)
Thu Feb 12 03:42:56 2009 UTC (10 years, 4 months ago) by jfenwick
File MIME type: text/x-python
File size: 2782 byte(s)
Bringing branch up to trunk version 2265.
Passes unit tests for OMP=1 and OMP=8.
1 ksteube 1662
2 ksteube 1810 ########################################################
3 ksteube 1662 #
4 ksteube 1810 # Copyright (c) 2003-2008 by University of Queensland
5     # Earth Systems Science Computational Center (ESSCC)
6     # http://www.uq.edu.au/esscc
7 ksteube 1662 #
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 ksteube 1662
14 ksteube 1810
15 ksteube 1705 # Configuration for shake24 (MacOS Darwin)
16 ksteube 1662
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 2266 omp_optim = '-fopenmp'
23     omp_debug = '-fopenmp'
24 ksteube 1705 # omp_libs = ['guide']
25    
26     # Use the default C/C++ flags but add something only for this host:
27 jfenwick 2214 cc_extra = '-Wno-long-long'
28 artak 2034 #cc_extra = '-pedantic -isystem /usr/include/python2.5/ -Wall'
29 jfenwick 2266 ld_extra = '-fopenmp'
30 ksteube 1705
31     # Be picky about errors
32     usepedantic = 'no'
33    
34     # Extra libraries
35     # sys_libs = []
36    
37     # Python libraries
38 ksteube 1662 python_path = '/usr/include/python2.5'
39     python_lib_path = '/usr/lib'
40 ksteube 1705 # python_libs = ['python2.5']
41     # python_cmd = 'python'
42 ksteube 1662
43 ksteube 1705 # Boost libraries
44 jfenwick 2214 boost_path = '/opt/local/include/boost-1_35/'
45 ksteube 1705 boost_lib_path = '/opt/local/lib'
46     boost_libs = ['boost_python']
47 ksteube 1662
48 ksteube 1705 # Specify whether or not to use VTK
49 artak 1902 usevtk = 'yes'
50 ksteube 1705
51 ksteube 1662 # NetCDF
52 artak 1954 usenetcdf = 'yes'
53 artak 1692 netCDF_path = '/opt/local/include'
54     netCDF_lib_path = '/opt/local/lib'
55 ksteube 1705 # netCDF_libs = ['netcdf_c++', 'netcdf']
56 ksteube 1662
57 ksteube 1705 # MKL
58     # usemkl = 'yes'
59     # mkl_path = '/sw/sdev/cmkl/10.0.2.18/include'
60     # mkl_lib_path = '/sw/sdev/cmkl/10.0.2.18/lib/em64t'
61     # mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
62 ksteube 1662
63 ksteube 1705 # UMFPACK (requires AMD and BLAS)
64 artak 1954 useumfpack = 'yes'
65     ufc_path = '/opt/local/include/umfpack-5.0.3/Include'
66     umf_path = '/opt/local/include/umfpack-5.0.3/Include'
67     umf_lib_path = '/opt/local/include/umfpack-5.0.3/Lib'
68     umf_libs = ['umfpack']
69     amd_path = '/opt/local/include/umfpack-5.0.3/Include'
70     amd_lib_path = '/opt/local/include/umfpack-5.0.3/Lib'
71     amd_libs = ['amd']
72     blas_path = '/opt/local/include/umfpack-5.0.3/Include'
73     blas_lib_path = '/opt/local/include/umfpack-5.0.3/Lib'
74     blas_libs = ['blas']
75 ksteube 1662
76 ksteube 1705 # OpenMP
77 jfenwick 2266 useopenmp = 'yes'
78 ksteube 1705
79     # MPI MPT (no module load required)
80     # usempi = 'no'
81     # mpi_path = '/usr/include'
82     # mpi_lib_path = '/usr/lib64'
83     # mpi_libs = ['mpi']
84     # mpi_run = 'mpirun -np 1'
85    
86     # ParMETIS (for use with MPI)
87     # useparmetis = 'yes'
88     # parmetis_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/include'
89     # parmetis_lib_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/lib'
90     # parmetis_libs = ['parmetis', 'metis']
91    
92     # PAPI
93     # usepapi = 'no'
94     # papi_path = '/usr/include'
95     # papi_lib_path = '/usr/lib64'
96     # papi_libs = ['papi']
97     # papi_instrument_solver = 'no'
98    

  ViewVC Help
Powered by ViewVC 1.1.26