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 |
# Configuration for Cognac (SGI Altix) |
16 |
|
17 |
# Assumed modules: |
18 |
# |
19 |
# module load intel-cc/10.0.023 |
20 |
# module load python/2.4.4/icc10.0.023 |
21 |
# module load numarray/1.5.2/python2.4.4_icc10.0.023/icc10.0.023 |
22 |
# module load Mesa/7.0.2 |
23 |
# module load VTK/5.0.3_mesa |
24 |
# module load boost/1.33.1/python2.4.4_icc10.0.023/numarray1.5.2_icc10.0.023/icc10.0.023 |
25 |
# module load netcdf/3.6.2 |
26 |
# module load intel-mkl/9.1.018 |
27 |
# module load scsl/1.6.1.0 |
28 |
# module load scons/0.97 |
29 |
# module load subversion/1.4.6 |
30 |
# |
31 |
|
32 |
python_version="2.4" |
33 |
python_installation="2.4.4/icc10.0.023" |
34 |
boost_version="1_33_1" |
35 |
boost_installation="1.33.1/python2.4.4_icc10.0.023/numarray1.5.2_icc10.0.023/icc10.0.023" |
36 |
|
37 |
# If you cannot use the default compiler flags set in SConstruct, then change them here |
38 |
# C/C++ Compiler flags (always use cc_flags and either cc_optim or cc_debug) |
39 |
cc_flags = '-fPIC -ansi -wd161 -w1 -DBLOCKTIMER -DCORE_ID1' |
40 |
# cc_optim = '-O2' |
41 |
# cc_debug = '-g' |
42 |
# omp_optim = '-openmp' |
43 |
# omp_debug = '-openmp' |
44 |
# omp_libs = ['guide'] |
45 |
|
46 |
# Use the default C/C++ flags but add something only for this host: |
47 |
# cc_extra = '' |
48 |
# ld_extra = '' |
49 |
|
50 |
# Be picky about errors |
51 |
# usepedantic = 'no' |
52 |
|
53 |
# Extra libraries |
54 |
# sys_libs = [] |
55 |
|
56 |
# Python libraries |
57 |
python_path = '/opt/python/'+python_installation+'/include/python'+python_version |
58 |
python_lib_path = '/opt/python/'+python_installation+'/lib' |
59 |
python_libs = ['python'+python_version] |
60 |
# python_cmd = 'python' |
61 |
|
62 |
# Boost libraries |
63 |
boost_path = '/opt/boost/'+boost_installation+'/include/boost-'+boost_version |
64 |
boost_lib_path = '/opt/boost/'+boost_installation+'/lib' |
65 |
boost_libs = ['boost_python-il-mt-1_33_1'] |
66 |
|
67 |
# Specify whether or not to use VTK |
68 |
# usevtk = 'yes' |
69 |
|
70 |
# NetCDF |
71 |
usenetcdf = 'yes' |
72 |
netCDF_path = '/opt/netcdf/3.6.2/include' |
73 |
netCDF_lib_path = '/opt/netcdf/3.6.2/lib' |
74 |
# netCDF_libs = ['netcdf_c++', 'netcdf'] |
75 |
|
76 |
# MKL |
77 |
# usemkl = 'no' |
78 |
# mkl_path = '/opt/intel_mkl/9.1.018/include' |
79 |
# mkl_lib_path = '/opt/intel_mkl/9.1.018/lib/64' |
80 |
# mkl_libs = ['mkl_solver', 'mkl_lapack', 'mkl_ipf'] |
81 |
|
82 |
# UMFPACK (requires AMD and BLAS) |
83 |
# useumfpack = 'yes' |
84 |
# ufc_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include' |
85 |
# umf_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include' |
86 |
# umf_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib' |
87 |
# umf_libs = ['umfpack'] |
88 |
# amd_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include' |
89 |
# amd_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib' |
90 |
# amd_libs = ['amd'] |
91 |
# blas_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/include' |
92 |
# blas_lib_path = '/sw/libs/umfpack/x86_64/gcc-4.1.2/umfpack-5.2/lib' |
93 |
# blas_libs = ['blas'] |
94 |
|
95 |
# OpenMP |
96 |
# useopenmp = 'yes' |
97 |
|
98 |
# MPI MPT (no module load required) |
99 |
usempi = 'no' |
100 |
mpi_path = '/usr/include' |
101 |
mpi_lib_path = '/usr/lib' |
102 |
mpi_libs = ['mpi'] |
103 |
mpi_run = 'mpirun -np 1' |
104 |
|
105 |
# ParMETIS (for use with MPI) |
106 |
# useparmetis = 'yes' |
107 |
# parmetis_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/include' |
108 |
# parmetis_lib_path = '/sw/libs/parmetis/x86_64/gcc-4.1.2/parmetis-3.1/lib' |
109 |
# parmetis_libs = ['parmetis', 'metis'] |
110 |
|
111 |
# PAPI |
112 |
# usepapi = 'no' |
113 |
# papi_path = '/usr/include' |
114 |
# papi_lib_path = '/usr/lib64' |
115 |
# papi_libs = ['papi'] |
116 |
# papi_instrument_solver = 'no' |
117 |
|