[patch] configure.ac support for ATLAS

Jules Bergmann jules at codesourcery.com
Wed Oct 12 13:39:55 UTC 2005


This patch adds configure support for using ATLAS.  It includes a 
'trypkg == atlas' where it tests for the atlas libraries (-llapack 
-lcblas -lf77blas -latlas -lg2c) when lapack is enabled.  It adds two 
options to specify the ATLAS prefix or library directory 
(--with-atlas-prefix and --with-atlas-libdir).

On a system where ATLAS is installed into a particular directory (such 
as the GTRI cluster) you would use --with-atlas-prefix

# config for GTRI
configure --with-atlas-prefix=/usr/local/vsipl++/atlas-3.6.0/Linux_P4SSE2

On a system where ATLAS is installed directly into a subdirectory of 
/usr/lib (such as debian, which puts ATLAS in /usr/lib/atlas), you would 
use --with-atlas-libdir:

# config for my local machine
configure --with-atlas-libdir=/usr/lib/atlas

Patch applied.

				-- Jules
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cfg-atlas.diff
URL: <http://sourcerytools.com/pipermail/vsipl++/attachments/20051012/d0a66dfc/attachment.ksh>


More information about the vsipl++ mailing list