Files
arpack-ng/EXAMPLES
turboencabulator 998b89840e Autotools cleanup (#172)
* Version numbers need to be kept up-to-date

* arpack.pc:  includedir should match the corresponding ./configure option

* Override pkgincludedir instead of creating a new directory variable

* Supplying arguments to AC_OUTPUT is obsolete behavior

* Distribute the entire source regardless of build options

Otherwise you won't be able to build ICB/MPI/etc. if the tarball wasn't
originally built with those options, because those files will be
missing.  Missing files leads to more breakage.

DIST_SUBDIRS is handled automatically.

* Clean up conditional recursion into subdirectories

Don't need to check for ICB inside a subdirectory if it won't be
descended into from the parent directory.

* Fix various include path problems

Should be using $(top_srcdir), not $(top_builddir).
-I flags go in CPPFLAGS, not CFLAGS nor FCFLAGS.

* Minor rearrangement of autoconf macros

Put all AC_CONFIG_*s together near the end.
Put all AM_CONDITIONALs together near the end.  These should never be
conditionally expanded.

* Run Fortran flag tests against the correct compiler

* Simplify --enable arguments

AC_HELP_STRING has been replaced by AS_HELP_STRING.
Setting enable_foo to $enableval is an unnecessary self-assignment.

* Fix missing files in the distribution

* Simplify creation of arpackdef.h

The ax_gen_arpack.m4 macro would add a bunch of extra garbage to
arpackdef.h, such as PACKAGE_NAME, VERSION, HAVE_BLAS, etc. that would
clash if any other project tried to #include it.  Shorten it to only the
one #define that we care about.

This file is placed in $(top_builddir) so add that path to CPPFLAGS.
-I$(top_builddir) should be first.  Note that autoheader would do this,
but now we don't need to use autoheader.

Move #include lines inside the include guards.

* Need PKG_PROG_PKG_CONFIG if first PKG_CHECK_MODULES is conditional

* Populate the version and URL fields of arpack.pc from CMake

Still not installing this yet because it doesn't contain full dependency
info for LAPACK/BLAS.

* Bump version to 3.7.0

* Update shared library version

Updating the minor number (libtool "age") due to the new dbgini/staini
symbols.  Note that CMake doesn't follow libtool's current:revision:age
numbering scheme, so care should be taken with any future changes to
make sure they generate files with the same numbers.

* Enable checks for eigen3 headers
2019-01-10 11:12:29 +01:00
..
2018-06-23 15:17:57 +02:00
2018-06-23 15:17:57 +02:00
2019-01-10 11:12:29 +01:00
2018-06-23 15:17:57 +02:00
2018-06-23 15:17:57 +02:00
2019-01-10 11:12:29 +01:00
2011-10-23 22:13:59 +02:00

1. Purpose 
   -------
   This directory contains example drivers that call ARPACK subroutines
   __aupd.f and __eupd.f to solve various eigenvalue problems using regular, 
   shift-invert or other special modes (such as Cayley, Bucking etc.)  
   These drivers illustrate how to set various ARPACK parameters to solve 
   different problems in different modes.  They provide a guideline on how 
   to use ARPACK's reverse communication interface.  The user may modify
   any one of these drivers, and supply his/her own matrix vector
   multiplication routine to solve the problem of his/her own interest.
   These drivers are installed in the following subdirectories.

   SIMPLE  ---   simple drivers for beginners.
   SYM     ---   drivers for symmetric eigenvalue problems
   NONSYM  ---   drivers for nonsymmetric eigenvalue problems
   COMPLEX ---   drivers for eigenvalue problem with complex matrices
   BAND    ---   drivers for eigenvalue problem with BANDED matrices 
   SVD     ---   drivers for computing singular values and vectors
                 of a m by n matrix.


2. Getting started
   ---------------
   If you have never used ARPACK before, it might be a good idea
   to go into the subdirectory SIMPLE, and read one of the
   simple drivers [s,d]ssimp.f, [s,d]nsimp.f [c,z]nsimp.f
   first.  The documentation explains how to use ARPACK in 
   considerable detail.  To run these drivers, you may use the 
   makefile in that directory and issue, for example, 
   "make sssimp", and then execute using "sssimp"

   The output should look like: 

   _saupd: number of update iterations taken
   -----------------------------------------
      1 -    1:     5


   _saupd: number of "converged" Ritz values
   -----------------------------------------
      1 -    1:     4
  
  
   _saupd: final Ritz values
   -------------------------
      1 -    4:   8.912E+02   9.198E+02   9.198E+02   9.484E+02


   _saupd: corresponding error bounds
   ----------------------------------
      1 -    4:   4.686E-11   1.905E-08   1.050E-10   5.700E-19



     ==========================================
     = Symmetric implicit Arnoldi update code =
     = Version Number: 2.1                    =
     = Version Date:   11/15/95               =
     ==========================================
     = Summary of timing statistics           =
     ==========================================


     Total number update iterations             =     5
     Total number of OP*x operations            =    78
     Total number of B*x operations             =     0
     Total number of reorthogonalization steps  =    78
     Total number of iterative refinement steps =     0
     Total number of restart steps              =     0
     Total time in user OP*x operation          =     0.066667
     Total time in user B*x operation           =     0.000000
     Total time in Arnoldi update routine       =     1.166667
     Total time in ssaup2 routine               =     1.166667
     Total time in basic Arnoldi iteration loop =     0.216667
     Total time in reorthogonalization phase    =     0.066667
     Total time in (re)start vector generation  =     0.000000
     Total time in trid eigenvalue subproblem   =     0.050000
     Total time in getting the shifts           =     0.000000
     Total time in applying the shifts          =     0.900000
     Total time in convergence testing          =     0.000000

   Ritz values and relative residuals
   ----------------------------------
               Col   1       Col   2
    Row   1:    8.91167E+02   6.95597E-07
    Row   2:    9.19781E+02   3.30156E-07
    Row   3:    9.19781E+02   4.25717E-07
    Row   4:    9.48395E+02   3.20519E-07


    _SSIMP
    ======

    Size of the matrix is   100
    The number of Ritz values requested is   4
    The number of Arnoldi vectors generated (NCV) is   20
    What portion of the spectrum: LM
    The number of converged Ritz values is   4
    The number of Implicit Arnoldi update iterations taken is   5
    The number of OP*x is   78
    The convergence criterion is     5.96046E-08

  
3. Convention 
   ----------
   The naming convention for each driver is explained in
   the README file in each subdirectory. 

4. LAPACK & BLAS routines
   ----------------------
   All ARPACK codes assume the use of LAPACK version 2.0 codes.
   LAPACK and BLAS routines needed for each driver program are
   listed at the beginning of the documentation in each driver 
   program.