help-octave
[Top][All Lists]
Advanced

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

octave, win32 and atlas - help


From: Andy Adler
Subject: octave, win32 and atlas - help
Date: Wed, 17 Apr 2002 09:36:04 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:0.9.4) Gecko/20011128 Netscape6/6.2.1

I am having trouble compiling octave-2.1.35 with atlas
under cygwin.

I've tried compiling octave with atlas under linux, and it
works fine with this recipe:

# pwd
/usr/src/octave-2.1.35
# uname -a
Linux king 2.4.7-12.3mdk #1 Mon Aug 20 16:16:58 MDT 2001 i686 unknown
# ./configure --enable-static=yes --enable-shared=no --disable-readline
# STEP 1 - COMPILE WITH NO ATLAS
# make
# echo "x=time; lu(rand(750)); time-x" | src/octave -q
ans = 12.541
# STEP 2 - ADD ATLAS TO LIBCRUFT
# cd libcruft/
# mkdir atlas
# ( cd atlas && tar xvfz <LINUX-PIII-ATLAS> )
# mkdir tmp
# cd tmp
# ar x ../libcruft.a
# for i in atlas.a lapack.a cblas.a f77blas.a ; do ar x ../atlas/Linux_PIIISSE1256/lib$i ; done
# cd ..
# rm libcruft.a ; ar rc libcruft.a tmp/*.o
# cd ..
# make
# echo "x=time; lu(rand(750)); time-x" | src/octave -q
ans = 2.5777

However, trying exactly the same thing under cygwin results in

# pwd
/usr/src/octave-2.1.35
# uname -a
CYGWIN_NT-5.0 ANDYDESK0 1.3.10(0.51/3/2) 2002-02-25 11:14 i686 unknown
# ./configure --enable-static=yes --enable-shared=no --disable-readline
# make
WORKS FINE
# cd libcruft/
# mkdir atlas
# ( cd atlas && tar xvfz <LINUX-PIII-ATLAS> )
# mkdir tmp
# cd tmp
# ar x ../libcruft.a
# for i in atlas.a lapack.a cblas.a f77blas.a ; do ar x ../atlas/Linux_PIIISSE1256/lib$i ; done
# cd ..
# rm libcruft.a ; ar rc libcruft.a tmp/*.o
# cd ..
# make

../liboctave/liboctave.a(CMatrix.o): In function `_ml(ComplexColumnVector const &, ComplexRowVector const &)': /usr/src/octave-2.1.35/liboctave/CMatrix.cc:2010: undefined reference to `zgemm_' ../liboctave/liboctave.a(CMatrix.o): In function `_ml(ComplexMatrix const &, ComplexMatrix const &)': /usr/src/octave-2.1.35/liboctave/CMatrix.cc:3124: undefined reference to `zgemm_' ../liboctave/liboctave.a(dMatrix.o): In function `_ml(ColumnVector const &, RowVector const &)': /usr/src/octave-2.1.35/liboctave/dMatrix.cc:1731: undefined reference to `dgemm_' ../liboctave/liboctave.a(dMatrix.o): In function `_ml(Matrix const &, Matrix const &)': /usr/src/octave-2.1.35/liboctave/dMatrix.cc:3105: undefined reference to `dgemm_' ../liboctave/liboctave.a(dbleCHOL.o): In function `CHOL::init(Matrix const &)': /usr/src/octave-2.1.35/liboctave/dbleCHOL.cc:59: undefined reference to `dpotrf_':

    Many more similar errors

Could anyone help me as to what I'm doing wrong here?

I'm pretty sure this can be done. For example,
Paul Söderlind offers atlas enhanced win32 octave
binaries on his site.

http://www.hhs.se/personal/Psoderlind/Software/Software.htm


andy





-------------------------------------------------------------
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]