octave-maintainers
[Top][All Lists]
Advanced

[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:34:42 +0100

On 29.12.2011, at 21:29, Ben Abbott wrote:

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

Here you go :-)

Best regards,
Lukas

Attachment: Portfile
Description: Binary data


reply via email to

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