Skip to main content

Questions tagged [lapack]

LAPACK (Linear Algebra PACKage) is a software library package to solve linear algebra equations. LAPACK is written in Fortran 90.

lapack
1 vote
1 answer
60 views

Why does using `extern` allow for runtime linking?

I have this code snippet: extern crate blas; extern crate openblas_src; pub fn eigen_decompose_symmetric_tri_diagonal( main_diag: &Vec<f64>, sub_diag: &Vec<...
Makogan's user avatar
  • 9,191
2 votes
1 answer
78 views

QR decomposition successful but has high errors

I have two implementations of QR decomposition in a Fortran code. One is a custom QR decomposition function: ! QR decomposition solving for vector B in AX = B subroutine qr_eqsystem(A, B, X, M, N, ...
Jesse Feng's user avatar
0 votes
0 answers
47 views

How to setup rust LAPACK wrappers?

This has been asked before with no good answer. As an MVE one can try this: use lapack::*; fn main() { let n = 3; let mut a = vec![3.0, 1.0, 1.0, 1.0, 3.0, 1.0, 1.0, 1.0, 3.0]; let mut w =...
Makogan's user avatar
  • 9,191
0 votes
1 answer
83 views

Numpy/Scipy BLAS/LAPACK Linking on macOS (with Apple Accelerate)

Question I am trying to find out if the latest version of NumPy (2.0.0) is taking advantage of the updated Accelerate BLAS/LAPACK library, including ILP64. Numpy Numpy in their 2.0.0 release added ...
Wasserwaage's user avatar
0 votes
0 answers
26 views

Quad Precision Version of DSYEVD Routine in Fortran Compilers

I am currently working on a project that requires computing all eigenvalues and, optionally, eigenvectors of a real symmetric matrix with very high precision. I have been using the DSYEVD routine. ...
Akhil Akkapelli's user avatar
1 vote
0 answers
52 views

Change the BLAS version used by R

I am currently having issues with the 'Eigen()' function in R. It was mentioned that I should try using 'OpenBLAS'. How abouts should I go about installing this and make R use this version of BLAS. I ...
Dylan Dijk's user avatar
0 votes
0 answers
86 views

How can I install LAPACK for gfortran compiler in Visual studio code?

Can someone please tell me proper instructions to install LAPACK for gfortran compiler in Visual studio code. I tried whatever l found on google search and there is not a single proper instructions ...
Dilpreet sandhu's user avatar
0 votes
0 answers
22 views

Unable to link pre-built LAPACKE library in CMake C project [duplicate]

I would like to use CI for building my C project that I manage with cmake. The project will heavily employ Fortran's BLAS and LAPACK through CBLAS and LAPACKE. The CMakeLists.txt looks like this: ...
rbaleksandar's user avatar
  • 9,334
0 votes
1 answer
49 views

Why is there no equivalent of GEEV in scalapack?

I am hoping to find the eigenvalues of a large complex non-hermitian matrix using ScaLAPACK. I cannot seem to find any documentation for such a general eigensolver (presumably the name would be ...
Stephen Gant's user avatar
0 votes
0 answers
38 views

How do I resolve a build error when installing the atlas-lapack package?

I'm installing the atlas-lapack package on ArchLinux https://aur.archlinux.org/packages/atlas-lapack Installation is as follows: git clone https://aur.archlinux.org/atlas-lapack.git cd atlas-lapack ...
testovich's user avatar
0 votes
0 answers
37 views

Compiling Clapack for find_package ( LAPACK

I have to use Clapack as a replacement for blas/lapack in an environment without Fortran compiler. However, some subprojects use find_package ( LAPACK to detect lapack which always fails. Only ...
Desperado17's user avatar
0 votes
0 answers
24 views

How to extract residual sum of squares from C LAPACKE_sgelss with LAPACK_ROW_MAJOR

I am using MKL LAPACKE_sgelss to compute least square solution to $Ax = b_j$, where $j \in [0 , nrhs) $, A is $m \times n$ matrix and $n < m < nrhs$. I somehow managed to extract the solution ...
VojtaK's user avatar
  • 610
0 votes
0 answers
189 views

Using Lapack in Fortran with CMake Build

I am having some trouble compiling my Fortran code with lapack using CMake - I am new to all of this. I have blas and lapack installed in /usr/lib/x86_64-linux-gnu/ and am using the following ...
Kyle 's user avatar
  • 145
0 votes
0 answers
30 views

LAPACK: Porting loop of dlarfx calls to dlarfb

At the moment I try to refactor a code which consists of a loop of dlarfx calls to a single dlarft/dlarfb call to improve performance. The code transform a matrix A which is part of a product P * A * ...
Jan's user avatar
  • 1
0 votes
0 answers
266 views

Install LAPACK and locate library

I am completely new to Fortran90 and I need to install LAPACK for this code that I want to run. Looking at the make.inc file of the code, I need to specify the relevant directory that leads to the ...
I_need_answers's user avatar

15 30 50 per page
1
2 3 4 5
70