From c943d5214707992549e1319062253bd16d90d906 Mon Sep 17 00:00:00 2001
From: Claus-Justus Heine <Claus-Justus.Heine@IANS.Uni-Stuttgart.DE>
Date: Mon, 1 Dec 2003 22:03:56 +0000
Subject: [PATCH] Add some blas-wisdom. Start the file with a pointer to the
 web-page.

---
 README | 57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 56 insertions(+), 1 deletion(-)

diff --git a/README b/README
index 90668ce..40f12e5 100644
--- a/README
+++ b/README
@@ -13,7 +13,15 @@ IV.  Compiler flags
 I) Introduction
 ===============
 
-This is ALBERTA Version 1.2. For the installation process refer to INSTALL.
+This is ALBERTA Version 1.2. Generic installation instructions can be
+found in the file `INSTALL' in this directory.  ALBERTA has a web-page
+at
+
+	http://www.mathematik.uni-freiburg.de/IAM/ALBERTA
+
+Please see the file `COPYING' for information about the availability of
+ALBERTA.
+
 Contained in the package are the following sub-packages:
 
                  __________ ALBERTA/ __________ src/ ______|--- 1d/
@@ -96,6 +104,43 @@ BLAS -- "Basic Linear Algebra Subprograms"
 	and Opteron CPUs you should have a look at AMD's web-site
 	(www.amd.com) and search for "acml".
 
+	Known quirks for specific BLAS implementations:
+
+	Intel's  "math core library" libmkl:
+	------------------------------------
+
+	Make sure to also link with libguide, this can be achieved by the
+	following configure switches:
+
+	--with-blas-lib=/opt/intel/mkl61/lib/32/ --with-blas-name="mkl -lguide"
+
+	You also need to set the LD_LIBRARY_PATH variable appropriately:
+
+	export LD_LIBRARY_PATH=/opt/intel/mkl61/lib/32
+
+	or
+
+	setenv LD_LIBRARY_PATH /opt/intel/mkl61/lib/32
+
+	SunOS (Solaris), using libsunperf:
+	----------------------------------
+
+	Find about about the location thereof, then using Sun's f77
+	compiler you need the following switches:
+
+	--with-blas-lib=LOCATION --with-blas-name=sunperf
+
+	However, with gcc the following might work:
+
+	--with-blas-lib=LOCATION --with-blas-name="sunperf -lfui -lfsu -lsumath"
+	
+	Alpha AXP with Compaq's extended math-library libcxml:
+	------------------------------------------------------
+
+	The following might work (UNTESTED!!!)
+
+	--with-blas-lib=LOCATION --with-blas-name="cxml -lcpml"
+
 2) Optional Packages
 --------------------
 
@@ -243,6 +288,16 @@ following options:
   --with-PKG-name=NAME
         Alter the default name of the package,
         e.g. "--with-opengl-name=MesaGL" or "--with-blas-name=cxml".
+	NOTE: it is possible to specify more than one library. E.g on
+	(some versions of?) Solaris the BLAS-library is called
+	"libsunperf.so". If you want to link with this library using
+	gcc and g77, then you need to specify
+
+	"--with-blas-name=sunperf -lfui -lfsu -lsunmath"
+
+	Note the "-l" in front of the additional libraries.
+	(of course, in addition to --with-blas-name you also need
+	--with-blas-lib=WHATEVER)
 
   --with-PKG-dir=DIR
 	Search for header-files and for the library itself below DIR,
-- 
GitLab