help-octave
[Top][All Lists]
Advanced

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

Re: eigs and Octave.app


From: David Bateman
Subject: Re: eigs and Octave.app
Date: Mon, 12 Nov 2007 09:31:35 +0100
User-agent: Thunderbird 1.5.0.7 (X11/20060921)

Mark McClure wrote:
> ----- Original Message ----- 
> From: "Henry F. Mollet" <address@hidden>
> Date: Sunday, November 11, 2007 6:31 pm
>
>   
>> I had no luck either and cannot locate -larpack. Not sure if 
>> this another package, a file, or an option when installing 
>> arpack. (Using OSX 10.4.10 on PCC).
>>
>> octave-2.9.17:8> pkg install Desktop/arpack-1.0.2.tar
>> /usr/bin/ld: can't locate file for: -larpack
>> ...
>>     
>
> Thanks for the confirmation.  I believe that the complaint you
> are seeing is issued by the file link editor ld.  The -l option
> indicates a library to link to, so I suppose that -larpack 
> indicates that the command is looking for the arpack library.
> This was the exact error that was generated with my first 
> few tries.
>
> I'm guessing that the eigs package doesn't include arpack at
> all, but simply provides tools (bindings) to call arpack
> from octave.  So, I downloaded arpack and the arpack patch,
> found that I needed a fortran compiler (so I also downloaded
> gfortran), compiled arpack (after a few tries), and placed
> the generated library file libarpack.a in the directory
> /Applications/Octave.app/Contents/Resources/lib.
>
> Now, I no longer get the -larpack complaint, rather I get
> the gfortran missing symbols complaints.  Kinda stuck. :(
>
> Mark
>
>   

Isn't Octave.app compiled with f2c as Apple in their wisdom choose not
to supply a fortran compiler in their Xcode suite.. That is probably the
issue. Perhaps Arpack can be compiled with f2c as well..

D.

-- 
David Bateman                                address@hidden
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob) 
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax) 

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary



reply via email to

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