9 |
|
|
10 |
# Configuration for Savanna |
# Configuration for Savanna |
11 |
|
|
12 |
# flag the MPI settings |
# MKL |
13 |
# useMPI = 'yes' |
# mkl_path = '/sw/sdev/cmkl/10.0.2.18/include' |
14 |
|
# mkl_lib_path = '/sw/sdev/cmkl/10.0.2.18/lib/em64t' |
15 |
|
# mkl_libs = ['mkl_solver', 'mkl_lapack'] |
16 |
|
|
17 |
|
# ParMETIS |
18 |
|
# parmetis_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/include' |
19 |
|
# parmetis_lib_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/lib' |
20 |
|
# parmetis_lib = ['parmetis', 'metis'] |
21 |
|
|
22 |
|
# Python |
23 |
|
python_path = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/include/python2.4' |
24 |
|
python_lib_path = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/lib' |
25 |
|
python_lib = 'python2.4' |
26 |
|
|
27 |
|
# Boost |
28 |
|
boost_path = '/usr/include/boost' |
29 |
|
boost_lib_path = '/usr/lib64' |
30 |
|
boost_lib = 'boost_python' |
31 |
|
|
32 |
|
# Documentation |
33 |
|
# doxygen_path = '/sw/apps/.../bin' |
34 |
|
# epydoc_path = '/sw/apps/.../bin' |
35 |
|
|
36 |
|
# NetCDF |
37 |
|
useNetCDF = 'yes' |
38 |
|
netCDF_path = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/include' |
39 |
|
netCDF_lib_path = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/lib' |
40 |
|
netCDF_libs = ['netcdf_c++', 'netcdf'] |
41 |
|
|
42 |
# TODO: Variables named *_path should be *_include |
# PAPI |
|
|
|
|
# locations of libs etc used by mkl |
|
|
### mkl_path = '/sw/sdev/cmkl/10.0.2.18/include' |
|
|
### mkl_lib_path = '/sw/sdev/cmkl/10.0.2.18/lib/em64t' |
|
|
### mkl_libs = ['mkl_solver', 'mkl_lapack'] |
|
|
### mkl_libs = ['mkl_solver', 'mkl_lapack', 'mkl_ipf'] # Library mkl_ipf does not exist anymore |
|
|
|
|
|
# locations of libs etc used by SCSL |
|
|
### scsl_path = '/usr/include' |
|
|
### scsl_lib_path = '/usr/lib' |
|
|
### scsl_libs = ['scs_mp'] |
|
|
### scsl_libs_MPI = [ 'scs', 'mpi' ] |
|
|
|
|
|
# Location of ParMETIS library |
|
|
### parmetis_path = '/data/raid2/toolspp4/parmetis/include' |
|
|
### parmetis_lib_path = '/data/raid2/toolspp4/parmetis/lib' |
|
|
### parmetis_lib = ['parmetis', 'metis'] |
|
|
|
|
|
# locations of include files for python |
|
|
python_path = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/include/python2.4' |
|
|
python_lib_path = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/lib' |
|
|
python_lib = 'python2.4' |
|
|
|
|
|
# locations of libraries for boost |
|
|
boost_path = '/usr/include/boost' |
|
|
boost_lib_path = '/usr/lib64' |
|
|
boost_lib = 'boost_python' |
|
|
|
|
|
# locations of doc building executables |
|
|
### doxygen_path = '/data/raid2/toolspp4/doxygen/1.4.6/gcc-3.3.6/bin' |
|
|
### epydoc_path = '/raid2/tools/epydoc/2.1/python-2.3.4/bin' |
|
|
|
|
|
# locations of netcdf |
|
|
useNetCDF = 'yes' |
|
|
netCDF_path = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/include' |
|
|
netCDF_lib_path = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/lib' |
|
|
netCDF_libs = [ 'netcdf_c++', 'netcdf'] |
|
|
|
|
|
# locations of PAPI |
|
43 |
papi_instrument_solver = 0 |
papi_instrument_solver = 0 |
44 |
# papi_path = '/data/raid2/toolspp4/papi/3.0.8.1/gcc-3.3.6/include' |
# papi_path = '/sw/.../include' |
45 |
# papi_lib_path = '/data/raid2/toolspp4/papi/3.0.8.1/gcc-3.3.6/lib' |
# papi_lib_path = '/sw/.../lib' |
46 |
# papi_libs = [ 'papi' ] |
# papi_libs = ['papi'] |
47 |
|
|
48 |
mpi_path = '/usr/include' |
# MPI |
49 |
mpi_lib_path = '/usr/lib64' |
mpi_path = '/usr/include' |
50 |
mpi_libs = [ 'mpi' ] |
mpi_lib_path = '/usr/lib64' |
51 |
mpi_run = 'mpirun -np 1' |
mpi_libs = ['mpi'] |
52 |
|
mpi_run = 'mpirun -np 1' |
53 |
# Change -fno-alias to -fargument-noalias??? |
|
54 |
# -ivdep-parallel is i64 only, not Savanna |
# OpenMP (comment out to disable OpenMP) |
55 |
# Use -ax for vectorization? |
omp_flags = '-openmp -openmp_report0' |
56 |
# -axN and -axW are identical? |
omp_flags_debug = '-openmp -openmp_report0' |
57 |
# -axK not for SSE2 |
|
58 |
|
# C flags (also used by C++) |
59 |
# Which manual has information about the compiler options? |
cc_flags = '-O3 -ansi -fPIC -vec-report0 -ftz -IPF-fltacc- -IPF-fma -fno-alias -DBLOCKTIMER' |
60 |
|
cc_flags_debug = '-g -ansi -fPIC' |
61 |
omp_flags = '-openmp -openmp_report2 ' |
|
62 |
omp_flags_debug = '-openmp -openmp_report0' |
# C++ flags |
63 |
|
cxx_flags = '' |
64 |
# c flags to use |
cxx_flags_debug = '-DDOASSERT -DDOPROF' |
|
cc_flags = '-O3 -ftz -IPF-ftlacc- -IPF-fma -fno-alias -wd161 -fPIC -DBLOCKTIMER' |
|
|
cc_flags_debug = '-g -O0 -wd161 -fPIC -DBLOCKTIMER' |
|
|
|
|
|
# c++ flags to use |
|
|
cxx_flags = '-ansi -wd161 -DMPI_NO_CPPBIND -DBLOCKTIMER' |
|
|
cxx_flags_debug = '-g -ansi -wd161 -DDOASSERT -DDOPROF -DMPI_NO_CPPBIND -fPIC -DBLOCKTIMER' |
|
|
|
|
|
# c and c++ flags for MPI compilation |
|
|
# c flags to use |
|
|
cc_flags_MPI = '-O3 -ftz -IPF-ftlacc- -IPF-fma -fno-alias -wd161 -fPIC -DPASO_MPI -DBLOCKTIMER' |
|
|
cc_flags_debug_MPI = '-g -O0 -wd161 -fPIC -DPASO_MPI -DBLOCKTIMER' |
|
|
|
|
|
# c++ flags to use |
|
|
cxx_flags_MPI = '-ansi -wd1563 -wd161 -DMPI_NO_CPPBIND -DBLOCKTIMER' |
|
|
cxx_flags_debug_MPI = '-ansi -DDOASSERT -DDOPROF -wd1563 -wd161 -DMPI_NO_CPPBIND -DBLOCKTIMER' |
|
65 |
|
|
66 |
# system specific libraries to link with |
# System-specific libraries to link with |
67 |
sys_libs = ['stdc++'] |
sys_libs = ['guide', 'pthread', 'stdc++'] |
68 |
|
|