Questions tagged [lapack]

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

LAPACK provides routines for solving systems of simultaneous linear equations, least-squares solutions of linear systems of equations, eigenvalue problems, and singular value problems. LAPACK is written in Fortran 90.

1025 questions
4
votes
1 answer

Link against openblas; do I need still Lapack?

I do compile Ipopt with openblas using the linkage: ./configure --with-blas-incdir="-L/home/moritz/build/CoinIpopt_test/ThirdParty/openblas/include/" --with-blas-lib="-L/home/moritz/build/CoinIpopt_test/ThirdParty/openblas/lib/…
Moritz
  • 5,130
  • 10
  • 40
  • 81
4
votes
1 answer

How to build hmatrix with BLAS and LAPACK under Windows?

Windows 10 x64 Cabal 1.22 I'm following steps in Windows section https://github.com/AlbertoRuiz/hmatrix/blob/master/INSTALL.md I downloaded hmatrix sources and gsl-lapack-windows.zip. When I try to install hmatrix…
The_Ghost
  • 2,070
  • 15
  • 26
4
votes
1 answer

DGESDD Lapack routine loading from numpy failed

I'm having trouble using the pinv function from the numpy.linalg module. I want to invert a rectangular matrix A: try: Binv = np.linalg.pinv(A) except: print("an error occurs") When I run the code no exception is raised, but in my Python…
clemescolle
  • 71
  • 1
  • 5
4
votes
1 answer

Matrix-vector product with dgemm/dgemv

Using Lapack with C++ is giving me a small headache. I found the functions defined for fortran a bit eccentric, so I tried to make a few functions on C++ to make it easier for me to read what's going on. Anyway, I'm not getting th matrix-vector…
swirld
  • 89
  • 1
  • 7
4
votes
1 answer

Convert symmetric matrix between packed and full storage?

I'm new to numerical linear algebra, and I have just started using LAPACK and BLAS. Is there a routine that can copy/convert a symmetric matrix between packed and full storage? I have found dtrttp, which I can use to convert a double-precision full…
KQS
  • 1,547
  • 10
  • 21
4
votes
0 answers

QtCreator C++ Linking Issue with Armadillo/Lapack/Blas

Programming newbie here so please bear with me! I am investigating using Armadillo (with Lapack and Blas or OpenBlas) in a custom C++ Qt GUI project to do some rather heavy matrix arithmetic and manipulations and am having a few issues that reading…
Jas
  • 73
  • 1
  • 6
4
votes
0 answers

Meaning of ISUPPZ in LAPACK's DSYEVR

I want to calculate the eigensystem to some large real symmetric matrices and found the routine DSYEVR should suit my needs. dsyevr (JOBZ, RANGE, UPLO, N, A, LDA, VL, VU, IL, IU, ABSTOL, M, W, Z, LDZ, ISUPPZ, WORK, LWORK, IWORK, LIWORK, INFO) While…
Stefan
  • 2,460
  • 1
  • 17
  • 33
4
votes
1 answer

Error at lapack cgesv when matrix is not singular

This is my first post. I usually ask classmates for help, but they have a lot of work now and I'm too desperate to figure this out on my own :). I am working on a project for school and I have come to a point where I need to solve a system of linear…
Jan Malec
  • 96
  • 4
4
votes
3 answers

How to make Armadillo work on Windows?

I cannot make Armadillo 4.3 work on Windows. The library armadillo/include is included and I run g++ "-LC:\\Armadillo\\BLAS_Lapack" -o1 -o test.exe test.o -llapack -lblas, then I get the following error…
MunHo
  • 81
  • 1
  • 1
  • 7
4
votes
0 answers

Is there a BLAS or LAPACK subroutine for symmetric matrix multiplication that takes advantage of symmetry?

I'm hoping someone can help me out. I am looking for a BLAS or LAPACK subroutine specifically for matrix multiplication of two large and identical symmetric matrices. So far, I have tested dysrk and dgemm routines, and both are extremely slow. I am…
tinyteeth
  • 199
  • 7
4
votes
1 answer

Python pip library search paths

I'm trying to install the python package cvxopt via pip into a virtual environment on a Centos 6 system. Since lapack is a prerequisite, and since I don't have superuser access to the system, I've installed lapack locally using the following: $…
Tom
  • 18,685
  • 15
  • 71
  • 81
4
votes
3 answers

Illegal instruction debug

I've compiled a whole suite of bioinformatics analysis. (https://github.com/iontorrent/TS) It has a lot of dependencies (armadillo, blas, lapack, atlas etc..). On compilation I had no errors. The problem is that some of the executable file created…
gmarco
  • 535
  • 3
  • 8
  • 16
4
votes
1 answer

Installing numpy on Mac OS X Mavericks with alternate LAPACK/BLAS

I'm trying to parallelize some Python code that uses NumPy extensively with the Python multiprocessing package. Unfortunately, as noted here, the default linear algebra libraries provided by Apple (Accelerate/Veclib) cannot be run in parallel. So…
Josh Burkart
  • 438
  • 4
  • 12
4
votes
1 answer

LAPACKE eigen solution is inaccurate. How to improve it?

I am in need of a C eigenproblem solver under Ubuntu. To this end I gave LAPACKE from lapack 3.5.0 a shot and actually managed to write the lower example program which's example I constructed from the orthogonal system and diagonal matrix EV = [ …
Markus-Hermann
  • 789
  • 11
  • 24
4
votes
1 answer

calculating inverse matrix using lapack

I want to calculate inversion of a complex matrix. It occurs to me that lapack contains many routines related to algebraic calculation, so I found the subroutine ZGETRI. Unexpectedly, after compiling the following code with "ifort -o out…
someone
  • 359
  • 2
  • 5
  • 18