Skip to content

Instantly share code, notes, and snippets.

@alreadydone
Last active July 21, 2023 16:36
Show Gist options
  • Save alreadydone/30d7f109e6c36381aab8565f808e0018 to your computer and use it in GitHub Desktop.
Save alreadydone/30d7f109e6c36381aab8565f808e0018 to your computer and use it in GitHub Desktop.
HPC cluster node with Intel(R) Xeon(R) CPU E7-8860 v4 @ 2.20GHz or AMD EPYC 7543 32-Core Processor:
both the original (float64) and the float32 versions always yield 0.0
blas_info:
libraries = ['cblas', 'blas', 'cblas', 'blas']
library_dirs = ['/usr/local/Anaconda/envs/py3.9/lib']
include_dirs = ['/usr/local/Anaconda/envs/py3.9/include']
language = c
define_macros = [('HAVE_CBLAS', None)]
blas_opt_info:
define_macros = [('NO_ATLAS_INFO', 1), ('HAVE_CBLAS', None)]
libraries = ['cblas', 'blas', 'cblas', 'blas']
library_dirs = ['/usr/local/Anaconda/envs/py3.9/lib']
include_dirs = ['/usr/local/Anaconda/envs/py3.9/include']
language = c
lapack_info:
libraries = ['lapack', 'blas', 'lapack', 'blas']
library_dirs = ['/usr/local/Anaconda/envs/py3.9/lib']
language = f77
lapack_opt_info:
libraries = ['lapack', 'blas', 'lapack', 'blas', 'cblas', 'blas', 'cblas', 'blas']
library_dirs = ['/usr/local/Anaconda/envs/py3.9/lib']
language = c
define_macros = [('NO_ATLAS_INFO', 1), ('HAVE_CBLAS', None)]
include_dirs = ['/usr/local/Anaconda/envs/py3.9/include']
Supported SIMD extensions in this NumPy install:
baseline = SSE,SSE2,SSE3
found = SSSE3,SSE41,POPCNT,SSE42,AVX,F16C,FMA3,AVX2
not found = AVX512F,AVX512CD,AVX512_SKX,AVX512_CLX,AVX512_CNL,AVX512_ICL
HPC cluster node with Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz:
float64 version always yields 0.0, float32 version may not
The difference with the above is that there are more "found" and less "not found" supported SIMD extensions here.
blas_info:
libraries = ['cblas', 'blas', 'cblas', 'blas']
library_dirs = ['/usr/local/Anaconda/envs/py3.9/lib']
include_dirs = ['/usr/local/Anaconda/envs/py3.9/include']
language = c
define_macros = [('HAVE_CBLAS', None)]
blas_opt_info:
define_macros = [('NO_ATLAS_INFO', 1), ('HAVE_CBLAS', None)]
libraries = ['cblas', 'blas', 'cblas', 'blas']
library_dirs = ['/usr/local/Anaconda/envs/py3.9/lib']
include_dirs = ['/usr/local/Anaconda/envs/py3.9/include']
language = c
lapack_info:
libraries = ['lapack', 'blas', 'lapack', 'blas']
library_dirs = ['/usr/local/Anaconda/envs/py3.9/lib']
language = f77
lapack_opt_info:
libraries = ['lapack', 'blas', 'lapack', 'blas', 'cblas', 'blas', 'cblas', 'blas']
library_dirs = ['/usr/local/Anaconda/envs/py3.9/lib']
language = c
define_macros = [('NO_ATLAS_INFO', 1), ('HAVE_CBLAS', None)]
include_dirs = ['/usr/local/Anaconda/envs/py3.9/include']
Supported SIMD extensions in this NumPy install:
baseline = SSE,SSE2,SSE3
found = SSSE3,SSE41,POPCNT,SSE42,AVX,F16C,FMA3,AVX2,AVX512F,AVX512CD,AVX512_SKX
not found = AVX512_CLX,AVX512_CNL,AVX512_ICL
HPC cluster node with Intel(R) Xeon(R) Gold 6240 CPU @ 2.60GHz:
float64 version always yields 0.0, float32 version may not
There one more supported SIMD extension (AVX512_CLX) compared to the above.
blas_info:
libraries = ['cblas', 'blas', 'cblas', 'blas']
library_dirs = ['/usr/local/Anaconda/envs/py3.9/lib']
include_dirs = ['/usr/local/Anaconda/envs/py3.9/include']
language = c
define_macros = [('HAVE_CBLAS', None)]
blas_opt_info:
define_macros = [('NO_ATLAS_INFO', 1), ('HAVE_CBLAS', None)]
libraries = ['cblas', 'blas', 'cblas', 'blas']
library_dirs = ['/usr/local/Anaconda/envs/py3.9/lib']
include_dirs = ['/usr/local/Anaconda/envs/py3.9/include']
language = c
lapack_info:
libraries = ['lapack', 'blas', 'lapack', 'blas']
library_dirs = ['/usr/local/Anaconda/envs/py3.9/lib']
language = f77
lapack_opt_info:
libraries = ['lapack', 'blas', 'lapack', 'blas', 'cblas', 'blas', 'cblas', 'blas']
library_dirs = ['/usr/local/Anaconda/envs/py3.9/lib']
language = c
define_macros = [('NO_ATLAS_INFO', 1), ('HAVE_CBLAS', None)]
include_dirs = ['/usr/local/Anaconda/envs/py3.9/include']
Supported SIMD extensions in this NumPy install:
baseline = SSE,SSE2,SSE3
found = SSSE3,SSE41,POPCNT,SSE42,AVX,F16C,FMA3,AVX2,AVX512F,AVX512CD,AVX512_SKX,AVX512_CLX
not found = AVX512_CNL,AVX512_ICL
NumPy version on the HPC cluster: 1.24.4
Google Colab: float64 version already nonzero
NumPy version: 1.22.4
openblas64__info:
libraries = ['openblas64_', 'openblas64_']
library_dirs = ['/usr/local/lib']
language = c
define_macros = [('HAVE_CBLAS', None), ('BLAS_SYMBOL_SUFFIX', '64_'), ('HAVE_BLAS_ILP64', None)]
runtime_library_dirs = ['/usr/local/lib']
blas_ilp64_opt_info:
libraries = ['openblas64_', 'openblas64_']
library_dirs = ['/usr/local/lib']
language = c
define_macros = [('HAVE_CBLAS', None), ('BLAS_SYMBOL_SUFFIX', '64_'), ('HAVE_BLAS_ILP64', None)]
runtime_library_dirs = ['/usr/local/lib']
openblas64__lapack_info:
libraries = ['openblas64_', 'openblas64_']
library_dirs = ['/usr/local/lib']
language = c
define_macros = [('HAVE_CBLAS', None), ('BLAS_SYMBOL_SUFFIX', '64_'), ('HAVE_BLAS_ILP64', None), ('HAVE_LAPACKE', None)]
runtime_library_dirs = ['/usr/local/lib']
lapack_ilp64_opt_info:
libraries = ['openblas64_', 'openblas64_']
library_dirs = ['/usr/local/lib']
language = c
define_macros = [('HAVE_CBLAS', None), ('BLAS_SYMBOL_SUFFIX', '64_'), ('HAVE_BLAS_ILP64', None), ('HAVE_LAPACKE', None)]
runtime_library_dirs = ['/usr/local/lib']
Supported SIMD extensions in this NumPy install:
baseline = SSE,SSE2,SSE3
found = SSSE3,SSE41,POPCNT,SSE42,AVX,F16C,FMA3,AVX2
not found = AVX512F,AVX512CD,AVX512_KNL,AVX512_KNM,AVX512_SKX,AVX512_CLX,AVX512_CNL,AVX512_ICL
On my MacBook Pro (float64 version already nonzero), AVX512_KNM does not appear.
NumPy version: 1.25.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment