8000 GitHub - PythonOptimizers/qr_mumps.py at 39d789a57334ae220f14ce21e546fa987d9f82ef
[go: up one dir, main page]

Skip to content

PythonOptimizers/qr_mumps.py

Repository files navigation

qr_mumps.py

Build Status

Cython/Python inferface to qr_mumps (A multithreaded multifrontal QR solver).

It supports all four types (single real, double real, single complex and double complex).

Dependencies

For the Python version:

For the Cython version, include everything needed for the Python version and add:

If you intend to generate the documention:

  • Sphinx
  • sphinx_bootstrap_theme.

To run the tests:

  • nose.

Optional dependencies

qr_mumps.py provides facilities for sparse matrices coming from the CySparse library. If you want to use these facilities, set the location of the CySparse library in your site.cfg file.

Installation

  1. You need to install qr_mumps. Follow instructions on their website. If you are under OS X, a Homebrew formula is available. Follow the instructions to install Homebrew. Then, qr_mumps and its dependencies can be installed automatically in /usr/local by typing

     brew tap homebrew/science
    
     brew install qr_mumps
    
  2. Clone this repo

  3. Copy site.template.cfg to site.cfg and modify site.cfg to match your configuration

  4. Install qr_mumps.py

    • Python version

         python setup.py install
      
    • Cython version

         python generate_code.py
         python setup.py build
         python setup.py install
      

Running examples

TODO:

  • Add refine method
  • Add a Q-less derived class
  • Update examples
  • Update docstrings
  • ensure all code is PEP8 and PEP257 compliant

About

A Cython/Python interface to qr_mumps.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0