[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: mkoctfile urgently needs attention before Octave 3.6.0
From: |
Ben Abbott |
Subject: |
Re: mkoctfile urgently needs attention before Octave 3.6.0 |
Date: |
Thu, 29 Dec 2011 15:29:55 -0500 |
On Dec 29, 2011, at 3:08 PM, Lukas Reichlin wrote:
> 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
Lukas,
If you email me the Portfile for octave36, I'll take a look.
Ben
- 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,
Ben Abbott <=
- 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
- Re: mkoctfile urgently needs attention before Octave 3.6.0, Lukas Reichlin, 2011/12/29