[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: octave eigs function
From: |
Ben Abbott |
Subject: |
Re: octave eigs function |
Date: |
Thu, 23 May 2013 07:42:39 +0800 |
On May 22, 2013, at 10:25 PM, Poulette Poulette wrote:
> De : Jordi Gutiérrez Hermoso <address@hidden>
> À : Poulette Poulette <address@hidden>
> Cc : help octave <address@hidden>
> Envoyé le : Mercredi 22 mai 2013 16h01
> Objet : Re: octave eigs function
>
>> On 22 May 2013 08:06, Poulette Poulette <address@hidden> wrote:
>> > I have Octave version 3.6.4 for mac (osX 10.8.3).
>>
>> How did you install it, Mme Poulette?
>>
>> > I don't know how to use/obtain eigs function to calculate eigen vectors and
>> > eigenvalues.
>>
>> You only need eigs if you're working with sparse matrices or if you
>> only want a few eigenvalues of your matrix. Otherwise you can use eig.
>>
>> > The error is : "eigs: not available in this version of Octave"
>>
>> However you obtained Octave, it looks like you compiled it without
>> ARPACK. You need to recompile Octave with ARPACK support.
>>
>> - Jordi G. H.
>
> I installed the octave-devel +atlas+docs through macports (I already have
> Xcode, Xquartz, etc...).
>
> "port installed" gives : arpack @3.1.2_1+accelerate+gcc47+openmpi (active)
> Thus I suppose Arpack to be installed...
>
> Thanks
*** Please don't top post. By replying at the bottom of the email, it is
easier to follow the conversation ***
Looking at the portfile for octave-devel it appears that the arpack dependency
is missing. It is likely that you built octave prior to installing arpack.
http://www.macports.org/ports.php?by=name&substr=octave-devel
Can you file a bug report with macports?
http://trac.macports.org/report/1
I've modified their portfile and renamed the port "octave36". I've fixed the
lib-dependencies and the run-dependencies. To use a local portfile, refer to
the link below.
http://guide.macports.org/chunked/development.local-repositories.html
Or you should be able to fix things by working around the bugs in the
octave-devel portfile by first manually installing the lib and run
dependencies, uninstalling octave-devel, and then reinstalling octave-devel.
sudo port install arpack +atlas
sudo port install epstool
sudo port install transfig
sudo port install pstoedit
sudo port uninstall octave-devel
sudo port install octave-devel +atlas+fltk
Since this will rebuild Octave from scratch, installing octave-devel should
take much more time than the rest.
Ben
Portfile
Description: Binary data
- octave eigs function, Poulette Poulette, 2013/05/22
- Re: octave eigs function, Jordi Gutiérrez Hermoso, 2013/05/22
- Re: octave eigs function, Poulette Poulette, 2013/05/22
- Re: octave eigs function, louis scott, 2013/05/22
- Re: octave eigs function,
Ben Abbott <=
- Re: octave eigs function, Abbott, Ben, 2013/05/22
- Re: octave eigs function, Poulette Poulette, 2013/05/24
- Re: octave eigs function, Poulette Poulette, 2013/05/27