7 |
# http://www.opensource.org/licenses/osl-3.0.php |
# http://www.opensource.org/licenses/osl-3.0.php |
8 |
# |
# |
9 |
|
|
10 |
# Configuration for Savanna (SGI ICE 8200) |
# Configuration for Savanna (SGI ICE 8200 running SUSE Linux) |
11 |
|
|
12 |
# ParMETIS |
# If you cannot use the default compiler flags set in SConstruct, then change them here |
13 |
# parmetis_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/include' |
# C/C++ Compiler flags (always use cc_flags and either cc_optim or cc_debug) |
14 |
# parmetis_lib_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/lib' |
# cc_flags = '-ansi' |
15 |
# parmetis_lib = ['parmetis', 'metis'] |
# cc_optim = '-O2' |
16 |
|
# cc_debug = '-g' |
17 |
|
# omp_optim = '-openmp' |
18 |
|
# omp_debug = '-openmp' |
19 |
|
# omp_libs = ['guide'] |
20 |
|
|
21 |
|
# Use the default C/C++ flags but add something only for this host: |
22 |
|
# cc_extra = '' |
23 |
|
|
24 |
|
# Be picky about errors |
25 |
|
# usepedantic = 'no' |
26 |
|
|
27 |
# Python |
# Extra libraries |
28 |
|
# sys_libs = [] |
29 |
|
|
30 |
|
# Python libraries |
31 |
python_path = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/include/python2.4' |
python_path = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/include/python2.4' |
32 |
python_lib_path = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/lib' |
python_lib_path = '/sw/apps/python/x86_64/gcc-4.1.2/python-2.4.4/lib' |
33 |
python_lib = 'python2.4' |
# python_libs = ['python2.4'] |
34 |
|
# python_cmd = 'python' |
35 |
|
|
36 |
# Boost |
# Boost libraries |
37 |
boost_path = '/sw/libs/boost/x86_64/gcc-4.1.2/python-2.4.4/boost_1_33/include/boost-1_33' |
boost_path = '/sw/libs/boost/x86_64/gcc-4.1.2/python-2.4.4/boost_1_33/include/boost-1_33' |
38 |
boost_lib_path = '/sw/libs/boost/x86_64/gcc-4.1.2/python-2.4.4/boost_1_33/lib' |
boost_lib_path = '/sw/libs/boost/x86_64/gcc-4.1.2/python-2.4.4/boost_1_33/lib' |
39 |
boost_lib = 'boost_python-gcc' |
# boost_libs = ['boost_python-gcc'] |
40 |
|
|
41 |
# Documentation |
# Specify whether or not to use VTK |
42 |
# doxygen_path = '/sw/apps/.../bin' |
# usevtk = 'yes' |
|
# epydoc_path = '/sw/apps/.../bin' |
|
43 |
|
|
44 |
# NetCDF |
# NetCDF |
45 |
useNetCDF = 'yes' |
# usenetcdf = 'yes' |
46 |
netCDF_path = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/include' |
# netCDF_path = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/include' |
47 |
netCDF_lib_path = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/lib' |
# netCDF_lib_path = '/sw/libs/netcdf/x86_64/gcc-4.1.2/netcdf-3.6.2/lib' |
48 |
netCDF_libs = ['netcdf_c++', 'netcdf'] |
# netCDF_libs = ['netcdf_c++', 'netcdf'] |
49 |
|
|
50 |
|
# MKL |
51 |
|
# usemkl = 'yes' |
52 |
|
# mkl_path = '/sw/sdev/cmkl/10.0.2.18/include' |
53 |
|
# mkl_lib_path = '/sw/sdev/cmkl/10.0.2.18/lib/em64t' |
54 |
|
# mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread'] |
55 |
|
|
56 |
|
# UMFPACK (requires AMD and BLAS) |
57 |
|
# useumfpack = 'yes' |
58 |
|
ufc_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include' |
59 |
|
umf_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include' |
60 |
|
umf_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib' |
61 |
|
# umf_libs = ['umfpack'] |
62 |
|
# amd_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include' |
63 |
|
# amd_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib' |
64 |
|
# amd_libs = ['amd'] |
65 |
|
# blas_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include' |
66 |
|
# blas_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib' |
67 |
|
# blas_libs = ['blas'] |
68 |
|
|
69 |
|
# OpenMP |
70 |
|
# useopenmp = 'yes' |
71 |
|
|
72 |
# MPI MPT (no module load required) |
# MPI MPT (no module load required) |
73 |
|
# usempi = 'no' |
74 |
# mpi_path = '/usr/include' |
# mpi_path = '/usr/include' |
75 |
# mpi_lib_path = '/usr/lib64' |
# mpi_lib_path = '/usr/lib64' |
76 |
# mpi_libs = ['mpi'] |
mpi_libs = ['mpi'] |
77 |
# mpi_run = 'mpirun -np 1' |
# mpi_run = 'mpirun -np 1' |
78 |
|
|
79 |
# MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7) |
# MPICH2 (to run Escript use: module load mpich2/gcc-4.1.2/mpich2-1.0.7) |
106 |
# mpi_libs = ['mpi'] |
# mpi_libs = ['mpi'] |
107 |
# mpi_run = 'mpirun -np 1' |
# mpi_run = 'mpirun -np 1' |
108 |
|
|
109 |
|
# ParMETIS (for use with MPI) |
110 |
|
# useparmetis = 'yes' |
111 |
|
# parmetis_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/include' |
112 |
|
# parmetis_lib_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/lib' |
113 |
|
# parmetis_libs = ['parmetis', 'metis'] |
114 |
|
|
115 |
# PAPI |
# PAPI |
116 |
papi_instrument_solver = 0 |
# usepapi = 'no' |
117 |
# papi_path = '/sw/.../include' |
# papi_path = '/usr/include' |
118 |
# papi_lib_path = '/sw/.../lib' |
# papi_lib_path = '/usr/lib64' |
119 |
# papi_libs = ['papi'] |
# papi_libs = ['papi'] |
120 |
|
# papi_instrument_solver = 'no' |
|
# 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'] |
|
|
|
|
|
# OpenMP (comment out to disable OpenMP) |
|
|
omp_flags = '-openmp -openmp_report0' |
|
|
omp_flags_debug = '-openmp -openmp_report0' |
|
|
|
|
|
# C flags (also used by C++) |
|
|
cc_flags = '-O3 -ansi -fPIC -vec-report0 -ftz -IPF-fltacc- -IPF-fma -fno-alias -DBLOCKTIMER -UPASO_DYNAMIC_SCHEDULING_MVM -DCORE_ID1' |
|
|
cc_flags_debug = '-g -ansi -fPIC' |
|
|
|
|
|
# C++ flags |
|
|
cxx_flags = '' |
|
|
cxx_flags_debug = '-DDOASSERT -DDOPROF' # -D... here is not recognized by scons as dependencies |
|
|
|
|
|
# System-specific libraries to link with |
|
|
sys_libs = ['guide', 'pthread', 'stdc++'] |
|
121 |
|
|