Permalink
Browse files

ENH: scipy.sparse: update bundled arpack to Arpack-NG 3.1.2

  • Loading branch information...
1 parent 51fa54c commit 475a5d46653ad95ead37ccac445ca590db692a58 @pv pv committed Dec 16, 2012
Showing with 1,245 additions and 1,284 deletions.
  1. +82 −0 scipy/sparse/linalg/eigen/arpack/ARPACK/CHANGES
  2. +46 −0 scipy/sparse/linalg/eigen/arpack/ARPACK/COPYING
  3. +44 −58 scipy/sparse/linalg/eigen/arpack/ARPACK/README
  4. +0 −83 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/Makefile
  5. +15 −15 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/cgetv0.f
  6. +21 −21 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/cnaitr.f
  7. +4 −4 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/cnapps.f
  8. +10 −10 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/cnaup2.f
  9. +25 −25 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/cnaupd.f
  10. +4 −4 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/cneigh.f
  11. +8 −8 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/cneupd.f
  12. +4 −4 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/cngets.f
  13. +10 −10 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/dgetv0.f
  14. +15 −15 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/dnaitr.f
  15. +4 −4 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/dnapps.f
  16. +165 −166 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/dnaup2.f
  17. +127 −127 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/dnaupd.f
  18. 0 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/dnaupe.f
  19. +3 −3 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/dnconv.f
  20. +4 −4 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/dneigh.f
  21. +2 −2 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/dneupd.f
  22. +3 −3 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/dngets.f
  23. +14 −14 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/dsaitr.f
  24. +4 −4 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/dsapps.f
  25. +7 −7 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/dsaup2.f
  26. +98 −98 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/dsaupd.f
  27. +3 −3 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/dsconv.f
  28. +4 −4 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/dseigt.f
  29. +3 −3 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/dseupd.f
  30. +4 −4 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/dsgets.f
  31. +10 −10 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/sgetv0.f
  32. +21 −21 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/snaitr.f
  33. +4 −4 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/snapps.f
  34. +109 −109 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/snaup2.f
  35. +28 −28 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/snaupd.f
  36. 0 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/snaupe.f
  37. +3 −3 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/snconv.f
  38. +4 −4 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/sneigh.f
  39. +4 −4 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/sneupd.f
  40. +3 −3 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/sngets.f
  41. +14 −14 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/ssaitr.f
  42. +4 −4 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/ssapps.f
  43. +6 −6 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/ssaup2.f
  44. +4 −4 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/ssaupd.f
  45. +3 −3 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/ssconv.f
  46. +4 −4 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/sseigt.f
  47. +3 −3 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/sseupd.f
  48. +4 −4 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/ssgets.f
  49. +15 −15 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/zgetv0.f
  50. +21 −21 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/znaitr.f
  51. +4 −4 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/znapps.f
  52. +103 −103 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/znaup2.f
  53. +110 −110 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/znaupd.f
  54. +4 −4 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/zneigh.f
  55. +6 −6 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/zneupd.f
  56. +4 −4 scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/zngets.f
  57. +0 −82 scipy/sparse/linalg/eigen/arpack/ARPACK/UTIL/Makefile
  58. +17 −4 scipy/sparse/linalg/eigen/arpack/ARPACK/UTIL/second.f
@@ -0,0 +1,82 @@
+arpack-ng - 3.1.2
+
+ * Wrong call to pdlamch was causing segfaults
+ Thanks to Kyrre Sjøbæk for finding the bug and the fix.
+ * Get rid of the mpif.h occurences in the source code (Closes: #782)
+ * Compile also PARPACK / MPI example (Closes: #783)
+ * Configure detected built-in LAPACK and BLAS, but refused to use them
+ (Closes: #784)
+ * Fixed division by zero in smlnum by usind p[d,s]lamch instead of the
+ serial. Thanks to Umberto De Giovannini.
+
+ -- Sylvestre Ledru <sylvestre.ledru@scilab-enterprises.com> Fri, 22 Jun 2012 22:05:41 +0200
+
+arpack-ng - 3.1.1
+
+ * Option --enable-maintainer-mode added to the configure
+ * --disable-mpi disables the build of parpack (Closes: #714)
+ * Switch to automake 1.11.3
+
+ -- Sylvestre Ledru <sylvestre.ledru@scilab-enterprises.com> Mon, 21 May 2012 09:08:41 +0200
+
+arpack-ng - 3.1.0
+
+ * Many bug fixes in the parpack lib. It is an old patch from upstream.
+ Thanks to Viral Shah for pinging us on this subject.
+ See the PARPACK_CHANGES file for the details.
+ * Change the bug report from arpack@caam.rice.edu to
+ http://forge.scilab.org/index.php/p/arpack-ng/issues/
+ * Provide a M4 macro (detect_arpack_bug.m4) to check if the underlying
+ arpack is buggy (ie not arpack-ng). This allows developper applications
+ to perform the check in their autotools build system (configure).
+ * Fixed a lack of appropriate bounds check in DNAUP2. Thanks to Pauli Virtanen
+ for the patch (Closes: #632)
+ * Update of the doc about TOL in dnaupd.
+ * Reorder bug fixed when eigenvectors are requested and the resulting
+ number of converged eigenvalues is less than the number requested.
+ Patches from Tim Mitchell. (Closes: #664)
+ * TESTS/ directory added and built.
+
+ -- Sylvestre Ledru <sylvestre.ledru@scilab-enterprises.com> Wed, 22 Feb 2012 10:58:39 +0100
+
+arpack-ng - 3.0.2
+
+ * Fix a long line in pznaup2.f which was showing some wrong symbols
+ (Closes: #620)
+ * README content updated regarding ARPACK-NG
+ * arpack.pc (pkg-config) file added
+ * Update the title & version in the configure.ac
+ * Always search for MPILIBS (in order to have the variable correctly set)
+ * Explicitly link against MPI fortran libs for parpack
+
+ -- Sylvestre Ledru <sylvestre.ledru@scilab-enterprises.com> Wed, 28 Dec 2011 13:45:53 +0100
+
+arpack-ng - 3.0.1
+
+ * libtool was missing (Closes: #615)
+ * Missing license information (Closes: #614)
+ * TODO added
+
+ -- Sylvestre Ledru <sylvestre.ledru@scilab-enterprises.com> Tue, 13 Dec 2011 16:33:25 +0100
+
+arpack-ng - 3.0
+
+ * Patches from Scilab
+ second_NONE used by default (TO DO replace by second in LAPACK)
+ second_NONE works with all fortrans compilers (used by default with Scilab)
+
+ sneupd.f, cneupd.f: modified for scilab add a check on nconv value (Scilab bug fix)
+ dnaupd.f: modified NEV Integer: INPUT/OUTPUT before only INPUT (Scilab bug fix)
+
+ * Patches from Octave: (Thanks to John W. EATON)
+ dneupd.f: Restore value of nconv
+ dseupd.f: Restore value of nconv
+ sseupd.f: Change GOTO target to eliminate warning about landing on end if.
+ zneupd.f: Restore value of nconv
+
+ * Compilation
+ Apply gentoo patches to use an autotools build system
+ Build system updated to build with Visual Studio 2010 + Intel fortran 2011 compiles on Windows.
+ Specify the SONAME to libarpack.so.2 (no API/ABI changes compare to version 2.0)
+
+ -- Sylvestre Ledru <sylvestre.ledru@scilab-enterprises.com> Sat, 10 Dec 2011 20:32:45 +0100
@@ -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.
+
@@ -1,46 +1,50 @@
-1. You have successfully unbundled ARPACK and are now in the ARPACK
- directory that was created for you.
+ARPACK-NG is a collection of Fortran77 subroutines designed to solve large scale
+eigenvalue problems.
-2. Recent bug fixes are included in patch.tar.gz and ppatch.tar.gz
- (only needed if you are using PARPACK also.) If you have not
- retrieved these files, please do so and place them in the
- directory right above the current directory. (They should
- be in the same directory where arpack96.tar reside).
- Use uncompress or gunzip to unzip the tar files, and use 'tar -xvf '
- to unbundle these patches. The source codes in these patches will
- overwrite those contained in arpack96.tar and parpack96.tar.
-
-3. Upon executing the 'ls | more ' command you should see
-
- BLAS
- DOCUMENTS
- EXAMPLES
- LAPACK
- README
- SRC
- UTIL
- Makefile
- ARmake.inc
- ARMAKES
+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.
- The following entries are directories:
+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.
- ARMAKES, BLAS, DOCUMENTS, EXAMPLES, LAPACK, SRC, UTIL
+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, cnaupd - complex 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.
+
-4. Example driver programs that illustrate all the computational modes,
+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 | more ' command you should see
+ Upon executing the 'ls EXAMPLES' command you should see
BAND
COMPLEX
@@ -58,37 +62,20 @@
the simplest modes of operation for the most commonly posed
standard eigenvalue problems.
- The following instructions explain how to make the ARPACK library.
+ Example programs for Parallel ARPACK may be found in the directory
+ PARPACK/EXAMPLES. Look at the README file for further information.
-5. Before you can compile anything, you must first edit and correct the file
- ARmake.inc. Sample ARmake.inc's can be found in the ARMAKES directory.
- Edit "ARmake.inc" and change the definition "home" to the root of the
- source tree (Top level of ARPACK directory)
-
- The makefile is set up to build a self-contained library which includes
- the needed BLAS 1/2/3 and LAPACK routines. If you already have the
- BLAS and LAPACK libraries installed on your system you might want to
- change the definition of DIRS as indicated in the ARmake.inc file.
-
- *** NOTE *** Unless the LAPACK library on your system is version 2.0,
- we strongly recommend that you install the LAPACK routines provided with
- ARPACK. Note that the current LAPACK release is version 3.0; if you are
- not sure which version of LAPACK is installed, pleaase compile and link
- to the subset of LAPACK included with ARPACK.
-
-
-6. You will also need to change the file "second.f" in the UTIL directory
- to whatever is appropriate for timing on your system. The "second" routine
- provided works on most workstations. If you are running on a Cray,
- you can just edit the makefile in UTIL and take out the reference to
- "second.o" to use the system second routine.
-
+ The following instructions explain how to make the ARPACK library.
-7. Do "make lib" in the current directory to build the standard library
- "libarpack_$(PLAT).a"
+4. Unlike ARPACK, ARPACK-NG is providing autotools based build system.
+ Therefor, the classical:
+ $ ./configure
+ $ make
+ $ make install
+ should work as expected.
-8. Within DOCUMENTS directory there are three files
+5. Within DOCUMENTS directory there are three files
ex-sym.doc
ex-nonsym.doc and
@@ -103,9 +90,8 @@
Richard Lehoucq at rblehou@sandia.gov
Chao Yang at cyang@lbl.gov
Kristi Maschhoff at kristyn@tera.com
-
-If you have questions regarding using ARPACK, please send email
-to arpack@caam.rice.edu.
+ Sylvestre Ledru at sylvestre.ledru@scilab-enterprises.com
+ Allan Cornet at allan.cornet@scilab.org
Good luck and enjoy.
@@ -1,83 +0,0 @@
-############################################################################
-#
-# Program: ARPACK
-#
-# Module: Makefile
-#
-# Purpose: Sources Makefile
-#
-# Creation date: February 22, 1996
-#
-# Modified: September 9, 1996
-#
-# Send bug reports, comments or suggestions to arpack.caam.rice.edu
-#
-############################################################################
-#\SCCS Information: @(#)
-# FILE: Makefile SID: 2.1 DATE OF SID: 9/9/96 RELEASE: 2
-
-include ../ARmake.inc
-
-############################################################################
-# To create or add to the library, enter make followed by one or
-# more of the precisions desired. Some examples:
-# make single
-# make single complex
-# make single double complex complex16
-# Alternatively, the command
-# make
-# without any arguments creates a library of all four precisions.
-# The name of the library is defined by $(ARPACKLIB) in
-# ../ARmake.inc and is created at the next higher directory level.
-
-SOBJ = sgetv0.o slaqrb.o sstqrb.o ssortc.o ssortr.o sstatn.o sstats.o \
- snaitr.o snapps.o snaup2.o snaupd.o snconv.o sneigh.o sngets.o \
- ssaitr.o ssapps.o ssaup2.o ssaupd.o ssconv.o sseigt.o ssgets.o \
- sneupd.o sseupd.o ssesrt.o
-
-DOBJ = dgetv0.o dlaqrb.o dstqrb.o dsortc.o dsortr.o dstatn.o dstats.o \
- dnaitr.o dnapps.o dnaup2.o dnaupd.o dnconv.o dneigh.o dngets.o \
- dsaitr.o dsapps.o dsaup2.o dsaupd.o dsconv.o dseigt.o dsgets.o \
- dneupd.o dseupd.o dsesrt.o
-
-COBJ = cnaitr.o cnapps.o cnaup2.o cnaupd.o cneigh.o cneupd.o cngets.o \
- cgetv0.o csortc.o cstatn.o
-
-ZOBJ = znaitr.o znapps.o znaup2.o znaupd.o zneigh.o zneupd.o zngets.o \
- zgetv0.o zsortc.o zstatn.o
-
-.f.o:
- $(FC) $(FFLAGS) -c $<
-
-all: single double complex complex16
-
-single: $(SOBJ)
- $(AR) $(ARFLAGS) $(ARPACKLIB) $(SOBJ)
- $(RANLIB) $(ARPACKLIB)
-
-double: $(DOBJ)
- $(AR) $(ARFLAGS) $(ARPACKLIB) $(DOBJ)
- $(RANLIB) $(ARPACKLIB)
-
-complex: $(COBJ)
- $(AR) $(ARFLAGS) $(ARPACKLIB) $(COBJ)
- $(RANLIB) $(ARPACKLIB)
-
-complex16: $(ZOBJ)
- $(AR) $(ARFLAGS) $(ARPACKLIB) $(ZOBJ)
- $(RANLIB) $(ARPACKLIB)
-#
-sdrv:
-
-ddrv:
-
-cdrv:
-
-zdrv:
-
-#
-# clean - remove all object files
-#
-clean:
- rm -f *.o a.out core
-
Oops, something went wrong.

0 comments on commit 475a5d4

Please sign in to comment.