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
3
votes
0 answers

OpenBLAS needed for CNN using Theano on windows & CPU

I'm getting this error(here) while trainng a convolutional Neural Network in keras. (ipython on Windows 8.1). I've checked the numpy cofiguration. It says it has blas_mkl but no OpenBLAS. Is blas_mkl not sufficient? I was trying to install OpenBLAS…
vivek
  • 349
  • 1
  • 4
  • 12
3
votes
1 answer

OpenBLAS slower than intrinsic function dot_product

I need make a dot product in Fortran. I can do with the intrinsic function dot_product from Fortran or use ddot from OpenBLAS. The problem is the ddot is slower. This is my code: With BLAS: program VectorBLAS ! time VectorBlas.e = 0.30s implicit…
F.N.B
  • 1,539
  • 6
  • 23
  • 39
3
votes
2 answers

How to link c++ to OpenBlas?

I installed OpenBlas and could compile C programs linked to OpenBlas by using gcc testOpenBlas.c -I /opt/OpenBLAS/include/ -L/opt/OpenBLAS/lib -lopenblas If I try to link c++ programs using g++ and the same linker options I get the error:…
Tarek
  • 1,060
  • 4
  • 17
  • 38
3
votes
1 answer

Does installing BLAS/ATLAS/MKL/OPENBLAS will speed up R package that is written in C/C++?

I found that using one of BLAS/ATLAS/MKL/OPENBLAS will give improvement on speed in R. However, will it still improve the R Package that is written in C or C++? for example, R package Glmnet is implemented in FORTRAN and R package rpart is…
Tay Shin
  • 528
  • 4
  • 17
3
votes
4 answers

What does the numerical literal 0.e0f mean?

I am currently trying to debug an uninitialized memory error. I have now come across the numerical literal 0.e0f in the OpenBlas source code (which is what the debugger is currently at) what does that mean? The context is this: if ((alpha_r ==…
Blackclaws
  • 436
  • 5
  • 20
2
votes
1 answer

How to limit the number of OpenBLAS threads on RStudio Server

We are running Ubuntu 20.04 with RStudio Server Open Source. The system is using OpenBLAS for linear algebra. What are the different ways to limit the number of threads on a per user base used for linear algebra from within RStudio Server? I have…
gdkrmr
  • 674
  • 4
  • 16
2
votes
1 answer

Does openblas-devel exist for Cygwin?

I am trying unsuccessfully to install scipy on Cygwin. I tried running: pip install scipy and it complains that "openblas-devel" doesn't exist. The Cygwin installer/package manager doesn't seem to know about any package that is named such or…
Severus Snape
  • 173
  • 1
  • 7
2
votes
2 answers

How to resolve 'libRblas.so: No such file or directory' during package installation?

When I try to install certain packages (imputeTS) that need libRblas.so which AFAIK refers to OpenBLAS I get an error that it was not found: Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object…
jay.sf
  • 60,139
  • 8
  • 53
  • 110
2
votes
0 answers

How to fix Theano crash caused by missing blas config?

When I try to use Theano, I run into the following error: configparser.NoSectionError: No section: 'blas' (full log) The following minimal example reproduces the problem: FROM python:3.9.9-slim RUN apt-get update RUN apt-get install -y python3-dev…
Tobias Hermann
  • 9,936
  • 6
  • 61
  • 134
2
votes
1 answer

Is that possible to let Fortran source code detect compiler flags?

The question is inspired by OpenMP with BLAS The motivation is, I want the Fortran source code to be flexible to the complier options related to serial/parallel BLAS. I may specify -mkl=parallel for mkl or USE_OPENMP=1 for lopenblas in the…
AlphaF20
  • 583
  • 6
  • 14
2
votes
2 answers

Usage of arpack-ng/openblas/javacpp in the smile java library

I'm trying to set up the Smile machine learning library in Java but I'm having some issues getting some dependencies to work. Currently I am on a Fedora machine, but I'd like this to work on any machine, just like a normal jar. Here is some example…
2
votes
0 answers

How to make opencv-python use an openBLAS library I've compiled, instead whatever it comes with? (on raspbian linux)

I've created a python program for object detection and OCR, using torchvision and tesseract, respectively (finetuned pretrained models). Now, when I run it on my laptop (with i7 7700), it takes about 4-5s to process a single image, and I'm satisfied…
Viktor
  • 31
  • 4
2
votes
1 answer

How to correctly build cabal project using hmatrix under Windows 10?

Using Windows 10 64-bit, Cabal-3.4.0.0, ghc-8.10.7. I installed OpenBLAS in MSYS2 environment with command pacman -S mingw-w64-x86_64-openblas. Than, I successfully installed hmatrix-0.20.2 with command cabal install --lib hmatrix --flags=openblas…
Palmik
  • 23
  • 4
2
votes
2 answers

installing openblas on CentOS 8

I am trying to install R on CentOS 8 and it requires openblas-0.3.3-5.el8, but using dnf the AppStream repo only gives me openblas-0.3.3-2.el8. Is there any way to force it to install the newer version? Thanks in advance, I am really stuck…
Roger J Bos CFA
  • 474
  • 4
  • 16
2
votes
1 answer

Get BLAS implementation information from CMake

In a project I am using find_package(BLAS REQUIRED) to detect BLAS. Is there a way to tell which implementation of BLAS was found after this? According to the documentation BLA_VENDOR can be used to require a certain implementation, but it doesn't…
alfC
  • 14,261
  • 4
  • 67
  • 118