1 |
|
|
2 |
# Copyright 2006 by ACcESS MNRF |
######################################################## |
3 |
# |
# |
4 |
# http://www.access.edu.au |
# Copyright (c) 2003-2008 by University of Queensland |
5 |
# Primary Business: Queensland, Australia |
# Earth Systems Science Computational Center (ESSCC) |
6 |
# Licensed under the Open Software License version 3.0 |
# http://www.uq.edu.au/esscc |
|
# http://www.opensource.org/licenses/osl-3.0.php |
|
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 Savanna (SGI ICE 8200 running SUSE 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 |
|
# cc_flags = '-ansi' |
20 |
|
# cc_optim = '-O2' |
21 |
|
# cc_debug = '-g' |
22 |
|
# omp_optim = '-openmp' |
23 |
|
# omp_debug = '-openmp' |
24 |
|
# omp_libs = ['guide'] |
25 |
|
|
26 |
|
# Use the default C/C++ flags but add something only for this host: |
27 |
|
# cc_extra = '' |
28 |
|
ld_extra = '-shared-intel' # Fix warning about feupdate in icc v10 |
29 |
|
|
30 |
# Configuration for Savanna (SGI ICE 8200) |
# Be picky about errors |
31 |
|
# usepedantic = 'no' |
32 |
|
|
33 |
# ParMETIS |
# Extra libraries |
34 |
# parmetis_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/include' |
# sys_libs = [] |
|
# parmetis_lib_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/lib' |
|
|
# parmetis_lib = ['parmetis', 'metis'] |
|
35 |
|
|
36 |
# Python |
# Python libraries |
37 |
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' |
38 |
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' |
39 |
python_lib = 'python2.4' |
# python_libs = ['python2.4'] |
40 |
|
# python_cmd = 'python' |
41 |
|
|
42 |
# Boost |
# Boost libraries |
43 |
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' |
44 |
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' |
45 |
boost_lib = 'boost_python-gcc' |
# boost_libs = ['boost_python-gcc'] |
46 |
|
|
47 |
# Documentation |
# Specify whether or not to use VTK |
48 |
# doxygen_path = '/sw/apps/.../bin' |
# usevtk = 'yes' |
|
# epydoc_path = '/sw/apps/.../bin' |
|
49 |
|
|
50 |
# NetCDF |
# NetCDF |
51 |
useNetCDF = 'yes' |
# usenetcdf = 'yes' |
52 |
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' |
53 |
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' |
54 |
netCDF_libs = ['netcdf_c++', 'netcdf'] |
# netCDF_libs = ['netcdf_c++', 'netcdf'] |
55 |
|
|
56 |
|
# MKL |
57 |
|
# usemkl = 'yes' |
58 |
|
# mkl_path = '/sw/sdev/cmkl/10.0.2.18/include' |
59 |
|
# mkl_lib_path = '/sw/sdev/cmkl/10.0.2.18/lib/em64t' |
60 |
|
# mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread'] |
61 |
|
|
62 |
|
# UMFPACK (requires AMD and BLAS) |
63 |
|
# useumfpack = 'yes' |
64 |
|
# ufc_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include' |
65 |
|
# umf_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include' |
66 |
|
# umf_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib' |
67 |
|
# umf_libs = ['umfpack'] |
68 |
|
# amd_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include' |
69 |
|
# amd_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib' |
70 |
|
# amd_libs = ['amd'] |
71 |
|
# blas_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include' |
72 |
|
# blas_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib' |
73 |
|
# blas_libs = ['blas'] |
74 |
|
|
75 |
|
# OpenMP |
76 |
|
# useopenmp = 'yes' |
77 |
|
|
78 |
# MPI MPT (no module load required) |
# MPI MPT (no module load required) |
79 |
|
# usempi = 'no' |
80 |
# mpi_path = '/usr/include' |
# mpi_path = '/usr/include' |
81 |
# mpi_lib_path = '/usr/lib64' |
# mpi_lib_path = '/usr/lib64' |
82 |
# mpi_libs = ['mpi'] |
mpi_libs = ['mpi'] |
83 |
# mpi_run = 'mpirun -np 1' |
# mpi_run = 'mpirun -np 1' |
84 |
|
|
85 |
# 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) |
112 |
# mpi_libs = ['mpi'] |
# mpi_libs = ['mpi'] |
113 |
# mpi_run = 'mpirun -np 1' |
# mpi_run = 'mpirun -np 1' |
114 |
|
|
115 |
|
# ParMETIS (for use with MPI) |
116 |
|
# useparmetis = 'yes' |
117 |
|
parmetis_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/include' |
118 |
|
parmetis_lib_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/lib' |
119 |
|
# parmetis_libs = ['parmetis', 'metis'] |
120 |
|
|
121 |
# PAPI |
# PAPI |
122 |
papi_instrument_solver = 0 |
# usepapi = 'no' |
123 |
# papi_path = '/sw/.../include' |
# papi_path = '/usr/include' |
124 |
# papi_lib_path = '/sw/.../lib' |
# papi_lib_path = '/usr/lib64' |
125 |
# papi_libs = ['papi'] |
# papi_libs = ['papi'] |
126 |
|
# 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++'] |
|
127 |
|
|