help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ATLAS and Octave under CygWin


From: Paul Soderlind
Subject: ATLAS and Octave under CygWin
Date: Thu, 15 Nov 2001 13:57:50 +0100

Hi all,

here is a short report from a (successful, I believe) attempt to use the
ATLAS and Lapack libraries when installing Octave under CygWin.


The result:

X=randn(1000,1000);t=cputime();Y=X'*X;cputime-t

is ten times faster when the ATLAS&Lapack libraries are used (5.6 sec vs
55.9 sec on my outdated 500MHz PIII).



How-to:

(1) "make lib" the Lapack sources (using the make.inc.LINUX as make.inc)

(2) "make" and then "make install arch=WinNT_PIIISSE1" the Atlas sources
(giving truthful answers)

(3) Followed Atlas' instructions for putting Lapack into Atlas' liblapack.a
(see the readme file in the binary distribution of Atlas). In short, the
steps are

cd to the directory with Atlas' liblapack.a
mkdir tmp
cd tmp
ar x ../liblapack.a
cp <your LAPACK path & lib> ../liblapack.a
ar r ../liblapack.a *.o
cd ..
rm -rf tmp

(4) Copy the atlas libraries (as they look after step (3)) to cygwin\lib and
cblas.h to cygwin\include

(5) Installed octave by: "./configure", "make", and then "make install"

(Please let know if there is a better way to do this?)



Sincerely,


Paul Söderlind



********************************************************
Paul Söderlind
Stockholm School of Economics
PO Box 6501 (or Sveav. 65)
SE-113 83 Stockholm
Sweden

email: address@hidden
homepage: http://www.hhs.se/personal/psoderlind/

telephone: +46-8-7369161
********************************************************




-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]