Thanks to visit codestin.com
Credit goes to github.com

Skip to content

BUG: argument of type "npyv_f64" is incompatible with parameter of type "__m512d" #25649

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
philippegabert opened this issue Jan 21, 2024 · 2 comments · Fixed by #25652
Closed
Labels
00 - Bug component: SIMD Issues in SIMD (fast instruction sets) code or machinery

Comments

@philippegabert
Copy link

Describe the issue:

I am trying to install py-numpy using spack using the command:
spack install py-numpy

I receive the following error messages:
FAILED: numpy/core/libloops_exponent_log.dispatch.h_AVX512_SKX.a.p/meson-generated_loops_exponent_log.dispatch.c.o error: argument of type "npyv_f64" is incompatible with parameter of type "__m512d" error: a value of type "__m512d" cannot be used to initialize an entity of type "npyv_f64"

Reproduce the code example:

`spack install py-numpy`

Error message:

No response

Python and NumPy Versions:

Numpy 1.26.3

Runtime Environment:

Spack: 0.22.0.dev0 (spack/spack@75e96b8)
Python: 3.7.16
Platform: linux-amzn2-icelake
Concretizer: clingo
Instance type: c6i.xlarge

Context for the issue:

I have created an issue on the spack repo but they have recommended to open one here as it may be a numpy issue.
The original issue can be found here:
spack/spack#42204

@rgommers rgommers added the component: SIMD Issues in SIMD (fast instruction sets) code or machinery label Jan 22, 2024
@rgommers
Copy link
Member

Thanks @philippegabert.

I'll add the compiler and CPU detection result info here:

  C compiler for the host machine: /efs/spack/lib/spack/env/intel/icc (intel 2021.10.0 "icc (ICC) 2021.10.0 20230609")
  C linker for the host machine: /efs/spack/lib/spack/env/intel/icc ld.bfd 2.37
  C++ compiler for the host machine: /efs/spack/lib/spack/env/intel/icpc (intel 2021.10.0 "icpc (ICC) 2021.10.0 20230609")
  C++ linker for the host machine: /efs/spack/lib/spack/env/intel/icpc ld.bfd 2.37
...
  Test features "SSE SSE2 SSE3" : Supported
  Test features "SSSE3" : Supported
  Test features "SSE41" : Supported
  Test features "POPCNT" : Supported
  Test features "SSE42" : Supported
  Test features "AVX" : Supported
  Test features "F16C" : Supported
  Test features "FMA3" : Supported
  Test features "AVX2" : Supported (cached)
  Test features "AVX512F" : Supported
  Test features "AVX512CD" : Supported (cached)
  Test features "AVX512_KNL" : Supported
  Test features "AVX512_KNM" : Unsupported due to Compiler fails against the test code of "AVX512_KNM"
  Test features "AVX512_SKX" : Supported (cached)
  Test features "AVX512_CLX" : Supported
  Test features "AVX512_CNL" : Supported
  Test features "AVX512_ICL" : Supported
  Test features "AVX512_SPR" : disabled due to AVX512_SPR is disabled due to "intel compiler does not support it"

There's more info in the attached file on the original Spack issue.

@seiko2plus @r-devulap any thoughts?

@seiko2plus
Copy link
Member

I wasn't able to verify #25652, Could you @philippegabert? It seems ICC is no longer part of the latest versions of Intel Oneapi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
00 - Bug component: SIMD Issues in SIMD (fast instruction sets) code or machinery
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants