summaryrefslogtreecommitdiff
path: root/site.cfg.example
diff options
context:
space:
mode:
authorOlivier Grisel <olivier.grisel@ensta.org>2013-09-04 16:16:33 +0200
committerOlivier Grisel <olivier.grisel@ensta.org>2013-09-04 16:16:33 +0200
commitffd4332262ee0295cb942c94ed124f043d801eb6 (patch)
treeb284194225891403b3cca1e1a59015e1d89c5a40 /site.cfg.example
parent43fcc0e4b53ef2abb4a7fa588760d943ce997550 (diff)
downloadnumpy-ffd4332262ee0295cb942c94ed124f043d801eb6.tar.gz
site.cfg.example should not reference blas_opt and lapack_opt
blas_opt and lapack_opt sections are not actually read by the numpy.distutils.system_info machinery. They are just meta entry points for the `get_info` public function that in turns introspec the atlas, openblas and mkl sections.
Diffstat (limited to 'site.cfg.example')
-rw-r--r--site.cfg.example86
1 files changed, 34 insertions, 52 deletions
diff --git a/site.cfg.example b/site.cfg.example
index 8f24c417c..ca245f3d4 100644
--- a/site.cfg.example
+++ b/site.cfg.example
@@ -63,48 +63,46 @@
#library_dirs = /usr/local/lib
#include_dirs = /usr/local/include
-# Optimized BLAS and LAPACK
-# -------------------------
-# Use the blas_opt and lapack_opt sections to give any settings that are
-# required to link against your chosen BLAS and LAPACK, including the regular
-# FORTRAN reference BLAS and also ATLAS. Some other sections still exist for
-# linking against certain optimized libraries (e.g. [atlas], [lapack_atlas]),
-# however, they are now deprecated and should not be used.
-#
-# These are typical configurations for ATLAS (assuming that the library and
-# include directories have already been set in [DEFAULT]; the include directory
-# is important for the BLAS C interface):
-#
-#[blas_opt]
-#libraries = f77blas, cblas, atlas
-#
-#[lapack_opt]
-#libraries = lapack, f77blas, cblas, atlas
-#
-# If your ATLAS was compiled with pthreads, the names of the libraries might be
-# different:
-#
-#[blas_opt]
-#libraries = ptf77blas, ptcblas, atlas
-#
-#[lapack_opt]
-#libraries = lapack, ptf77blas, ptcblas, atlas
-
+# Atlas
+# -----
+# Atlas is an open source optimized implementation of the BLAS and Lapack
+# routines. Numpy will try to build against Atlas by default when available in
+# the system library dirs. To build numpy against a custom installation of
+# Atlas you can add an explicit section such as the following. Here we assume
+# that Atlas was configured with ``prefix=/opt/atlas``.
+#
+# [atlas]
+# library_dirs = /opt/atlas/lib
+# include_dirs = /opt/atlas/include
-# Openblas
+# OpenBLAS
# --------
-# If you choose to use openblas, then use this section instead of the above,
-# adjusting as needed for your configuration. You may need to set the LAPACK
-# and BLAS environmental variables to point to your openblas static library.
-# E.g., export BLAS=/path/to/libopenblas.a
-# export LAPACK=/path/to/libopenblas.a
+# OpenBLAS is another open source optimized implementation of BLAS and Lapack
+# and can be seen as an alternative to Atlas. To build numpy against OpenBLAS
+# instead of Atlas, use this section instead of the above, adjusting as needed
+# for your configuration (in the following example we installed OpenBLAS with
+# ``make install PREFIX=/opt/openblas``.
#
# [openblas]
# libraries = openblas
-#
-# [lapack_opt]
-# libraries = openblas
+# library_dirs = /opt/openblas/lib
+# include_dirs = /opt/openblas/include
+# MKL
+#----
+# MKL is Intel's very optimized yet proprietary implementation of BLAS and
+# Lapack.
+# For recent (9.0.21, for example) mkl, you need to change the names of the
+# lapack library. Assuming you installed the mkl in /opt, for a 32 bits cpu:
+# [mkl]
+# library_dirs = /opt/intel/mkl/9.1.023/lib/32/
+# lapack_libs = mkl_lapack
+#
+# For 10.*, on 32 bits machines:
+# [mkl]
+# library_dirs = /opt/intel/mkl/10.0.1.014/lib/32/
+# lapack_libs = mkl_lapack
+# mkl_libs = mkl, guide
# UMFPACK
# -------
@@ -125,7 +123,6 @@
#[umfpack]
#umfpack_libs = umfpack
-
# FFT libraries
# -------------
# There are two FFT libraries that we can configure here: FFTW (2 and 3) and djbfft.
@@ -143,18 +140,3 @@
#[djbfft]
#include_dirs = /usr/local/djbfft/include
#library_dirs = /usr/local/djbfft/lib
-
-
-# MKL
-#----
-# For recent (9.0.21, for example) mkl, you need to change the names of the
-# lapack library. Assuming you installed the mkl in /opt, for a 32 bits cpu:
-# [mkl]
-# library_dirs = /opt/intel/mkl/9.1.023/lib/32/
-# lapack_libs = mkl_lapack
-#
-# For 10.*, on 32 bits machines:
-# [mkl]
-# library_dirs = /opt/intel/mkl/10.0.1.014/lib/32/
-# lapack_libs = mkl_lapack
-# mkl_libs = mkl, guide