Git Product home page Git Product logo

spral's Introduction

SPRAL: The Sparse Parallel Robust Algorithm Library

An open-source (BSD) library for sparse linear algebra and associated algorithms. It is primarily developed by the Numerical Analysis group at STFC Rutherford Appleton Laboratory ([email protected]).

Documentation

For detailed information about the SPRAL packages and API see Fortran documentation or C documentation.

Packages

  • LSMR - Solves sparse least squares problems using LSMR algorithm.
  • RANDOM - Pseudo-random number generator.
  • RANDOM_MATRIX - Generates random matrices for testing purposes.
  • RUTHERFORD_BOEING - Read and write matrices in Rutherford-Boeing format.
  • SCALING - Calculates matrix scalings through a variety of algorithms
  • SSIDS - Sparse Symmetric Indefinite Direct Solver.
  • SSMFE - Sparse Symmetric Matrix-Free Eigensolver. Uses Jacobi-conjugate preconditioned gradients method.

If the functionality you are looking for is not supported, it may be offered by our proprietary licenced HSL Library (free to academics).

Installation

Please note that we require METIS and hwloc to be installed (hwloc should be compiled with CUDA support if building for GPU).

We use a standard autotools-based build:

./autogen.sh # If compiling from fresh git checkout
mkdir build
cp nvcc_arch_sm.c build/ # If building for GPU
cd build
../configure --with-metis="-L/path/to/metis -lmetis"
make
make install

Usage at a Glance

When using SSIDS, ensure the following environment variables are set:

export OMP_CANCELLATION=TRUE
export OMP_NESTED=TRUE
export OMP_PROC_BIND=TRUE

spral's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.