[Top][All Lists]

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

Re: eigs and

From: Thomas Treichl
Subject: Re: eigs and
Date: Mon, 12 Nov 2007 18:28:19 +0100
User-agent: Thunderbird (Macintosh/20070728)

Mark McClure schrieb:
----- Original Message -----
From: David Bateman <address@hidden>

 > Isn't 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..

I suppose this makes sense; thanks for the info.
Two questions:
 1) Has anyone had success with eigs on a Mac?  Perhaps,
    via direct compilation of Octave as described here:

Hallo Mark,

please report if this works for you, the text describes how to install the
ARPACK software before the Octave-forge arpack package can be installed and
this text also will be part of the Readme.html file (if it works for you like
it does work for me) of the next release.


How can I install the Arpack–package from Octave–Forge that also depends further

As described previously you need to download, configure, compile and install the needed ARPACK-software before you install the Octave–Forge package.

1. Download a current version of the ARPACK–software and the patch that is available, eg.

  bash ~$ curl -s -S \ \
    -o arpack96.tar.Z
  bash ~$ curl -s -S \ \
    -o patch.tar.Z

2. Unpack the downloaded files, patch the codes and change into the directory that has been created, eg.

  bash:~$ tar -xzf arpack96.tar.Z
  bash:~$ tar -xzf patch.tar.Z
  bash:~$ cd ARPACK

3. Edit the file and change the values of the following variables in a similiar way, eg.

  # this is the location of your current ARPACK directory that has been created
  home = $(HOME)/ARPACK

# this actually only results in the name of the created libarpack_${PLAT}.a

  # remove the option -cg89 that is not compatible with fort77

  # use backslashes without spaces here and use tabulators at the
  # beginnings of the lines
  FC = PATH=/Applications/${PATH}\

  # make is in the directory /usr/bin not in /bin
  MAKE = /usr/bin/make

4. Compile the ARPACK–software and change the name of the created static library libarpack_MAC.a into libarpack.a. Then move the renamed static library file into the lib directory of, eg.

  bash:~/ARPACK$ make lib
  bash:~/ARPACK$ mv libarpack_MAC.a libarpack.a
  bash:~/ARPACK$ mv libarpack.a /Applications/

5. Startup and install the desired Octave–package, eg.

  octave-2.9.16:1> pkg install arpack-1.0.2.tar.gz

reply via email to

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