Skip to content

Commit

Permalink
Added support to build Arpack-NG inside the Tensor library
Browse files Browse the repository at this point in the history
  • Loading branch information
juanjosegarciaripoll committed Jan 20, 2013
1 parent ffdb10d commit fd03a9d
Show file tree
Hide file tree
Showing 94 changed files with 34,995 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ include aminclude.am

EXTRA_DIST = autogen.sh $(DX_CONFIG) doc/html

if TENSOR_ARPACK
SUBDIRS += arpack-ng
endif
if HAVE_GTEST
SUBDIRS += test
endif
Expand Down
46 changes: 46 additions & 0 deletions arpack-ng/COPYING
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@

BSD Software License

Pertains to ARPACK and P_ARPACK

Copyright (c) 1996-2008 Rice University.
Developed by D.C. Sorensen, R.B. Lehoucq, C. Yang, and K. Maschhoff.
All rights reserved.

Arpack has been renamed to arpack-ng.

Copyright (c) 2001-2011 - Scilab Enterprises
Updated by Allan Cornet, Sylvestre Ledru.

Copyright (c) 2010 - Jordi Gutiérrez Hermoso (Octave patch)

Copyright (c) 2007 - Sébastien Fabbro (gentoo patch)

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:

- Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.

- Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer listed
in this license in the documentation and/or other materials
provided with the distribution.

- Neither the name of the copyright holders nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

5 changes: 5 additions & 0 deletions arpack-ng/Makefile.am
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
noinst_LTLIBRARIES = libarpackutil.la
libarpackutil_la_SOURCES = \
icnteq.f icopy.f iset.f iswap.f ivout.f second_NONE.f \
svout.f smout.f dvout.f dmout.f cvout.f cmout.f \
zvout.f zmout.f
97 changes: 97 additions & 0 deletions arpack-ng/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
ARPACK-NG is a collection of Fortran77 subroutines designed to solve large scale
eigenvalue problems.

Important Features:

* Reverse Communication Interface.
* Single and Double Precision Real Arithmetic Versions for Symmetric,
Non-symmetric, Standard or Generalized Problems.
* Single and Double Precision Complex Arithmetic Versions for Standard or
Generalized Problems.
* Routines for Banded Matrices - Standard or Generalized Problems.
* Routines for The Singular Value Decomposition.
* Example driver routines that may be used as templates to implement numerous
Shift-Invert strategies for all problem types, data types and precision.

This project is a joint project between Debian, Octave and Scilab in order to
provide a common and maintained version of arpack.

Indeed, no single release has been published by Rice university for the last
few years and since many software (Octave, Scilab, R, Matlab...) forked it and
implemented their own modifications, arpack-ng aims to tackle this by providing
a common repository and maintained versions.

arpack-ng is replacing arpack in Debian & Ubuntu. Fink, Fedora and Redhat are
currently doing the same move.


1. You have successfully unbundled ARPACK-NG and are now in the ARPACK-NG
directory that was created for you.

2.
The directory SRC contains the top level routines including
the highest level reverse communication interface routines

ssaupd, dsaupd - symmetric single and double precision
snaupd, dnaupd - non-symmetric single and double precision
cnaupd, znaupd - complex non-symmetric single and double precision

The headers of these routines contain full documentation of calling
sequence and usage. Additional information is in the DOCUMENTS directory.

The directory PARPACK contains the Parallel ARPACK routines.


3. Example driver programs that illustrate all the computational modes,
data types and precisions may be found in the EXAMPLES directory.
Upon executing the 'ls EXAMPLES' command you should see

BAND
COMPLEX
NONSYM
README
SIMPLE
SVD
SYM

Example programs for banded, complex, nonsymmetric, symmetric,
and singular value decomposition may be found in the directories
BAND, COMPLEX, NONSYM, SYM, SVD respectively. Look at the README
file for further information. To get started, get into the SIMPLE
directory to see example programs that illustrate the use of ARPACK in
the simplest modes of operation for the most commonly posed
standard eigenvalue problems.


Example programs for Parallel ARPACK may be found in the directory
PARPACK/EXAMPLES. Look at the README file for further information.

The following instructions explain how to make the ARPACK library.

4. Unlike ARPACK, ARPACK-NG is providing autotools based build system.
Therefor, the classical:
$ ./configure
$ make
$ make install
should work as expected.

5. Within DOCUMENTS directory there are three files

ex-sym.doc
ex-nonsym.doc and
ex-complex.doc

for templates on how to invoke the computational modes of ARPACK.
Also look in the README file for explanations concerning the
other documents.


Danny Sorensen at [email protected]
Richard Lehoucq at [email protected]
Chao Yang at [email protected]
Kristi Maschhoff at [email protected]
Sylvestre Ledru at [email protected]
Allan Cornet at [email protected]

Good luck and enjoy.

Loading

0 comments on commit fd03a9d

Please sign in to comment.