32 |
|
|
33 |
# C compiler command name or full path. |
# C compiler command name or full path. |
34 |
# DEFAULT: auto-detected |
# DEFAULT: auto-detected |
35 |
cc = 'icc' |
#cc = 'icc' |
36 |
|
cc = 'gcc' |
37 |
|
|
38 |
# C++ compiler command name or full path. |
# C++ compiler command name or full path. |
39 |
# DEFAULT: auto-detected |
# DEFAULT: auto-detected |
40 |
cxx = 'icc' |
#cxx = 'icc' |
41 |
|
cxx = 'g++' |
42 |
|
|
43 |
# Flags to use with both C and C++ compilers. Do not set unless you know |
# Flags to use with both C and C++ compilers. Do not set unless you know |
44 |
# what you are doing - use cc_extra to specify additional flags! |
# what you are doing - use cc_extra to specify additional flags! |
51 |
|
|
52 |
# Additional compiler flags for debug builds |
# Additional compiler flags for debug builds |
53 |
# DEFAULT: compiler-dependent |
# DEFAULT: compiler-dependent |
54 |
#cc_debug = '-g' |
cc_debug = '-g' |
55 |
|
|
56 |
# Additional flags to add to the C compiler only |
# Additional flags to add to the C compiler only |
57 |
# DEFAULT: '' (empty) |
# DEFAULT: '' (empty) |
58 |
cc_extra = '-sox' |
#cc_extra = '-sox' |
59 |
|
cc_extra = '-fopenmp' |
60 |
|
|
61 |
# Additional flags to add to the C++ compiler only |
# Additional flags to add to the C++ compiler only |
62 |
# DEFAULT: '' (empty) |
# DEFAULT: '' (empty) |
63 |
cxx_extra = '-sox' |
#cxx_extra = '-sox' |
64 |
|
cxx_extra = '-fopenmp' |
65 |
|
|
66 |
# Additional flags to add to the linker |
# Additional flags to add to the linker |
67 |
# DEFAULT: '' (empty) |
# DEFAULT: '' (empty) |
68 |
ld_extra = '-shared-intel -L/opt/hdf5/1.8.6/lib' |
#ld_extra = '-shared-intel -L/opt/hdf5/1.8.6/lib' |
69 |
|
ld_extra = '-L/opt/hdf5/1.8.6/lib -fopenmp' |
70 |
|
|
71 |
# Whether to treat compiler warnings as errors |
# Whether to treat compiler warnings as errors |
72 |
# DEFAULT: True |
# DEFAULT: True |
74 |
|
|
75 |
# Whether to build a debug version |
# Whether to build a debug version |
76 |
# DEFAULT: False |
# DEFAULT: False |
77 |
debug = False |
debug = True |
78 |
|
|
79 |
# Set to True to print the full compiler/linker command line |
# Set to True to print the full compiler/linker command line |
80 |
# DEFAULT: False |
# DEFAULT: False |
82 |
|
|
83 |
# Set to True to add flags that enable OpenMP parallelization |
# Set to True to add flags that enable OpenMP parallelization |
84 |
# DEFAULT: False |
# DEFAULT: False |
85 |
openmp = True |
#openmp = True |
86 |
|
openmp = False |
87 |
|
|
88 |
# Additional compiler flags for OpenMP builds |
# Additional compiler flags for OpenMP builds |
89 |
# DEFAULT: compiler-dependent |
# DEFAULT: compiler-dependent |
96 |
# Flavour of MPI implementation |
# Flavour of MPI implementation |
97 |
# Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI' |
# Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI' |
98 |
# DEFAULT: 'none' (disable MPI) |
# DEFAULT: 'none' (disable MPI) |
99 |
mpi = 'OPENMPI' |
#mpi = 'OPENMPI' |
100 |
|
mpi = 'none' |
101 |
|
|
102 |
# Prefix or paths to MPI headers and libraries. See note above about prefixes. |
# Prefix or paths to MPI headers and libraries. See note above about prefixes. |
103 |
mpi_prefix = ['/opt/mpi/gcc/openmpi/1.4.3/include', '/opt/mpi/gcc/openmpi/1.4.3/lib'] |
mpi_prefix = ['/opt/mpi/gcc/openmpi/1.4.3/include', '/opt/mpi/gcc/openmpi/1.4.3/lib'] |
108 |
# Prefix or paths to python headers and libraries. See note above. |
# Prefix or paths to python headers and libraries. See note above. |
109 |
# By default, this is determined using the running python executable. |
# By default, this is determined using the running python executable. |
110 |
python_prefix = ['/opt/python/2.6.7/include/python2.6', '/opt/python/2.6.7/lib'] |
python_prefix = ['/opt/python/2.6.7/include/python2.6', '/opt/python/2.6.7/lib'] |
111 |
|
#python_prefix = ['/opt/python/2.7.2/include/python2.7', '/opt/python/2.7.2/lib'] |
112 |
|
|
113 |
# Prefix or paths to boost-python headers and libraries. See note above. |
# Prefix or paths to boost-python headers and libraries. See note above. |
114 |
boost_prefix = ['/opt/boost/1.39.0/include/boost-1_39', '/opt/boost/1.39.0/lib'] |
#boost_prefix = ['/opt/boost/1.39.0/include/boost-1_39', '/opt/boost/1.39.0/lib'] |
115 |
|
boost_prefix = ['/opt/boost/1.46.1-python-2.6/include/', '/opt/boost/1.46.1-python-2.6/lib'] |
116 |
|
|
117 |
# boost-python library/libraries to link against |
# boost-python library/libraries to link against |
118 |
boost_libs = ['boost_python-gcc41-mt-1_39'] |
#boost_libs = ['boost_python-gcc41-mt-1_39'] |
119 |
|
boost_libs = ['boost_python'] |
120 |
|
|
121 |
|
|
122 |
# Prefix or paths to CppUnit headers and libraries. See note above. |
# Prefix or paths to CppUnit headers and libraries. See note above. |
168 |
mkl_prefix = ['/opt/intel-mkl/10.3.5.220/mkl/include', '/opt/intel-mkl/10.3.5.220/mkl/lib/intel64'] |
mkl_prefix = ['/opt/intel-mkl/10.3.5.220/mkl/include', '/opt/intel-mkl/10.3.5.220/mkl/lib/intel64'] |
169 |
|
|
170 |
# MKL library/libraries to link against |
# MKL library/libraries to link against |
171 |
mkl_libs = ['mkl_intel_lp64', 'mkl_gnu_thread', 'libmkl_lapack95_lp64', 'mkl_core', 'gomp', 'pthread'] |
mkl_libs = ['mkl_intel_lp64', 'mkl_gnu_thread', 'libmkl_lapack95_lp64', 'mkl_core', 'pthread'] |
172 |
|
|
173 |
# Whether to use UMFPACK (requires AMD and BLAS) |
# Whether to use UMFPACK (requires AMD and BLAS) |
174 |
# DEFAULT: False |
# DEFAULT: False |
218 |
#pyvisi = True |
#pyvisi = True |
219 |
# Whether to use BoomerAMG (requires MPI) |
# Whether to use BoomerAMG (requires MPI) |
220 |
# DEFAULT: False |
# DEFAULT: False |
221 |
#boomeramg = True |
boomeramg = True |
222 |
|
|
223 |
# Prefix or paths to BoomerAMG headers and libraries. See note above. |
# Prefix or paths to BoomerAMG headers and libraries. See note above. |
224 |
#boomeramg_prefix = '/opt/hypre/2.0.0/' |
boomeramg_prefix = '/opt/hypre/2.0.0/' |
225 |
|
|
226 |
# BoomerAMG library/libraries to link against |
# BoomerAMG library/libraries to link against |
227 |
#boomeramg_libs = ['HYPRE'] |
boomeramg_libs = ['HYPRE'] |
228 |
#boomeramg_libs = ['HYPRE_IJ_mv', 'HYPRE_krylov', 'HYPRE_parcsr_ls'] |
#boomeramg_libs = ['HYPRE_IJ_mv', 'HYPRE_krylov', 'HYPRE_parcsr_ls'] |
229 |
|
|
230 |
|
|