1 |
|
2 |
######################################################## |
3 |
# |
4 |
# Copyright (c) 2003-2009 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 rodinia (64-bit desktop system running Ubuntu Linux) |
16 |
|
17 |
import os |
18 |
ESCRIPT_ROOT = '/home/Work/InstallArea' |
19 |
|
20 |
# If you cannot use the default compiler flags set in SConstruct, then change them here |
21 |
# C/C++ Compiler flags (always use cc_flags and either cc_optim or cc_debug) |
22 |
# cc_flags = '-ansi' |
23 |
# cc_optim = '-O2' |
24 |
# cc_debug = '-g' |
25 |
# omp_optim = '-openmp' |
26 |
# omp_debug = '-openmp' |
27 |
# omp_libs = [] |
28 |
|
29 |
# usedebug = 'yes' |
30 |
|
31 |
# Use the default C/C++ flags but add something only for this host: |
32 |
# cc_extra = '' |
33 |
# ld_extra = '' |
34 |
|
35 |
# Be picky about errors |
36 |
usepedantic = 'yes' |
37 |
|
38 |
# Extra libraries |
39 |
# sys_libs = [] |
40 |
|
41 |
# Python libraries |
42 |
python_path = ESCRIPT_ROOT + '/python-2.4.4/include/python2.4' |
43 |
python_lib_path = ESCRIPT_ROOT + '/python-2.4.4/lib' |
44 |
python_libs = 'python2.4' |
45 |
python_cmd = 'python' |
46 |
|
47 |
# Boost libraries |
48 |
boost_path = ESCRIPT_ROOT + '/boost_1_35_0/include/boost-1_35' |
49 |
boost_lib_path = ESCRIPT_ROOT + '/boost_1_35_0/lib' |
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 = ESCRIPT_ROOT + '/netcdf-3.6.2/include' |
58 |
netCDF_lib_path = ESCRIPT_ROOT + '/netcdf-3.6.2/lib' |
59 |
netCDF_libs = ['netcdf_c++', 'netcdf'] |
60 |
|
61 |
# OpenMP |
62 |
useopenmp = 'no' |
63 |
|
64 |
# MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7) |
65 |
usempi = 'no' |
66 |
mpi_path = ESCRIPT_ROOT + '/mpich2-1.0.7/include' |
67 |
mpi_lib_path = ESCRIPT_ROOT + '/mpich2-1.0.7/lib' |
68 |
mpi_libs = ['mpich', 'rt'] |
69 |
mpi_flavour = 'MPICH' |
70 |
|
71 |
# MPICH2 for jumpshot (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7) |
72 |
# usempi = 'no' |
73 |
# mpi_path = ESCRIPT_ROOT + '/mpich2-1.0.7/include' |
74 |
# mpi_lib_path = ESCRIPT_ROOT + '/mpich2-1.0.7/lib' |
75 |
# mpi_libs = ['lmpe', 'mpe', 'mpich', 'rt'] |
76 |
# mpi_flavour = 'MPICH' |
77 |
|
78 |
# ParMETIS (for use with MPI) |
79 |
useparmetis = 'yes' |
80 |
parmetis_path = ESCRIPT_ROOT + '/parmetis-3.1/include' |
81 |
parmetis_lib_path = ESCRIPT_ROOT + '/parmetis-3.1/lib' |
82 |
parmetis_libs = ['parmetis', 'metis'] |
83 |
|
84 |
# PAPI |
85 |
# usepapi = 'no' |
86 |
# papi_path = '/usr/include' |
87 |
# papi_lib_path = '/usr/lib' |
88 |
# papi_libs = ['papi'] |
89 |
# papi_instrument_solver= 'no' |
90 |
|