1 |
|
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 |
# flag the MPI settings |
16 |
# useMPI = 'yes' |
17 |
|
18 |
# TODO: Variables named *_path should be *_include |
19 |
|
20 |
# locations of libs etc used by mkl |
21 |
mkl_path = '/opt/intel/mkl80.019/include' |
22 |
mkl_lib_path ='/opt/intel/mkl80.019/lib/64' |
23 |
mkl_libs = ['mkl_solver', 'mkl_lapack', 'mkl_ipf'] |
24 |
|
25 |
# locations of libs etc used by SCSL |
26 |
scsl_path = '/usr/include' |
27 |
scsl_lib_path = '/usr/lib' |
28 |
scsl_libs = ['scs_mp'] |
29 |
scsl_libs_MPI = [ 'scs', 'mpi' ] |
30 |
|
31 |
# Location of ParMETIS library |
32 |
parmetis_path = '/data/raid2/toolspp4/parmetis/include' |
33 |
parmetis_lib_path = '/data/raid2/toolspp4/parmetis/lib' |
34 |
parmetis_lib = ['parmetis', 'metis'] |
35 |
|
36 |
# locations of include files for python |
37 |
python_path = '/data/raid2/toolspp4/python/2.4.3/gcc-3.3.6/include/python2.4' |
38 |
python_lib_path = '/data/raid2/toolspp4/python/2.4.3/gcc-3.3.6/lib' |
39 |
python_lib = 'python2.4' |
40 |
|
41 |
# locations of libraries for boost |
42 |
boost_path = '/data/raid2/toolspp4/boost/1.33.1/python-2.4.3/gcc-3.3.6/include' |
43 |
boost_lib_path = '/data/raid2/toolspp4/boost/1.33.1/python-2.4.3/gcc-3.3.6/lib' |
44 |
boost_lib = 'boost_python-mt' |
45 |
|
46 |
# locations of doc building executables |
47 |
doxygen_path = '/data/raid2/toolspp4/doxygen/1.4.6/gcc-3.3.6/bin' |
48 |
epydoc_path = '/raid2/tools/epydoc/2.1/python-2.3.4/bin' |
49 |
|
50 |
# locations of netcdf |
51 |
useNetCDF = 'yes' |
52 |
netCDF_path = "/raid2/toolspp4/netcdf/3.6.1/gcc-3.3.6/include" |
53 |
netCDF_lib_path = "/raid2/toolspp4/netcdf/3.6.1/gcc-3.3.6/lib" |
54 |
netCDF_libs = [ 'netcdf_c++', 'netcdf'] |
55 |
|
56 |
# locations of PAPI |
57 |
papi_instrument_solver = 0 |
58 |
# papi_path = '/data/raid2/toolspp4/papi/3.0.8.1/gcc-3.3.6/include' |
59 |
# papi_lib_path = '/data/raid2/toolspp4/papi/3.0.8.1/gcc-3.3.6/lib' |
60 |
# papi_libs = [ 'papi' ] |
61 |
|
62 |
mpi_path = '/usr/include' |
63 |
mpi_lib_path = '/usr/lib' |
64 |
mpi_libs = [ 'mpi' ] |
65 |
mpi_run = 'mpirun -np 1' |
66 |
|
67 |
omp_flags = '-openmp -openmp_report2 ' |
68 |
omp_flags_debug = '-openmp -openmp_report0' |
69 |
|
70 |
# c flags to use |
71 |
cc_flags = "-O3 -ftz -IPF_ftlacc- -IPF_fma -fno-alias -c99 -w1 -wd161 -fpic -ivdep-parallel" |
72 |
cc_flags_debug = '-g -O0 -c99 -w1 -wd161 -fpic' |
73 |
|
74 |
# c++ flags to use |
75 |
cxx_flags = '-ansi -wd161 -DMPI_NO_CPPBIND' |
76 |
cxx_flags_debug = '-ansi -wd161 -DDOASSERT -DDOPROF -DMPI_NO_CPPBIND' |
77 |
|
78 |
# c and c++ flags for MPI compilation |
79 |
# c flags to use |
80 |
cc_flags_MPI = "-O3 -ftz -IPF_ftlacc- -IPF_fma -fno-alias -c99 -w1 -fpic -wd161 -DPASO_MPI -ivdep-parallel" |
81 |
cc_flags_debug_MPI = '-g -O0 -c99 -w1 -fpic -wd161 -DPASO_MPI' |
82 |
|
83 |
# c++ flags to use |
84 |
cxx_flags_MPI = '-ansi -wd1563 -wd161 -DMPI_NO_CPPBIND' |
85 |
cxx_flags_debug_MPI = '-ansi -DDOASSERT -DDOPROF -wd1563 -wd161 -DMPI_NO_CPPBIND' |
86 |
|
87 |
# system specific libraries to link with |
88 |
sys_libs = ['guide', 'irc'] |