1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259
|
##############################################################################
#
# Copyright (c) 2003-2020 by The University of Queensland
# http://www.uq.edu.au
#
# Primary Business: Queensland, Australia
# Licensed under the Apache License, version 2.0
# http://www.apache.org/licenses/LICENSE-2.0
#
# Development until 2012 by Earth Systems Science Computational Center (ESSCC)
# Development 2012-2013 by School of Earth Sciences
# Development from 2014 by Centre for Geoscience Computing (GeoComp)
# Development from 2019 by School of Earth and Environmental Sciences
#
##############################################################################
# NOTE: THIS FILE IS DEPRECATED!
import os
# PREFIXES:
# There are two ways to specify where to find dependent headers and libraries
# (via the <dependency>_prefix):
# 1) If your installation follows the general scheme where headers are located
# in <prefix>/include[32,64], and libraries in <prefix>/lib[32,64] then
# it is sufficient to specify this prefix, e.g. boost_prefix='C:/python'
# 2) Otherwise provide a list with two elements, where the first one is the
# include path, and the second the library path, e.g.
# boost_prefix=['C:/boost/include/boost1_44', 'C:/boost/lib']
# All <dependency>_prefix settings default to '/usr' so have to be set
# manually on Windows.
# The options file version. SCons will refuse to build if there have been
# changes to the set of variables and your file has not been updated.
# This setting is mandatory.
escript_opts_version = 202
# Installation prefix. Files will be installed in subdirectories underneath.
# DEFAULT: '.' (current directory)
#prefix = 'C:/escript'
# Top-level directory for intermediate build and test files.
# DEFAULT: 'build'
#build_dir = 'build'
# C++ compiler command name or full path.
# DEFAULT: auto-detected
#cxx = 'cl'
# Flags to use with the C++ compiler. Do not set unless you know
# what you are doing - use cxx_extra to specify additional flags!
# DEFAULT: compiler-dependent
cc_flags = '/EHsc /GR /wd4068 /MD'
# Additional compiler (optimization) flags for non-debug builds
# DEFAULT: compiler-dependent
cc_optim = '/O2 /W3'
# Additional compiler flags for debug builds
# DEFAULT: compiler-dependent
cc_debug = '/Od /RTCcsu /ZI /Yd /Y-'
# Additional flags to add to the C++ compiler
# DEFAULT: '' (empty)
#cxx_extra = ''
# Additional flags to add to the linker
# DEFAULT: '' (empty)
ld_extra = '/LIBPATH:"C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/lib" \
/LIBPATH:"C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/redist/x86/Microsoft.VC90.CRT" \
/LIBPATH:"C:/Program Files/Microsoft SDKs/Windows/v6.0A/Lib" \
/LIBPATH:"C:/Windows/winsxs/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91" \
/LIBPATH:"C:/Program Files (x86)/Microsoft Visual Studio .NET 2003/SDK/v1.1/Lib"'
# Whether to treat compiler warnings as errors
# DEFAULT: True
werror = False
# Whether to build a debug version
# DEFAULT: False
#debug = True
# Set to True to print the full compiler/linker command line
# DEFAULT: False
verbose = True
# Set to True to add flags that enable OpenMP parallelization
# DEFAULT: False
#openmp = True
# Additional compiler flags for OpenMP builds
# DEFAULT: compiler-dependent
#omp_flags = '/Qopenmp /Qparallel'
# Additional linker flags for OpenMP builds
# DEFAULT: compiler-dependent
#omp_ldflags = '/Qopenmp /Qparallel'
# Flavour of MPI implementation
# Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
# DEFAULT: 'none' (disable MPI)
mpi = 'MPICH2'
# Prefix or paths to MPI headers and libraries. See note above about prefixes.
mpi_prefix = ['C:/Program Files/Microsoft HPC Pack 2008 SDK/include', 'C:/Program Files/Microsoft HPC Pack 2008 SDK/lib/i386']
# MPI libraries to link against
mpi_libs = ['msmpi']
dotdot = os.path.realpath('..')
# Prefix or paths to boost-python headers and libraries. See note above.
boost_prefix = [os.path.join(dotdot, 'boost_1_39_0'), os.path.join(dotdot, 'boost_1_39_0','windows_binary','lib')]
# boost-python library/libraries to link against
boost_libs = ['boost_python-vc90-mt-1_39']
# Prefix or paths to CppUnit headers and libraries. See note above.
#cppunit_prefix = 'C:/CppUnit'
# CppUnit library/libraries to link against
#cppunit_libs = ['cppunit']
# Whether to use the netCDF library for dump file support
# DEFAULT: False
netcdf = True
# Prefix or paths to netCDF headers and libraries. See note above.
netcdf_prefix = [os.path.join(dotdot, 'netcdf', 'src', 'include'), os.path.join(dotdot, 'netcdf', 'lib')]
# netCDF library/libraries to link against
netcdf_libs = ['netcdf_cpp', 'netcdf']
# Whether to use the parMETIS library (only in conjunction with MPI)
# DEFAULT: False
#parmetis = True
# Prefix or paths to parMETIS headers and libraries. See note above.
#parmetis_prefix = 'C:/parmetis'
# parMETIS library/libraries to link against
#parmetis_libs = ['parmetis', 'metis']
# Whether to use the Intel PAPI (Performance API) library
# DEFAULT: False
#papi = True
# Prefix or paths to PAPI headers and libraries. See note above.
#papi_prefix = 'C:/papi'
# PAPI library/libraries to link against
#papi_libs = ['papi']
# Whether to use PAPI to instrument solver iterations
# DEFAULT: False
#papi_instrument_solver = True
# Whether to use Intel MKL (Math Kernel Library)
# DEFAULT: False
#mkl = True
# Prefix or paths to MKL headers and libraries. See note above.
#mkl_prefix = 'C:/mkl'
# MKL library/libraries to link against
#mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide']
# Whether to use UMFPACK (requires AMD and BLAS)
# DEFAULT: False
#umfpack = True
# Prefix or paths to UMFPACK headers and libraries. See note above.
#umfpack_prefix = 'C:/umfpack'
# UMFPACK library/libraries to link against
#umfpack_libs = ['umfpack']
# Whether to use BoomerAMG (requires MPI)
# DEFAULT: False
#boomeramg = True
# Prefix or paths to BoomerAMG headers and libraries. See note above.
#boomeramg_prefix = 'C:/boomeramg'
# BoomerAMG library/libraries to link against
#boomeramg_libs = ['HYPRE']
# Flavour of LAPACK implementation
# Recognized values: 'none', 'clapack', 'mkl'
# DEFAULT: 'none' (do not use LAPACK)
#lapack = 'clapack'
# Prefix or paths to LAPACK headers and libraries. See note above.
#lapack_prefix = 'C:/lapack'
# LAPACK library/libraries to link against
#lapack_libs = ['lapack_atlas']
# Whether to use LLNL's SILO library for Silo output file support in weipa
# DEFAULT: False
#silo = True
# Prefix or paths to SILO headers and libraries. See note above.
#silo_prefix = 'C:/silo'
# SILO library/libraries to link against
#silo_libs = ['siloh5', 'hdf5']
# Whether to use LLNL's VisIt simulation interface (only version 2 supported)
# DEFAULT: False
#visit = True
# Prefix or paths to VisIt's sim2 headers and libraries. See note above.
#visit_prefix = 'C:/visit/2.1.0/linux-intel/libsim/V2'
# Sim2 library/libraries to link against
#visit_libs = ['simV2']
# Build dynamic libraries only
#DEFAULT: False
#build_shared = True
# List of domain families to build [new in 202]
# DEFAULT: 'all' (i.e. dudley, finley, ripley, speckley)
#domains = 'finley,ripley'
### ADVANCED OPTIONS ###
# Do not change the following options unless you know what they do
# Use intel's VSL library for random data
# DEFAULT: False
#vsl_random = True
# launcher, prelaunch, postlaunch: for MPI builds/batch system runs
# the following substitutions are applied to all three:
# %b = executable, %n = number of nodes, %p = number of processes,
# %N = total number of processes, # %t = number of threads,
# %f = name of hostfile, %h = comma-separated list of hosts,
# %e = comma-separated list of environment variables to export
#prelaunch = "EE=$(echo %e|sed -e 's/,/ -x /g')"
#launcher = "mpirun --gmca mpi_warn_on_fork 0 -x ${EE} --bynode --bind-to-none --host %h -np %N %b"
#postlaunch = ""
# Extra libraries to link with
#sys_libs = []
# Additional environmental variables to export to the tools
#env_export = []
#tools_names = ['msvc']
#iknowwhatimdoing = False
#forcelazy = 'leave_alone'
#forcecollres = 'leave_alone'
|