Questions tagged [openblas]

Questions regarding OpenBLAS, an open source library that implements BLAS API and has hand-crafted optimizations for specific processor types.

OpenBLAS is an open source implementation of BLAS, the Basic Linear Algebra Subprograms library, optimized for high performance on multi-core x86-64 processors. It was forked from the GotoBLAS2-1.13 BSD version and was tuned to have performance similar to Intel MKL.

277 questions
0
votes
0 answers

How to fix "libopenblas.dll was not found" system error on visual studio C++?

I want to use the armadillo library in my C++ code. I downloaded it, and copied both the "include" and "lib_win64" folders into a new folder in my solution folder called "Dependencies". The include folder contained another folder within which…
luca
  • 55
  • 6
0
votes
1 answer

"Illegal value" of blas functions called by Armadillo

I'm using Armadillo (10.4.1) in Visual Studio 2019 to do some matrix stuff. I used OpenBlas from NuGet manager, but everything was slow. I now want to switch to an up-to-date version of OpenBlas. I took the last one (0.3.15) and compiled it with…
Bato
  • 11
  • 2
0
votes
1 answer

xtensor-blas incorrect computation

I'm trying to use xtensor-blas for the first time. I've had lots of difficulties linking to it, but finally, I've done that and tried to run the sample programs. However, as the output, I get 0 for the first and 0, -inf for the second. I'm using…
0
votes
1 answer

Cannot use xtensor-blas on Windows

Disclaimer: I'm a noob at building/make/packages/cmake. My goal: Use xtensor-blas library in C++ My env: Win10 x64, CLion2021 My problem: Can't get the simplest examples to compile. Sth about project dependencies. I tried: 1) downloading and…
0
votes
0 answers

Linking Armadillo and OpenBlas on Windows 10

Beginner here so apologies if the question is basic or poorly organized. I am trying to link Armadillo 10.3.0 to OpenBlas 0.3.13 on Windows 10 using the pre-compiled OpenBlas here and am running into undefined reference issues. When I compile my C++…
cap
  • 1
0
votes
0 answers

Armadillo slower than RcppArmadillo

I'm trying to understand why calling arma::pinv of Armadillo takes significantly more time when called in c++ directly (Visual Studio) compared to the same function being called in R via RcppArmadillo. In R I just followed a super basic approach…
horos
  • 1
0
votes
0 answers

pre-typed commands while opening anaconda prompt (miniconda3)

I am currently trying to build OpenBLAS on my machine. For it, I am following this. After downloading miniconda, I followed the steps given there (which are not resulting in a successful build), but now after opening the Anaconda Prompt, I always…
Mandke
  • 9
  • 1
  • 4
0
votes
0 answers

gsl on raspberry pi cannot find -lcblas collect2

I am trying to use GSL on a raspberrypi but I am having some trouble compiling on the raspberry pi. I am writing my code on a ubuntu machine and it is working, but when I tried running the same code on my raspberry pi zero I get this: gcc…
user169808
  • 503
  • 1
  • 6
  • 27
0
votes
1 answer

OpenMPI / High-Performance Linpack Newbie Question

I have a small cluster of 4 nodes, each with 4 cores. I can happily run HP Linpack on one node, but I'm struggling to get it to run on multiple nodes. I compiled HPL-2.3 from source with OpenMPI and OpenBLAS. All seems to work well with single node…
John Duffy
  • 31
  • 2
0
votes
0 answers

Unable to transfer libraries from Image folder of openblas into rootfs

I'm trying to build openblas with yocto in my 64 bit armv8 board. I was able to successfully build openblas with the bitbake recipe that i have with me. All the library files have been built into the image folder of openblas. I have also added…
Sourabrt
  • 2,126
  • 2
  • 8
  • 22
0
votes
1 answer

Object arrays not supported on numpy with mkl?

I recently switched from numpy compiled with open blas to numpy compiled with mkl. In pure numeric operations there was a clear speed up for matrix multiplication. However when I ran some code I have been using which multiplies matrices containing…
shaun252
  • 61
  • 4
0
votes
3 answers

Bitbake do_package_qa error: Wrong location

I'm trying to build openblas-0.3.5 with Yocto (Rocko) for my 64-bit Armv8-A. I've found this recipe online and i tweaked it a bit. But i got the following error: Error: ERROR: openblas-0.3.5-r0 do_package_qa: QA Issue: non -dev/-dbg/nativesdk-…
Sourabrt
  • 2,126
  • 2
  • 8
  • 22
0
votes
0 answers

OpenBlas parallelisation from OpenMP Thread

I tried to call an OpenBlas function from an OpenMP thread while the Blas parallelisation is set to a value unequal to one. I am using OpenBlas 0.3.9, after downloading the source I untared it and called make USE_OPENMP=1 make PREFIX=/someFolder/…
sam.11100
  • 51
  • 4
0
votes
1 answer

Pytorch or Numpy Batch Matrix Operation

I am trying to us torch.bmm to do the following matrix operation, If matrix is a M * N tensor, batch is a N * B tensor, how can i achieve, In each batch, matrix @ batch_i, which gives M, and put the batch size together, the output tensor looks like…
Nick
  • 73
  • 6
0
votes
1 answer

Override BLAS with LD_LIBRARY_PATH

I usually switch between blas versions using sudo update-alternatives .... However, I need to get it to work without sudo. I have tried several options, but none seem to work. I have the following FORTRAN code to test if I have successfully switched…
Thijs Steel
  • 1,190
  • 7
  • 16