question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

atlas: multithreaded BLAS is used despite setting site.cfg to use serial one

See original GitHub issue

with site.cfg

[ALL]
rpath=/home/davydden/spack/opt/spack/linux-ubuntu16-x86_64/gcc-5.4.0/atlas-3.10.2-5jtibobvt7nlwd3zyviionsn7v4z2npd/lib
[atlas]
atlas_libs=satlas
library_dirs=/home/davydden/spack/opt/spack/linux-ubuntu16-x86_64/gcc-5.4.0/atlas-3.10.2-5jtibobvt7nlwd3zyviionsn7v4z2npd/lib

numpy decides for itself to use multithreaded version despite specifically being told to use serial one:

atlas_3_10_blas_threads_info:
    libraries = ['satlas', 'tatlas']
    library_dirs = ['/home/davydden/spack/opt/spack/linux-ubuntu16-x86_64/gcc-5.4.0/atlas-3.10.2-5jtibobvt7nlwd3zyviionsn7v4z2npd/lib']
    define_macros = [('HAVE_CBLAS', None), ('ATLAS_INFO', '"\\"3.10.2\\""')]
    language = c
lapack_opt_info:
    libraries = ['tatlas', 'satlas', 'tatlas']
    library_dirs = ['/home/davydden/spack/opt/spack/linux-ubuntu16-x86_64/gcc-5.4.0/atlas-3.10.2-5jtibobvt7nlwd3zyviionsn7v4z2npd/lib']
    define_macros = [('ATLAS_INFO', '"\\"3.10.2\\""')]
    language = f77
blas_opt_info:
    libraries = ['satlas', 'tatlas']
    library_dirs = ['/home/davydden/spack/opt/spack/linux-ubuntu16-x86_64/gcc-5.4.0/atlas-3.10.2-5jtibobvt7nlwd3zyviionsn7v4z2npd/lib']
    define_macros = [('HAVE_CBLAS', None), ('ATLAS_INFO', '"\\"3.10.2\\""')]
    language = c
openblas_info:
  NOT AVAILABLE
openblas_lapack_info:
  NOT AVAILABLE
atlas_3_10_threads_info:
    libraries = ['tatlas', 'satlas', 'tatlas']
    library_dirs = ['/home/davydden/spack/opt/spack/linux-ubuntu16-x86_64/gcc-5.4.0/atlas-3.10.2-5jtibobvt7nlwd3zyviionsn7v4z2npd/lib']
    define_macros = [('ATLAS_INFO', '"\\"3.10.2\\""')]
    language = f77
lapack_mkl_info:
  NOT AVAILABLE
blas_mkl_info:
  NOT AVAILABLE

Issue Analytics

  • State:open
  • Created 7 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
rgommerscommented, Nov 26, 2016

After going through the whole set of site.cfg issues, I’m almost tempted to leave that as is for backwards compat and create a new .cfg config file with sane behavior. There are so many corner cases and people with workarounds for current behavior that it’ll be very hard to fix otherwise.

0reactions
davyddencommented, Nov 28, 2017

@rgommers

… create a new .cfg config file with sane behavior.

are there any updates on this front?

Read more comments on GitHub >

github_iconTop Results From Across the Web

ATLAS FAQ
Who uses ATLAS? What are the academic references for ATLAS? Does ATLAS run on my platform (OS/hardware)?; What software license does ATLAS use...
Read more >
Speedup by using external BLAS/LAPACK with CmdStan and ...
How to enable external BLAS and LAPACK: check that you have some BLAS and LAPACK installed (linux systems are likely to have BLAS...
Read more >
614464 – sci-libs/scipy can only be built with MAKEOPTS=-j1
Directories to search for the libraries can be specified in the numpy/distutils/site.cfg file (section [atlas]) or by setting the ATLAS ...
Read more >
Essential and useful other programs under a Unix-alike
4 -std=c99 excludes POSIX functionality, but config.h will turn on all GNU extensions ... However, you can make use of GNU libiconv (as...
Read more >
math/atlas: Automatically Tuned Linear Algebra Software ...
To link with ATLAS shared libraries: Serial (thread-safe) Fortran77 BLAS: ... C BLAS: -lcblas Multi-threaded C BLAS: -lptcblas ATLAS-enhanced LAPACK, serial ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found