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

Using py2exe to compile a script with a numpy dependency crashes with this error:

error: [Errno 2] No such file or directory: 'libopenblas.UWVN3XTD2LSS7SFIFK6TIQ5GONFDBJKU.gfortran-win32.dll' How do I resolve this issue? I'm running Python 2.7 and I'm on Windows 10 64 bit.
Ohm Nabar
  • 11
  • 2
0
votes
0 answers

OpenBlas Android slow for large matrix

Trying to port openblas for android. the openblas for android took from here https://sourceforge.net/projects/openblas/files/v0.2.8-arm/openblas-v0.2.8-android-rc1.tar.gz/download. This is my time measures for cblas_sgemm 1. android samsung s6 …
user10333
  • 331
  • 1
  • 9
0
votes
1 answer

conflicts of cblas APIs definition between OpenBLAS and Eigen 3.3.4

I am newbie to Eigen and hope to use OpenBLAS as a backend of Eigen 3.3.4 on Android/ARMv7. From the following site I tried a test to use them in one application (Compiling environment is ubuntu 16.04 + Android NDK…
yang0773
  • 1
  • 1
0
votes
1 answer

Run openblas on multicore

I am implementing a simple version for matrix per matrix multiplication and matrix per vector multiplication with openblas with dgemm and dgemv. I see that openblas is only running on one core. I tried adding the -lpthread for compilation but that…
Zonta01
  • 1
  • 2
0
votes
0 answers

sgemm implements by opengl es 3.0 is so slow on android

I port sgemm function from weblas using c/c++ opengl es3.0. (which i caled esgemm). I have a application using this sgemm function. but I find the speed is very slow on Android. here is my test result. PC(Core™ i7-6700 CPU @ 3.40GHz × 8 HD…
Jesse
  • 43
  • 5
0
votes
2 answers

Linking OpenBLAS with Qt Creator project

I am using Qt Creator for development. I want to use Armadillo linear algebra library. Therefore I used following code in my pro file: INCLUDEPATH += C:\armadillo-7.950.1\include LIBS += \ -LC:\armadillo-7.950.1\examples\lib_win64 \ …
Santosh Kumar
  • 143
  • 12
0
votes
0 answers

Using Openblas with R in Reproducible R container

I am using R for a reproducible scientific machine learing & hyperparameter optimizations. I stumble upon the fact that other implementations of blas such openblas/atlas/klm can speedup this costly optimization. But results are slightly different…
0
votes
1 answer

Use OpenMP in the multithreading. Because of ignoring OPENBLAS_NUM_THREADS

While installing torch as follow : git clone https://github.com/torch/distro.git ~/torch --recursive cd ~/torch; bash install-deps; At this step : bash install-deps The installation finished correctly. However l got a message that l don't…
vincent
  • 1,558
  • 4
  • 21
  • 34
0
votes
1 answer

How does OpenBLAS support vectors and matrices of arbitrary sizes?

I'm trying to understand what it takes to support fast vectorized linear algebra computations for matrices and vectors of arbitrary size. From what I understand about the x86 processor architectures, they contain special registers of limited size.…
Seanny123
  • 8,776
  • 13
  • 68
  • 124
0
votes
0 answers

Caffe always uses single core in CPU mode

I've built caffe from source (based on the BVLC installation guide). The problem is that in CPU mode it always uses single core, although I set OPENBLAS_NUM_THREADS to different values. On my CentOS box, I installed openblas-threads64,…
Vahid Noormofidi
  • 748
  • 10
  • 17
0
votes
1 answer

Set Number of Threads for Armadillo

How can I make Armadillo use OpenBLAS with OpenMP? I installed OpenBLAS with Homebrew with the --with-openmp option, and I'm building my application with: /usr/local/Cellar/gcc/6.3.0_1/bin/g++-6 -DARMA_DONT_USE_WRAPPER -fopenmp…
Daniel
  • 84
  • 2
  • 8
0
votes
1 answer

Error in building R from source in Windows (Error 1 and 2)

I'm trying to build R from source in Windows to be able to use openBLAS (following suggestions http://www.avrahamadler.com/2013/10/24/an-openblas-based-rblas-for-windows-64-step-by-step/ ) to improve speed but I receive the following error during…
EanX
  • 475
  • 4
  • 21
0
votes
1 answer

openblas sgemv CblasRowMajor implementation returns wrong results (cblas_sgemv)

I did some test using cblas_sgemv in openblas and found that it returned a wrong result in my test case. A is 1 2 3 4 5 6 B is 1 2 The output C should be 5 11 17 But, it outputs 5 14 0 Here is the sample…
sushiman
  • 13
  • 1
  • 4
0
votes
1 answer

Using less matrices with BLAS

I'm quite new to BLAS (using OpenBLAS with C++ and VisualStudio) I know dgemm performs C <- alpha * op(A) * op(B) + beta * C I was trying to save some allocation doing this: B <- 1 * op(A) * op(B) + 0 * B In other words, putting the result in the B…
griloHBG
  • 177
  • 1
  • 14
0
votes
0 answers

CMake link OpenBLAS shared library illegal instruction

I have a question about using CMake to link the shared library. After building OpenBLAS from source and install it succesfully. In /opt/OpenBLAS/include has header files and in /opt/OpenBLAS/lib has shared and static libraries. If I have a toy…
Nestarneal
  • 205
  • 1
  • 2
  • 12