help-octave
[Top][All Lists]
Advanced

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

Re: Octave for Mac with Reference Lapack


From: c.
Subject: Re: Octave for Mac with Reference Lapack
Date: Wed, 30 May 2012 13:03:49 +0200

On 29 May 2012, at 23:19, Lukas Reichlin wrote:

> 
> I'm surprised to see it working, also on my machine. I fear it doesn't help 
> much, as Accelerate 10.6 used to be the best out of three:
> 
> 1. Accelerate OSX 10.6
> 2. ATLAS 3.9 from MacPorts
> 3. Accelerate OSX 10.7
> 
> I don't have access to 10.7 this evening, and when I build the variant 
> 
>       octave-devel +atlas +fltk +gcc45
> 
> from the attached MacPorts portfile, mkoctfile returns
> 
> nothing for  $(shell $(MKOCTFILE) -p LAPACK_LIBS)
> framework veclib for  $(shell $(MKOCTFILE) -p BLAS_LIBS)

this seems to indicate that although you specified atlas as an option your 
Octave was linked 
against the Accelerate framework rather than ATLAS, I'm not an expert in 
portfile syntax so 
I don't see where the problem is there.

To further check whether Octave is actually linking to vecLib you should do 
something like:

otool -L /opt/octave/3.7/lib/octave/3.7.0+/liboctave.dylib 

what I get is the following:

octave/3.7.0+/liboctave.dylib:
        /opt/octave/3.7/lib/octave/3.7.0+/liboctave.1.dylib (compatibility 
version 2.0.0, current version 2.1.0)
        /opt/octave/3.7/lib/octave/3.7.0+/libcruft.1.dylib (compatibility 
version 2.0.0, current version 2.0.0)
        /opt/arpackng/3.0.2/lib/libarpack.2.dylib (compatibility version 3.0.0, 
current version 3.0.0)
        /opt/qrupdate/1.1.1/lib/libqrupdate.1.dylib (compatibility version 
0.0.0, current version 0.0.0)
        /sw/lib/libreadline.5.dylib (compatibility version 5.0.0, current 
version 5.2.0)
        /sw/lib/ncurses/libncurses.5.dylib (compatibility version 5.0.0, 
current version 5.0.0)
        /opt/pcre/8.20/lib/libpcre.0.dylib (compatibility version 1.0.0, 
current version 1.1.0)
        /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current 
version 125.2.11)
        /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate 
(compatibility version 1.0.0, current version 4.0.0)
        /usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current 
version 7.9.0)
        /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib 
(compatibility version 1.0.0, current version 268.0.1)

I think your problem might rather be with mixing up different LAPACK 
implementations rather than choosing the wrong one.


> Lukas
c.

reply via email to

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