[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mkoctfile urgently needs attention before Octave 3.6.0
From: |
Lukas Reichlin |
Subject: |
Re: mkoctfile urgently needs attention before Octave 3.6.0 |
Date: |
Thu, 29 Dec 2011 21:08:25 +0100 |
On 29.12.2011, at 20:54, c. wrote:
> Hi,
>
> On 29 Dec 2011, at 19:00, address@hidden wrote:
>
>> The only bug remaining is figuring out what linking flags you need on
>> McIntosh OS 10, and why mkoctfile -p LAPACK_LIBS isn't producing those
>> flags.
>
> On my OSX 10.6.8 build of Octave, blas and lapack are provided via the vecLib
> framework which ships with the system and is auto detected by configure.
>
> the outbut of of the configure script says:
>
> BLAS libraries: -framework vecLib
> LAPACK libraries:
>
> while querying mkoctfile I get
>
> $ mkoctfile -p BLAS_LIBS
> -framework vecLib
>
> $ mkoctfile -p LAPACK_LIBS
>
> $
>
> So possibly the problem lies with the fact that both blas and lapack are
> linked using
> one flag only?
>
>
> I must admit that this incident is an argument in favor of Jordi's push
> toward better integration of Octave and Octave-Forge ...
>
>> - Jordi G. H.
>
> c.
This is how it looks on my system:
ra:~ lukas$ port installed | grep octave
octave-devel @3.4.3_1+accelerate+fltk+gcc45
octave36 @3.5.91_0+atlas+fltk+gcc45
octave36 @3.5.91_0+accelerate+fltk+gcc45 (active)
ra:~ lukas$ mkoctfile -p BLAS_LIBS
-ldotwrp -framework Accelerate
ra:~ lukas$ mkoctfile -p LAPACK_LIBS
-framework Accelerate
ra:~ lukas$ sudo port deactivate octave36 @3.5.91_0+accelerate+fltk+gcc45
---> Deactivating octave36 @3.5.91_0+accelerate+fltk+gcc45
---> Cleaning octave36
ra:~ lukas$ sudo port activate octave36 @3.5.91_0+atlas+fltk+gcc45
---> Computing dependencies for octave36
---> Activating octave36 @3.5.91_0+atlas+fltk+gcc45
---> Cleaning octave36
ra:~ lukas$ mkoctfile -p BLAS_LIBS
-lcblas -lf77blas -latlas
ra:~ lukas$ mkoctfile -p LAPACK_LIBS
-llapack
ra:~ lukas$ sudo port deactivate octave36 @3.5.91_0+atlas+fltk+gcc45
---> Deactivating octave36 @3.5.91_0+atlas+fltk+gcc45
---> Cleaning octave36
ra:~ lukas$ sudo port activate octave-devel
---> Computing dependencies for octave-devel
---> Activating octave-devel @3.4.3_1+accelerate+fltk+gcc45
---> Cleaning octave-devel
ra:~ lukas$ mkoctfile -p BLAS_LIBS
-ldotwrp -framework Accelerate
ra:~ lukas$ mkoctfile -p LAPACK_LIBS
-framework Accelerate
ra:~ lukas$
When I use the accelerate framework, it is linked twice, once from BLAS and
once from LAPACK. When I add both libraries to the developer makefiles
"$(mkoctfile -p BLAS_LIBS)" \
"$(mkoctfile -p LAPACK_LIBS)"
I get the following error:
octave:1> makefile_chol
mkoctfile: unrecognized argument -framework Accelerate
octave:2>
Looks like mkoctfile doesn't like duplicate arguments.
Lukas
- Re: mkoctfile urgently needs attention before Octave 3.6.0, c., 2011/12/29
- Re: mkoctfile urgently needs attention before Octave 3.6.0,
Lukas Reichlin <=
- Re: mkoctfile urgently needs attention before Octave 3.6.0, c., 2011/12/29
- Re: mkoctfile urgently needs attention before Octave 3.6.0, Lukas Reichlin, 2011/12/29
- Re: mkoctfile urgently needs attention before Octave 3.6.0, c., 2011/12/29
- Re: mkoctfile urgently needs attention before Octave 3.6.0, Lukas Reichlin, 2011/12/29
- Re: mkoctfile urgently needs attention before Octave 3.6.0, c., 2011/12/29
- Re: mkoctfile urgently needs attention before Octave 3.6.0, Lukas Reichlin, 2011/12/29
- Re: mkoctfile urgently needs attention before Octave 3.6.0, c., 2011/12/29