Git Product home page Git Product logo

lapack95's Introduction

LAPACK95

  • LAPACK95 - [The HTML version of the LAPACK95 Users' Guide is now available, here](#the-html-version-of-the-lapack95-users-guide-is-now-available-herehttpwwwnetliborglapack95lug95) - [Index of LAPACK95 routines is here](#index-of-lapack95-routines-is-herehttpwwwnetliborglapack95l90indexl90indexhtml)

LAPACK95 is a Fortran95 interface to LAPACK. This repository provides a facility to build LAPACK95 by using CMake build system. This repository is build mainly for satisfying the dependencies to build EASIFEM library. I would recommend you to use scivision's Lapack95 library instead of this one, which is avaiable here.

The HTML version of the LAPACK95 Users' Guide is now available, here

Index of LAPACK95 routines is here

Build

  • The build process produces library called liblapack95 and modules. The archive library can be shared or static.
  • The library is build for single and double precision.
  • Complex data type is not included.

CMake

Following options are defined:

  • -DUSE_OPENMP=ON/OFF : to enable and disable openmp
  • -DCMAKE_BUILD_TYPE=Release/Debug for release or debug type build
  • BUILD_SHARED_LIBS=ON/OFF to build shared or static lib
  • -DCMAKE_INSTALL_PREFIX, location of the installion directory
git clone https://github.com/vickysharma0812/LAPACK95.git
cd LAPACK95
cmake -DUSE_OPENMP=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=${EASIFEM_EXTPKGS} -S ./ -B ./build
cmake --build ./build --target install

Python

git clone https://github.com/vickysharma0812/LAPACK95.git
cd LAPACK95
python3 install.py

Examples

! Double precision
use la_precision, only: wp => dp
use f95_lapack, only: la_gesv

real(wp) :: A(3,3), b(3)

call random_number(A)
b(:) = 3*A(:,1) + 2*A(:,2) - A(:,3)

! Solve Ax=b, overwrite b with solution
call la_gesv(A,b)

print *, b
end program

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.