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

Annotation of /trunk/scons/shake75_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2363 - (hide annotations)
Fri Apr 3 03:56:19 2009 UTC (10 years, 5 months ago) by gross
File MIME type: text/x-python
File size: 3203 byte(s)
scons should now be able to run tests under MPI and OpenMP
1 caltinay 1984
2     ########################################################
3     #
4     # Copyright (c) 2003-2008 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 shake75 (32-bit Intel Core 2 running Debian 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 caltinay 2184 # cc_flags = '-ansi'
20     # cc_optim = '-O2'
21     # usedebug = 'no'
22     # cc_debug = '-g'
23     omp_optim = '-fopenmp'
24     omp_debug = ''
25     # omp_libs = []
26 caltinay 1984
27     # Use the default C/C++ flags but add something only for this host:
28 caltinay 2184 cc_extra = '-Wall -mmmx -msse3'
29     ld_extra = '-fopenmp'
30 caltinay 1984
31     # Be picky about errors
32 caltinay 2184 # usepedantic = 'no'
33 caltinay 1984
34     # Extra libraries
35 caltinay 2184 # sys_libs = []
36 caltinay 1984
37     # Python libraries
38 caltinay 2184 # python_path = '/usr/lib/python2.5'
39     # python_lib_path = '/usr/lib'
40     # python_libs = 'python2.5'
41     # python_cmd = 'python'
42 caltinay 1984
43     # Boost libraries
44 caltinay 2184 boost_path = '/usr/include/'
45     # boost_lib_path = '/usr/lib'
46     boost_libs = ['boost_python-mt']
47 caltinay 1984
48     # Specify whether or not to use VTK
49 caltinay 2184 # usevtk = 'yes'
50 caltinay 1984
51     # NetCDF
52 caltinay 2184 #usenetcdf = 'yes'
53     #netCDF_path = '/usr/include/'
54     #netCDF_lib_path = '/usr/lib/'
55     #netCDF_libs = ['netcdf_c++', 'netcdf']
56 caltinay 1984
57     # MKL
58 caltinay 2184 # usemkl = 'yes'
59     # mkl_path = '/usr/include'
60     # mkl_lib_path = '/usr/lib'
61     # mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
62 caltinay 1984
63     # UMFPACK (requires AMD and BLAS)
64 caltinay 2184 # useumfpack = 'yes'
65     # ufc_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
66     # umf_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
67     # umf_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
68     # umf_libs = ['umfpack']
69     # amd_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
70     # amd_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
71     # amd_libs = ['amd']
72     # blas_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include'
73     # blas_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib'
74     # blas_libs = ['blas']
75 caltinay 1984
76 caltinay 2184 # Silo
77     usesilo = 'yes'
78     silo_path = '/usr/local/include/'
79     silo_lib_path = '/usr/local/lib/'
80     silo_libs = ['siloh5', 'hdf5']
81    
82 caltinay 1984 # OpenMP
83 caltinay 2184 useopenmp = 'yes'
84 caltinay 1984
85     # MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7)
86 caltinay 2184 usempi = 'yes'
87     mpi_path = '/usr/include/mpi'
88     mpi_lib_path = '/usr/lib/openmpi/lib'
89     mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']
90 gross 2363 mpi_flavour = 'MPICH'
91 caltinay 1984
92     # ParMETIS (for use with MPI)
93 caltinay 2184 #useparmetis = 'yes'
94     #parmetis_path = '/usr/local/include'
95     #parmetis_lib_path = '/usr/local/lib'
96     #parmetis_libs = ['parmetis', 'metis']
97 caltinay 1984
98     # PAPI
99 caltinay 2184 # usepapi = 'no'
100     # papi_path = '/usr/include'
101     # papi_lib_path = '/usr/lib'
102     # papi_libs = ['papi']
103     # papi_instrument_solver = 'no'
104 caltinay 1984

  ViewVC Help
Powered by ViewVC 1.1.26