help-octave
[Top][All Lists]
Advanced

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

Re: eigs using SuiteSparse


From: Ben Abbott
Subject: Re: eigs using SuiteSparse
Date: Mon, 13 Oct 2008 07:59:36 -0400

Boaz,

There are some insructions for installing ARPACK on Mac OSX at the like below.

        http://www.ldeo.columbia.edu/~spk/macosx_install.html

I believe you are already using the Fink package manager, correct? So, a nice solution would be to create a local package for arpack. Please let me know if you are willing to give that a try. If so I can help you get started. Once you are successful it can be submitted to the Fink team to be included for the benefit of other Mac users.

Ben

On Oct 13, 2008, at 3:23 AM, Søren Hauberg wrote:

Well, the error message just says that you haven't installed ARPACK
(which the package needs to be installed). I don't know how to install
ARPACK on a Mac, but I'm guessing that's your problem. Perhaps the Mac
people on this list has some insights?

It'll probably help if you tell how you installed Octave on your Mac.
Through Fink or did you use the package from Octave-Forge?

Søren

man, 13 10 2008 kl. 00:11 -0700, skrev Ilan Boaz:
Below is the output of 'pkg install arpack-1.0.6.tar.gz'.
Do I need to compile LAPACK (and other stuff) before compiling ARPACK?

Eventually I will get the hang of this (hopefully before people get
tired of answering :-))

Thanks much,
Boaz

/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld: can't locate file
for: -larpack
collect2: ld returned 1 exit status
make: *** [eigs.oct] Error 1
error: 'make' returned the following error: mkoctfile -
DHAVE_OCTAVE_30 -v -DHAVE_CONFIG_H -DHAVE_ARPACK eigs.cc -larpack
gcc -c -I/Applications/Octave.app/Contents/Resources/include -I/
Applications/Octave.app/Contents/Resources/include/curl -I/
Applications/Octave.app/Contents/Resources/include/readline -I/
Applications/Octave.app/Contents/Resources/include -I/Applications/
Octave.app/Contents/Resources/include/curl -I/Applications/ Octave.app/
Contents/Resources/include/readline -I/Applications/Octave.app/
Contents/Resources/include -I/Applications/Octave.app/Contents/
Resources/include/curl -I/Applications/Octave.app/Contents/Resources/
include/readline -I/Applications/Octave.app/Contents/Resources/
include/octave-3.0.2 -I/Applications/Octave.app/Contents/Resources/
include/octave-3.0.2/octave -I/Applications/Octave.app/Contents/
Resources/include -I/Applications/Octave.app/Contents/Resources/
include -I/Applications/Octave.app/Contents/Resources/include/curl - I/
Applications/Octave.app/Contents/Resources/include/readline -I/
Applications/Octave.app/Contents/Resources/include -I/Applications/
Octave.app/Contents/Resources/include/curl -I/Applications/ Octave.app/
Contents/Resources/include/readline -I/Applications/Octave.app/
Contents/Resources/include -I/Applications/Octave.app/Contents/
Resources/include/curl -I/Applications/Octave.app/Contents/Resources/
include/readline -DHAVE_OCTAVE_30 -DHAVE_CONFIG_H -DHAVE_ARPACK
eigs.cc -o eigs.o
g++ -O3 -ftree-vectorize -mpowerpc -faltivec -maltivec - mabi=altivec - bundle -bundle_loader /Applications/Octave.app/Contents/Resources/ bin/
octave-3.0.2 -o eigs.oct eigs.o -larpack -L/Applications/Octave.app/
Contents/Resources/lib/octave-3.0.2 -L/Applications/Octave.app/
Contents/Resources/lib -loctinterp -loctave -lcruft -L/Applications/
Octave.app/Contents/Resources/lib -L/Applications/Octave.app/ Contents/
Resources/lib/octave-3.0.2 -L/Applications/Octave.app/Contents/
Resources/lib -L/Applications/Octave.app/Contents/Resources/lib/
octave-3.0.2 -Wl,-framework -Wl,vecLib -lfftw3 -lreadline -lncurses -
lhdf5 -lz -lm -lf2c
error: called from `pkg:configure_make' in file /Applications/
Octave.app/Contents/Resources/share/octave/3.0.2/m/pkg/pkg.m near
line 1248, column 2


On Oct 12, 2008, at 11:53 PM, Søren Hauberg wrote:

søn, 12 10 2008 kl. 20:02 -0700, skrev Boaz Ilan:
I also tried compiling ARPACK from sourceforge, but could not get
'make'
to work at all. My compilation know-how is obviously poor...

Could someone tell me what do I need to do to have 'eigs'?

I have no experience with the arpack package from octave-forge, but
what
do you get (what output is written to the screen) when you run

 pkg install arpack-1.0.6.tar.gz

from within Octave?

Søren



_______________________________________________
Help-octave mailing list
address@hidden
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave




reply via email to

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