Skip to content
Snippets Groups Projects
Commit c943d521 authored by Claus-Justus Heine's avatar Claus-Justus Heine
Browse files

Add some blas-wisdom. Start the file with a pointer to the web-page.

parent a0f4c1f2
Branches
Tags
No related merge requests found
......@@ -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,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment