Skip to main content

RALEIGH: RAL EIGensolver for real symmetric and Hermitian problems

RALEIGH is a Python implementation of the block Jacobi-conjugated gradients algorithm for computing several eigenpairs (eigenvalues and corresponding eigenvectors) of large scale real symmetric and Hermitian problems.

Key features

  • Can be applied to both standard eigenvalue problem for a real symmetric or Hermitian matrix A and generalized eigenvalue problems for matrix pencils A - λ B or A B - λ I with positive definite real symmetric or Hermitian B.
  • Can employ either of the two known convergence improvement techniques for large sparse problems: shift-invert and preconditioning.
  • Can also compute singular values and vectors, and is actually an especially efficient tool for Principal Component Analysis of dense data, owing to the high efficiency of matrix multiplications on modern multicore and GPU architectures.
  • The user can specify the number of wanted eigenvalues
    • on either margin of the spectrum (e.g. 5 on the left, 10 on the right)
    • of largest magnitude
    • on either side of a given real value
    • nearest to a given real value
    • If the number of eigenvalues needed is not known in advance (as is normally the case with PCA), the computation will continue until user-specified stopping criteria are satisfied (e.g. PCA approximation to the data is satisfactory).
  • The core solver is written in terms of abstract vectors, owing to which it will work on any architecture verbatim, provided that basic linear algebra operations on vectors are implemented (currently MKL and CUDA implementations are provided with the package, in the absence of these libraries Numpy algebra being used).

Dependencies

For best performance, install MKL 10.3 or later (or, on Windows, numpy+mkl). On Linux, the folder containing libmkl_rt.so must be in LD_LIBRARY_PATH. On Windows, the one containing mkl_rt.dll must be in PATH. Large sparse problems can only be solved if MKL is available, PCA and other dense problems can be solved without it.

To use GPU (which must be CUDA-enabled), NVIDIA GPU Computing Toolkit needs to be installed. On Linux, the folder containing libcudart.so must be in LD_LIBRARY_PATH.

Basic usage

Subfolder drivers contains user-friendly SciPy-like interfaces to core solver working in terms of NumPy and SciPy data objects. Subfolder examples contains scripts illustrating their use, as well as a script illustrating basic capabilities of the core solver.

Documentation

Basic usage of the package is briefly described in docstrings of modules in folder drivers (the best starting point to learn about RALEIGH usage) and example scripts. Advanced users will find the description of basic principles of RALEIGH's design in core/solver.py.

The mathematical and numerical aspects of the algorithm implemented by RALEIGH are described in the papers by E. E. Ovtchinnikov in J. Comput. Phys. 227:9477-9497 and SIAM Numer. Anal. 46:2567-2619.

Issues

Please use GitHub issue tracker to report bugs and request features.

License

RALEIGH is released under 3-clause BSD licence.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

raleigh-1.0.3.tar.gz (44.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

raleigh-1.0.3-py3-none-any.whl (57.1 kB view details)

Uploaded Python 3

File details

Details for the file raleigh-1.0.3.tar.gz.

File metadata

  • Download URL: raleigh-1.0.3.tar.gz
  • Upload date:
  • Size: 44.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.14.2 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.4.3

File hashes

Hashes for raleigh-1.0.3.tar.gz
Algorithm Hash digest
SHA256 cb5b8319f49b999fef524ad50dafba3e04ea8bcd1885884936b78a0e9f7b4d90
MD5 a76cbd74363ecfb0b861d4843ecbd4a5
BLAKE2b-256 a8a82d11c130f0c605fe47b5ebc2ff90246379f7a4ffa170ef5aaacf7972ec8c

See more details on using hashes here.

File details

Details for the file raleigh-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: raleigh-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 57.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.14.2 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.4.3

File hashes

Hashes for raleigh-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c8561b5e23718df1ca672ca1e1a3bc51bb0cff632a7f074262dfd1bf0f13ab4b
MD5 acd8e5c1f93eff9a7026863270a5cc44
BLAKE2b-256 7383a0e20614a4d4c8df6ec59a793306dce8ae0f181eaaa1d3dbc648038fe49d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page