Skip to main content
Filter by
Sorted by
Tagged with
3 votes
1 answer
144 views

Related post: Compile numpy WITHOUT Intel MKL/BLAS/ATLAS/LAPACK Recent versions of numpy use meson for build configuration, I can build numpy from source but failed to exclude BLAS/LAPACK/... deps. ...
nochenon's user avatar
  • 376
1 vote
0 answers
75 views

Description I have a deterministic program that uses jax, and is heavy on linear algebra operations. I ran this code on CPU, using three different CPUs. Two MacOs Systems (one on Sequoia (M1 Pro), ...
yousef elbrolosy's user avatar
0 votes
0 answers
42 views

I find that MKL and OpenBLAS give slightly different SVD decompositions. I have this declaration of dgesvd, extern "C" { void dgesvd_(char const& jobu, char const& jobvt, int ...
alfC's user avatar
  • 16.8k
0 votes
0 answers
18 views

I've been trying to figure out whether the newer version of BLAS/LAPACK are backward compatible with the older releases but I can't find anything on the netlib website or docs. Are they compatible ...
lll's user avatar
  • 19
0 votes
0 answers
39 views

What is the common way to configure lapack for CMake project on Windows? I have built lapack from sources and installed it. CMake is able to find it via find_package(LAPACK COMPONENTS LAPACKE REQUIRED)...
Victor's user avatar
  • 35
1 vote
1 answer
104 views

I wrote a Fortran code below to use the ZHEEV function to diagonalize the matrix and obtain the eigenvalue. SUBROUTINE DOTPRODUCT(v1,v2,v3) IMPLICIT NONE INTEGER, PARAMETER :: dp = ...
Kieran's user avatar
  • 271
1 vote
0 answers
188 views

I am working on a scientific package in C and would like to incorporate a few LAPACK functions, which I aim to compile on my M1 MacBook running macOS 15.2. I understand that macOS uses Apple's ...
Pavithran Iyer's user avatar
0 votes
0 answers
80 views

I am trying to install Octave 9.2.0 in a specific directory since I'm not root, including BLAS, LAPACK and FFT3W. I work on RedHat 7. The BLAS and LAPACK libraries are available under openblas which I ...
Ste3191's user avatar
0 votes
1 answer
99 views

I would like to call the syevd Lapack95 subroutine for a non-contigous array as follows: real :: mat(15000, 15000), vec(15000) mat=1.d0 associate(eig_vects=>mat(:10000,:10000),eig_vals=>vec(:...
TobiR's user avatar
  • 203
1 vote
1 answer
46 views

I am using LAPACKE_chbevd on AGX Orin, which is an embedded device based on arm, to calculate the eigenvalues and eigenvectors of a matrix, but the results are incorrect. From LAPACKE_chbevd (ARM ...
Weimin Chan's user avatar
0 votes
0 answers
69 views

I am trying to solve problems of the form Ax = b by using the function sgesvx. However, it is returning a wrong solution for one test case: - 0.33333 * x_1 - 0.06667 * x_2 = - 0.133333, which is ...
Matheus Diógenes Andrade's user avatar
0 votes
0 answers
108 views

I am writing a simple function to calculate log determinate in C++ using LAPACK. I write a unit test in C++, and it works fine. But when I use pybind and call this function in python with the same ...
Lu Ezra's user avatar
0 votes
1 answer
55 views

I am trying to compute the eigenvalues for the Hamiltonian for the 1D Ising Model in a Transverse Field using C in VS Studio. However, I need to use the lapack library and I am struggling with CMAKE ...
samuelmsoares's user avatar
0 votes
0 answers
98 views

I am trying to benchmark the blas routines dgemv and dgemm in Fortran. For that I have written this simple codes: matmul.f90: program test ...
pablo's user avatar
  • 69
0 votes
1 answer
90 views

When building my university project on two different machines I experienced issues with LAPACK and Intel's implementation in MKL. I already figured out the main problem: I used the LAPACK headers from ...
Moritz Sigg's user avatar
3 votes
1 answer
151 views

I was trying to replace Scipy's eigh routine in my cython code with C-level LAPACK. Essentially I want to compute eigenvectors corresponding to the largest and smallest eigenvalues of a hermitian ...
mgns's user avatar
  • 91
1 vote
1 answer
101 views

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,991
2 votes
1 answer
134 views

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
1 vote
0 answers
131 views

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,991
0 votes
1 answer
1k views

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
1 vote
0 answers
316 views

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
349 views

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
25 views

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,862
0 votes
1 answer
110 views

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
67 views

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
  • 1,073
0 votes
0 answers
46 views

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
  • 708
0 votes
0 answers
467 views

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
1k views

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
0 votes
1 answer
370 views

I'm trying to install Ipopt on a Linux machine, however I dont have any sudo rights. I think the Lapack installation was succesful (is there any way I can check this?). Due to not having sudo rights, ...
CodeGuy's user avatar
  • 29
1 vote
1 answer
258 views

I am working on eigenvectors with lapacke in C code and I was wondering how are they built when the the eigenvalue has a imaginary part? I mean I have to malloc on the same dimension as if they were ...
Brunodu94's user avatar
0 votes
0 answers
81 views

compiled a program with 'call segesv()' to solve system of 3 Equates in 3 Vars and that works fine so I know I'm linked to Blas and Lapack however, 'call SASUM' also compiles (I pass a vector of ...
Broglie's user avatar
0 votes
0 answers
52 views

I am having issues running Armadillo library in my Code::Blocks 20.03 on Windows. I am always stuck on some kind of error and would really appreciate help. I have downloaded the LAPACK libraries, the ...
new_and_stuck's user avatar
0 votes
1 answer
45 views

I am getting an error while computing the inverse of a matrix using ATLAS library. I get the error output: On entry to DTRSM parameter number 9 had an illegal value Aborted (core dumped) I have a ...
S Maiti's user avatar
0 votes
1 answer
638 views

I'm trying to run a fortran script that includes the function dgesvx(). I ran the script as gfortran -lblas -llapack -o cft numtype.o cfapprox.o cftest.o and the output is gfortran -lblas -llapack -o ...
Mr. Cohen's user avatar
0 votes
0 answers
93 views

I have DFT(density functional theory) code written in Fortran. Inside this program I use zheev function from lapack to diagonalize overlap matrix (S). I compile the code in two different targets (a) ...
Prokop Hapala's user avatar
0 votes
0 answers
302 views

I am running DNN model on synthetic datasets to draw decision boundaries polytope in order to study the tropical geometrical perspective of synthetic adversarial attack. And getting the following ...
jerry gill's user avatar
0 votes
0 answers
323 views

Introduction: I'm using the Intel Math Kernel Library (MKL) functions LAPACKE_dgeqrf and LAPACKE_dorgqr for generating the QR decomposition of a general input matrix A of size (m x n) stored in row-...
Dimitrios Bouzas's user avatar
-1 votes
1 answer
65 views

I would like the lapack package for some very useful functions which I would not like/being able to implement myself that well. The problem is that I cannot pass my custom Matrix class to the lapack ...
Alessandro's user avatar
2 votes
0 answers
49 views

I'm going to show you an example how to compute generalized eigenvalue problem in C with CLapack. Here I have two matrices. #define row 5 #define column 5 float A[row * column] = { 9.5605, 6.8163, -...
euraad's user avatar
  • 2,887
0 votes
1 answer
96 views

I'm using LAPACK and I'm getting two types of identical pivot values. I'm using the LAPACK routine sgetrf to compute the LU-factorization A = L*U*P This C code below gives the same result as my ...
euraad's user avatar
  • 2,887
1 vote
2 answers
179 views

I'm currently working my way through converting some C++ code from a paper to Python (a language I'm far more familiar with). I've gotten all the values to this point in the code to match (I managed ...
GraphicGoose's user avatar
0 votes
1 answer
140 views

I am going through some old Fortran code and there are frequent calls to the LAPACK routine dsyevd, which takes an argument IWORK, expected to be an integer array. In this code, IWORK is often ...
Jasper's user avatar
  • 199
1 vote
0 answers
124 views

I'm trying to numerically compute the full set of eigenvectors of a large dense matrix, with the freedom to specify the error tolerance and maximum number of iterations. (The default error tolerance ...
Higglet's user avatar
  • 11
0 votes
0 answers
103 views

I'm working on a linear algebra problem where I am given a real, symmetric matrix A. For any such matrix, we can compute its Hessenberg decomposition, A = QHQ^T, where Q is an orthogonal matrix and H ...
miggle's user avatar
  • 101
0 votes
0 answers
114 views

I was trying to compile a program dependent on LAPACK. During compilation this error message popped up: FAILED: /home/parallels/qp2/src/basis_correction/basis_correction gfortran -g -ffree-line-...
chikako's user avatar
  • 13
0 votes
1 answer
185 views

I am building my application using OpenMPI (built with LLVM) and few other external libraries including netcdf-fortran, BLAS and LAPACK. The files compile without any problem, but in the last stage ...
Redshoe's user avatar
  • 301
0 votes
1 answer
274 views

I'm computing a LU-Factorization with Lapack and compare the results. I use either dgetrf or dgetf2. Comparing the results to the corresponding function lu(...) in Matlab, they are identical as long ...
David's user avatar
  • 21
0 votes
0 answers
1k views

I have one question when I installed deal.II (version 9.5.0-pre) during compiling. I use: cmake -DCMAKE_INSTALL_PREFIX=/usr/local/dealII -DLAPACK_FOUND=true -DDEAL_II_WITH_UMFPACK=ON -...
Goenitzer's user avatar
0 votes
0 answers
98 views

After about an hour, I need to ask for some help. I've downloaded the math benchmark Lapack to run within a few CPU configurations for the simulation tool Gem5, which lets you build X86 computers and ...
Nick Felker's user avatar
0 votes
0 answers
142 views

I work with a symmetric matrix and only store its upper triangle (the lower triangle gets allocated but never initialized or touched). Now I need to add a vector to the first row of this matrix and ...
M0M0's user avatar
  • 236

1
2 3 4 5
21