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.

228 questions
53
votes
3 answers

Compiling numpy with OpenBLAS integration

I am trying to install numpy with OpenBLAS , however I am at loss as to how the site.cfg file needs to be written. When the installation procedure was followed the installation completed without errors, however there is performance degradation on…
Vijay
  • 829
  • 1
  • 8
  • 10
38
votes
1 answer

Install openblas via apt-get `sudo apt-get install openblas-dev`

Is it possible to install openblas via apt-get like sudo apt-get install openblas-dev? Seems on ubuntu 14.04 it can't find it. sudo apt-get install openblas-dev Reading package lists... Done Building dependency tree Reading state…
mrgloom
  • 15,245
  • 23
  • 126
  • 226
24
votes
1 answer

Keras not using multiple cores

Based on the famous check_blas.py script, I wrote this one to check that theano can in fact use multiple cores: import os os.environ['MKL_NUM_THREADS'] = '8' os.environ['GOTO_NUM_THREADS'] = '8' os.environ['OMP_NUM_THREADS'] =…
Herbert
  • 4,384
  • 4
  • 35
  • 61
14
votes
1 answer

Multiple instances of Python running simultaneously limited to 35

I am running a Python 3.6 script as multiple separate processes on different processors of a parallel computing cluster. Up to 35 processes run simultaneously with no problem, but the 36th (and any more) crashes with a segmentation fault on the…
doctorer
  • 1,322
  • 2
  • 20
  • 45
14
votes
4 answers

dyld: Library not loaded: /usr/local/opt/openblas/lib/libopenblasp-r0.2.20.dylib

When I run R I get: dyld: Library not loaded: /usr/local/opt/openblas/lib/libopenblasp-r0.2.20.dylib Referenced from: /usr/local/Cellar/r/3.5.0_1/lib/libR.dylib Reason: image not found Abort trap: 6 Indeed the file is absent: ls…
Kamil Slowikowski
  • 3,157
  • 3
  • 28
  • 33
13
votes
2 answers

Set max number of threads at runtime on numpy/openblas

I'd like to know if it's possible to change at (Python) runtime the maximum number of threads used by OpenBLAS behind numpy? I know it's possible to set it before running the interpreter through the environment variable OMP_NUM_THREADS, but I'd like…
Théo T
  • 2,880
  • 4
  • 18
  • 22
12
votes
3 answers

Is it possible to switch between BLAS libraries without recompiling program?

For example can I have Atlas, OpenBlas, MKL installed on my Ubuntu 14.04 at the same time and switch between them without recompiling Caffe?
mrgloom
  • 15,245
  • 23
  • 126
  • 226
12
votes
1 answer

performance of NumPy with different BLAS implementations

I'm running an algorithm that is implemented in Python and uses NumPy. The most computationally expensive part of the algorithm involves solving a set of linear systems (i.e. a call to numpy.linalg.solve(). I came up with this small…
lum
  • 1,373
  • 10
  • 17
12
votes
1 answer

Numpy with ATLAS or OpenBLAS?

After spending a huge amount of time on building the ATLAS from the source code, I found that libopenblas and libatals in the OpenSUSE 13.1 repository. My questions are Does that easy-install (without tuning on your own computer) "libatlas" in the…
gundamlh
  • 173
  • 1
  • 9
11
votes
4 answers

OpenBLAS blas_thread_init: pthread_create: Resource temporarily unavailable

I am facing a problem now, unable to run any program in the cluster. It gives error. OpenBLAS blas_thread_init: pthread_create: Resource temporarily unavailable OpenBLAS blas_thread_init: RLIMIT_NPROC 64 current, 64 max OpenBLAS blas_thread_init:…
Haramoz
  • 906
  • 2
  • 10
  • 26
11
votes
0 answers

How can I use BLAS on Windows with the GNU toolchain?

I have this dependency: blas = "0.18.1" During building this simple program (no types used de facto in the program): extern crate blas; use blas::c::*; I get these errors: error: linking with `gcc` failed: exit code: 1 | = note: "gcc"…
Stepan Yakovenko
  • 6,197
  • 19
  • 92
  • 176
10
votes
2 answers

Unable to import numpy: Error: /usr/lib/liblapack.so.3: undefined symbol: gotoblas

When I try to import numpy, I get the following error: /usr/local/lib/python2.7/dist-packages/numpy/linalg/__init__.py in () 49 from .info import __doc__ 50 ---> 51 from .linalg import * 52 53 from numpy.testing import…
vvknitk
  • 1,065
  • 1
  • 13
  • 23
9
votes
1 answer

Cython prange slower for 4 threads then with range

I am currently trying to follow a simple example for parallelizing a loop with cython's prange. I have installed OpenBlas 0.2.14 with openmp allowed and compiled numpy 1.10.1 and scipy 0.16 from source against openblas. To test the performance of…
Martin Gal
  • 93
  • 1
  • 3
9
votes
1 answer

How to check which BLAS is in my Ubuntu system?

In particular, I would like to know if xianyi's OpenBLAS has been installed. I work on several PCs and had it installed in several PCs over the past couple of years, but I lost track which were not installed with it. I need to know which PC has it…
ng0323
  • 297
  • 1
  • 5
  • 13
8
votes
2 answers

Scipy installation issue, getting ImportError: libopenblas.so.0: cannot open shared object file or directory

I am installing Scipy-0.16.1 on Ubuntu 14.04 OpenBLAS_0.2.18 and Numpy-1.11.0 have been installed with no issues. Scipy-0.16.1.tar.gz has been downloaded site.cfg was copied and un-commented the following lines: [openblas] libraries =…
George Liu
  • 81
  • 1
  • 1
  • 2
1
2 3
15 16