Skip to main content
deleted 6 characters in body
Source Link
wjid
  • 338
  • 1
  • 5

For clarity, the original post is asking about mathematical (linear algebra) libraries (usually in FORTRAN or C) that are included with macOS Mojave, specifically LAPACK (Linear Algebra PACKage), BLAS (Basic Linear Algebra Subprograms), and ATLAS (Automatically Tuned Linear Algebra Software). These libraries are included in the Accelerate framework, documentation can be found here: Apple BLAS documentation

On my machine, these are located here: /System/Library/Frameworks/Accelerate.Framework

These libraries are also included in many FORTRAN compiler packages vis-à-vis Intel iFort and the like. They are also available here: LAPACK and BLAS and ATLAS

The OP is also curious about which libraries are linked in python and how to change them. I am amending my answer to provide context on this as it is relevant to those in the Apple community who use their machines for computational intensive tasks.

To determine which libraries numpy is linked, open up terminal and type:

python
import numpy as np
np.__config__.show()

This will yield which how numpy is linked. On my machine this is:

mkl_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/wjid/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/wjid/anaconda3/include']
blas_mkl_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/wjid/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/wjid/anaconda3/include']
blas_opt_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/wjid/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/wjid/anaconda3/include']
lapack_mkl_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/wjid/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/wjid/anaconda3/include']
lapack_opt_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/wjid/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/wjid/anaconda3/include']

If you are concerned about computational efficiency and are using an Intel processor, you'll probably want to use the MKL libraries that ship with Anaconda or Miniconda (what I am using). If you want something else, you will likely have to build from source.

For clarity, the original post is asking about mathematical (linear algebra) libraries (usually in FORTRAN or C) that are included with macOS Mojave, specifically LAPACK (Linear Algebra PACKage), BLAS (Basic Linear Algebra Subprograms), and ATLAS (Automatically Tuned Linear Algebra Software). These libraries are included in the Accelerate framework, documentation can be found here: Apple BLAS documentation

On my machine, these are located here: /System/Library/Frameworks/Accelerate.Framework

These libraries are also included in many FORTRAN compiler packages vis-à-vis Intel iFort and the like. They are also available here: LAPACK and BLAS and ATLAS

The OP is also curious about which libraries are linked in python and how to change them. I am amending my answer to provide context on this as it is relevant to those in the Apple community who use their machines for computational intensive tasks.

To determine which libraries numpy is linked, open up terminal and type:

python
import numpy as np
np.__config__.show()

This will yield which how numpy is linked. On my machine this is:

mkl_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/wjid/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/wjid/anaconda3/include']
blas_mkl_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/wjid/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/wjid/anaconda3/include']
blas_opt_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/wjid/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/wjid/anaconda3/include']
lapack_mkl_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/wjid/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/wjid/anaconda3/include']
lapack_opt_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/wjid/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/wjid/anaconda3/include']

If you are concerned about computational efficiency and are using an Intel processor, you'll probably want to use the MKL libraries that ship with Anaconda or Miniconda (what I am using). If you want something else, you will likely have to build from source.

For clarity, the original post is asking about mathematical (linear algebra) libraries (usually in FORTRAN or C) that are included with macOS Mojave, specifically LAPACK (Linear Algebra PACKage), BLAS (Basic Linear Algebra Subprograms), and ATLAS (Automatically Tuned Linear Algebra Software). These libraries are included in the Accelerate framework, documentation can be found here: Apple BLAS documentation

On my machine, these are located here: /System/Library/Frameworks/Accelerate.Framework

These libraries are also included in many FORTRAN compiler packages vis-à-vis Intel iFort and the like. They are also available here: LAPACK and BLAS and ATLAS

The OP is also curious about which libraries are linked in python and how to change them. I am amending my answer to provide context on this as it is relevant to those in the Apple community who use their machines for computational intensive tasks.

To determine which libraries numpy is linked, open up terminal and type:

python
import numpy as np
np.__config__.show()

This will yield how numpy is linked. On my machine this is:

mkl_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/wjid/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/wjid/anaconda3/include']
blas_mkl_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/wjid/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/wjid/anaconda3/include']
blas_opt_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/wjid/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/wjid/anaconda3/include']
lapack_mkl_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/wjid/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/wjid/anaconda3/include']
lapack_opt_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/wjid/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/wjid/anaconda3/include']

If you are concerned about computational efficiency and are using an Intel processor, you'll probably want to use the MKL libraries that ship with Anaconda or Miniconda (what I am using). If you want something else, you will likely have to build from source.

OP had several comments that revealed more of a concrete question, my answer reflects this.
Source Link
wjid
  • 338
  • 1
  • 5

For clarity, the original post is asking about mathematical (linear algebra) libraries (usually in FORTRAN or C) that are included with macOS Mojave, specifically LAPACK (Linear Algebra PACKage), BLAS (Basic Linear Algebra Subprograms), and ATLAS (Automatically Tuned Linear Algebra Software). These libraries are included in the Accelerate framework, documentation can be found here: Apple BLAS documentation

On my machine, these are located here: /System/Library/Frameworks/Accelerate.Framework

These libraries are also included in many FORTRAN compiler packages vis-à-vis Intel iFort and the like. They are also available here: LAPACK and BLAS and ATLAS

The OP is also curious about which libraries are linked in python and how to change them. I am amending my answer to provide context on this as it is relevant to those in the Apple community who use their machines for computational intensive tasks.

To determine which libraries numpy is linked, open up terminal and type:

python
import numpy as np
np.__config__.show()

This will yield which how numpy is linked. On my machine this is:

mkl_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/wjid/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/wjid/anaconda3/include']
blas_mkl_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/wjid/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/wjid/anaconda3/include']
blas_opt_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/wjid/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/wjid/anaconda3/include']
lapack_mkl_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/wjid/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/wjid/anaconda3/include']
lapack_opt_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/wjid/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/wjid/anaconda3/include']

If you are concerned about computational efficiency and are using an Intel processor, you'll probably want to use the MKL libraries that ship with Anaconda or Miniconda (what I am using). If you want something else, you will likely have to build from source.

For clarity, the original post is asking about mathematical (linear algebra) libraries (usually in FORTRAN or C) that are included with macOS Mojave, specifically LAPACK (Linear Algebra PACKage), BLAS (Basic Linear Algebra Subprograms), and ATLAS (Automatically Tuned Linear Algebra Software). These libraries are included in the Accelerate framework, documentation can be found here: Apple BLAS documentation

On my machine, these are located here: /System/Library/Frameworks/Accelerate.Framework

These libraries are also included in many FORTRAN compiler packages vis-à-vis Intel iFort and the like. They are also available here: LAPACK and BLAS and ATLAS

For clarity, the original post is asking about mathematical (linear algebra) libraries (usually in FORTRAN or C) that are included with macOS Mojave, specifically LAPACK (Linear Algebra PACKage), BLAS (Basic Linear Algebra Subprograms), and ATLAS (Automatically Tuned Linear Algebra Software). These libraries are included in the Accelerate framework, documentation can be found here: Apple BLAS documentation

On my machine, these are located here: /System/Library/Frameworks/Accelerate.Framework

These libraries are also included in many FORTRAN compiler packages vis-à-vis Intel iFort and the like. They are also available here: LAPACK and BLAS and ATLAS

The OP is also curious about which libraries are linked in python and how to change them. I am amending my answer to provide context on this as it is relevant to those in the Apple community who use their machines for computational intensive tasks.

To determine which libraries numpy is linked, open up terminal and type:

python
import numpy as np
np.__config__.show()

This will yield which how numpy is linked. On my machine this is:

mkl_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/wjid/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/wjid/anaconda3/include']
blas_mkl_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/wjid/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/wjid/anaconda3/include']
blas_opt_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/wjid/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/wjid/anaconda3/include']
lapack_mkl_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/wjid/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/wjid/anaconda3/include']
lapack_opt_info:
    libraries = ['mkl_rt', 'pthread']
    library_dirs = ['/Users/wjid/anaconda3/lib']
    define_macros = [('SCIPY_MKL_H', None), ('HAVE_CBLAS', None)]
    include_dirs = ['/Users/wjid/anaconda3/include']

If you are concerned about computational efficiency and are using an Intel processor, you'll probably want to use the MKL libraries that ship with Anaconda or Miniconda (what I am using). If you want something else, you will likely have to build from source.

added 12 characters in body
Source Link
wjid
  • 338
  • 1
  • 5

For clarity, the original post is asking about mathematical (linear algebra) libraries (usually in FORTRAN or C) that are included with macOS Mojave, specifically LAPACK (Linear Algebra PACKage), BLAS (Basic Linear Algebra Subprograms), and ATLAS (Automatically Tuned Linear Algebra Software). These libraries are included in the Accelerate framework, documentation can be found here: Apple BLAS documentation

On my machine, these are located here: /System/Library/Frameworks/Accelerate.Framework

These libraries are also included in many FORTRAN compilers vis acompiler packages vis-à-vis Intel iFort and the like. They are also available here: LAPACK and BLAS and ATLAS

On my machine, these are located here: /System/Library/Frameworks/Accelerate.Framework

For clarity, the original post is asking about mathematical (linear algebra) libraries (usually in FORTRAN or C) that are included with macOS Mojave, specifically LAPACK (Linear Algebra PACKage), BLAS (Basic Linear Algebra Subprograms), and ATLAS (Automatically Tuned Linear Algebra Software). These libraries are included in the Accelerate framework, documentation can be found here: Apple BLAS documentation

These libraries are also included in many FORTRAN compilers vis a vis Intel iFort and the like. They are also available here: LAPACK and BLAS and ATLAS

On my machine, these are located here: /System/Library/Frameworks/Accelerate.Framework

For clarity, the original post is asking about mathematical (linear algebra) libraries (usually in FORTRAN or C) that are included with macOS Mojave, specifically LAPACK (Linear Algebra PACKage), BLAS (Basic Linear Algebra Subprograms), and ATLAS (Automatically Tuned Linear Algebra Software). These libraries are included in the Accelerate framework, documentation can be found here: Apple BLAS documentation

On my machine, these are located here: /System/Library/Frameworks/Accelerate.Framework

These libraries are also included in many FORTRAN compiler packages vis-à-vis Intel iFort and the like. They are also available here: LAPACK and BLAS and ATLAS

added 83 characters in body
Source Link
wjid
  • 338
  • 1
  • 5
Loading
added 83 characters in body
Source Link
wjid
  • 338
  • 1
  • 5
Loading
Source Link
wjid
  • 338
  • 1
  • 5
Loading