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
4
votes
2 answers

How can I make NumPy use OpenBlas in Ubuntu?

I have both BLAS and OpenBLAS installed: $ dpkg -l \*blas\* | grep ^i ii libblas-dev 1.2.20110419-7 amd64 Basic Linear Algebra Subroutines 3, static library ii …
MWB
  • 11,740
  • 6
  • 46
  • 91
4
votes
1 answer

Why numpy/scipy is faster without OpenBLAS?

I made two installations: brew install numpy (and scipy) --with-openblas Cloned GIT repositories (for numpy and scipy) and built it myself After I cloned two handy scripts for verification of these libraries in multi-threaded environment: git…
bigdatarefiner
  • 141
  • 1
  • 7
4
votes
1 answer

R and nvblas.dynlib (on a mac)

I have R on my mac installed via CRAN. I also have openblas installed via homebrew. I can switch between BLAS implementations as follows: Reference blas (netlib I think): ln -sf /Library/Frameworks/R.framework/Resources/lib/libRblas.0.dylib…
Zach
  • 29,791
  • 35
  • 142
  • 201
3
votes
1 answer

ERROR; return code from pthread_create() is 22

Problem: I created a conda environment in a Docker repository to run a snakemake pipeline. I used the same running conda environment file running on my mac (R 3.6.1). Everything runs smoothly till it gets to the normalisation with MSnbase package…
M. Hallal
  • 71
  • 2
  • 6
3
votes
2 answers

Building static Armadillo using OpenBLAS, ARPACK, LAPACK, and SuperLU

We have an HPC environment with multiple versions of most packages, causing us to have designed a home-rolled way to install packages in unique locations and use environment modules for programmers/researchers to be able to identify which library…
Snidley
  • 31
  • 1
3
votes
0 answers

base::chol() slows down when matrix contains many small entries

I've noticed that base::chol() severely slows down when the matrix contains many small elements. Here is an example: ## disable openMP library(RhpcBLASctl); blas_set_num_threads(1); omp_set_num_threads(1) Baseline: create positive definite matrix…
Nairolf
  • 2,418
  • 20
  • 34
3
votes
1 answer

OpenBLAS set number of threads for one routine only

In C++17, I want to use several OpenBLAS subroutines with a different number of threads for each. Is there any way to accomplish this? In the past, I have used openblas_set_num_threads(); to set the number of threads for my OpenBLAS subroutines.…
gkroiz
  • 72
  • 8
3
votes
1 answer

Why would setting "export OPENBLAS_NUM_THREADS=1" impair the performance?

I try to set "export OPENBLAS_NUM_THREADS=1" as this document suggests. But I found a strange phenomenon that setting this significantly impairs the performance of my RL algorithms(I've done some tests for TD3 and SAC, all results consistently…
Maybe
  • 2,129
  • 5
  • 25
  • 45
3
votes
0 answers

How do you install OpenBLAS on Windows 10?

I am trying to run PySpark on my machine but my program keeps ending unexpectedly and giving me the following warnings: WARN netlib.BLAS: Failed to load implementation from: com.github.fommil.netlib.NativeSystemBLAS WARN netlib.BLAS: Failed to load…
3
votes
0 answers

OpenBLAS compilation with Visual studio 2017

I am compiling OpenBLAS with Visual Studio 2017, using this tutorial: https://github.com/xianyi/OpenBLAS/wiki/How-to-use-OpenBLAS-in-Microsoft-Visual-Studio#cmake-and-visual-studio. It works perfectly. However, when I try to link to a project that…
Emile D.
  • 602
  • 2
  • 11
  • 20
3
votes
2 answers

Using OpenBLAS LAPACKE in Visual Studio

i need some linear algebra in my project and want use OpenBLAS for this. I downloaded the precompiled version (64bit version) and unpacked it to my projectfolder. In Visual Studio, i added include-, bin-, and lib-folder to my Project and ran the…
Thorsten Schmitz
  • 542
  • 7
  • 19
3
votes
2 answers

installing openBLAS for R on macbook

I am looking for a faster way of calculating cosine similarity (because I have a large matrix of 2.8Gb). I found a coop package where was written something about "A good BLAS library," so I started digging and found out that I should use openBLAS…
3
votes
2 answers

How to use Intel MKL instead of libopenblas in Julia

I would like to know if there is a way i can use Intel MKL library instead of OpenBlas. I have installed MKL. Below is the version info Julia Version 0.6.0 Commit 903644385b (2017-06-19 13:05 UTC) Platform Info: OS: macOS…
Kanan Jarrus
  • 607
  • 1
  • 12
  • 26
3
votes
0 answers

numpy import fails in virtualenv when ulimit -v is set (OpenBLAS: Resource temporarily unavailable)

When I set a ulimit -v on a powerful machine I'm working on (48 × Intel(R) Xeon(R) CPU E7-4860 v2 @ 2.60GHz, 2 TB RAM, Red Hat Enterprise Linux Server release 6.7), python fails to import numpy when I'm working in my virtualenv, as shown below. …
gerrit
  • 24,025
  • 17
  • 97
  • 170
3
votes
1 answer

OpenBlas and g++

I have installed OpenBlas in TX1 and the time_dgemm example compiles fine with the gcc. However, I need to be able to link the rest of my code with OpenBlas using g++. When I try to compile the time_dgemm example with g++ it fails, giving the…