Steps to reproduce the issue
@adamjstewart
@rgommers
Error message
FAILED: numpy/core/libloops_exponent_log.dispatch.h_AVX512_SKX.a.p/meson-generated_loops_exponent_log.dispatch.c.o
and
error: argument of type "npyv_f64" is incompatible with parameter of type "__m512d"
and
error: a value of type "__m512d" cannot be used to initialize an entity of type "npyv_f64"
==> Error: ProcessError: Command exited with status 1:
'/efs/spack/opt/spack/linux-amzn2-icelake/intel-2021.10.0/python-3.11.6-jx2qibnnlbef6tuoz522y7vqxcbfk4k2/bin/python3.11' '-m' 'pip' '-vvv' '--no-input' '--no-cache-dir' '--disable-pip-version-check' 'install' '--no-deps' '--ignore-installed' '--no-build-isolation' '--no-warn-script-location' '--no-index' '--prefix=/efs/spack/opt/spack/linux-amzn2-icelake/intel-2021.10.0/py-numpy-1.26.2-zcm3iosfw4ybhpj6ccv6ejvgreyuhebt' '--config-settings=builddir=build' '--config-settings=compile-args=-j4' '--config-settings=setup-args=-Dblas=mkl-dynamic-lp64-seq' '--config-settings=setup-args=-Dlapack=mkl-dynamic-lp64-seq' '.'
14 errors found in build log:
3634
3635 [126/489] Linking static target numpy/core/libloops_exponent_log.dispatch.h_baseline.a
3636 [127/489] Generating 'numpy/core/libloops_exponent_log.dispatch.h_AVX512_SKX.a.p/loops.h'
3637 [128/489] Generating 'numpy/core/libloops_exponent_log.dispatch.h_AVX512_SKX.a.p/loops_utils.h'
3638 [129/489] Generating 'numpy/core/libloops_exponent_log.dispatch.h_AVX512_SKX.a.p/loops_exponent_log.dispatch.c'
3639 [130/489] Compiling C object numpy/core/libloops_exponent_log.dispatch.h_AVX512_SKX.a.p/meson-generated_loops_exponent_log.dispatch.c.o
>> 3640 FAILED: numpy/core/libloops_exponent_log.dispatch.h_AVX512_SKX.a.p/meson-generated_loops_exponent_log.dispatch.c.o
3641 /efs/spack/lib/spack/env/intel/icc -Inumpy/core/libloops_exponent_log.dispatch.h_AVX512_SKX.a.p -Inumpy/core -I../numpy/core -Inumpy/core/include -I../numpy/core/include -I../numpy/core/s
rc/common -I../numpy/core/src/multiarray -I../numpy/core/src/npymath -I../numpy/core/src/umath -I/efs/spack/opt/spack/linux-amzn2-icelake/intel-2021.10.0/python-3.11.6-jx2qibnnlbef6tuoz522y
7vqxcbfk4k2/include/python3.11 -I/tmp/ec2-user/spack-stage/spack-stage-py-numpy-1.26.2-zcm3iosfw4ybhpj6ccv6ejvgreyuhebt/spack-src/build/meson_cpu -DNDEBUG -Wall -w3 -diag-disable:remark -st
d=c99 -O3 -fno-strict-aliasing -msse -msse2 -msse3 -fPIC -DNPY_INTERNAL_BUILD -DHAVE_NPY_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -O3 -DNPY_HAVE_SSE2 -D
NPY_HAVE_SSE -DNPY_HAVE_SSE3 -DNPY_HAVE_SSSE3 -DNPY_HAVE_SSE41 -DNPY_HAVE_POPCNT -DNPY_HAVE_SSE42 -DNPY_HAVE_AVX -DNPY_HAVE_F16C -DNPY_HAVE_AVX2 -DNPY_HAVE_FMA3 -DNPY_HAVE_AVX512_SKX -DNPY_
HAVE_AVX512VL -DNPY_HAVE_AVX512BW -DNPY_HAVE_AVX512DQ -DNPY_HAVE_AVX512BW_MASK -DNPY_HAVE_AVX512DQ_MASK -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -xSKYLAKE-AVX512 -DNPY_MTARGETS_C
URRENT=AVX512_SKX -MD -MQ numpy/core/libloops_exponent_log.dispatch.h_AVX512_SKX.a.p/meson-generated_loops_exponent_log.dispatch.c.o -MF numpy/core/libloops_exponent_log.dispatch.h_AVX512_S
KX.a.p/meson-generated_loops_exponent_log.dispatch.c.o.d -o numpy/core/libloops_exponent_log.dispatch.h_AVX512_SKX.a.p/meson-generated_loops_exponent_log.dispatch.c.o -c numpy/core/libloops
_exponent_log.dispatch.h_AVX512_SKX.a.p/loops_exponent_log.dispatch.c
3642 icc: command line warning #10121: overriding '-march=icelake-client' with '-xSKYLAKE-AVX512'
3643 In file included from /efs/spack/opt/spack/linux-amzn2-icelake/intel-2021.10.0/python-3.11.6-jx2qibnnlbef6tuoz522y7vqxcbfk4k2/include/python3.11/unicodeobject.h(1042),
3644 from /efs/spack/opt/spack/linux-amzn2-icelake/intel-2021.10.0/python-3.11.6-jx2qibnnlbef6tuoz522y7vqxcbfk4k2/include/python3.11/Python.h(51),
3645 from ../numpy/core/include/numpy/npy_common.h(5),
3646 from ../numpy/core/include/numpy/npy_math.h(4),
...
3745 from ../numpy/core/include/numpy/npy_math.h(4),
3746 from ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(12):
3747 /efs/spack/opt/spack/linux-amzn2-icelake/intel-2021.10.0/python-3.11.6-jx2qibnnlbef6tuoz522y7vqxcbfk4k2/include/python3.11/cpython/unicodeobject.h(709): warning #2282: unrecognized GCC pr
agma
3748 _Py_COMP_DIAG_POP
3749 ^
3750
>> 3751 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(720): error: argument of type "npyv_f64" is incompatible with parameter of type "__m512d"
3752 npyv_f64 out = __svml_exp8(x);
3753 ^
3754
>> 3755 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(720): error: a value of type "__m512d" cannot be used to initialize an entity of type "npyv_f64"
3756 npyv_f64 out = __svml_exp8(x);
3757 ^
3758
>> 3759 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(720): error: argument of type "npyv_f64" is incompatible with parameter of type "__m512d"
3760 npyv_f64 out = __svml_log8(x);
3761 ^
3762
>> 3763 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(720): error: a value of type "__m512d" cannot be used to initialize an entity of type "npyv_f64"
3764 npyv_f64 out = __svml_log8(x);
3765 ^
3766
3767 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1161): warning #266: function "avx512_get_full_load_mask_ps" declared implicitly
3768 __mmask16 load_mask = avx512_get_full_load_mask_ps();
3769 ^
...
3773 ^
3774
3775 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1189): warning #266: function "avx512_masked_load_ps" declared implicitly
3776 x1 = avx512_masked_load_ps(load_mask, ip1);
3777 ^
3778
>> 3779 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1189): error: a value of type "int" cannot be assigned to an entity of type "__m512"
3780 x1 = avx512_masked_load_ps(load_mask, ip1);
3781 ^
3782
3783 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1192): warning #266: function "avx512_masked_gather_ps" declared implicitly
3784 x1 = avx512_masked_gather_ps(zeros_f, ip1, vindex_ip1, load_mask);
3785 ^
3786
>> 3787 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1192): error: a value of type "int" cannot be assigned to an entity of type "__m512"
3788 x1 = avx512_masked_gather_ps(zeros_f, ip1, vindex_ip1, load_mask);
3789 ^
3790
3791 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1230): warning #266: function "avx512_get_full_load_mask_ps" declared implicitly
3792 __mmask16 load_mask = avx512_get_full_load_mask_ps();
3793 ^
...
3797 ^
3798
3799 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1256): warning #266: function "avx512_masked_load_ps" declared implicitly
3800 x1 = avx512_masked_load_ps(load_mask, ip1);
3801 ^
3802
>> 3803 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1256): error: a value of type "int" cannot be assigned to an entity of type "__m512"
3804 x1 = avx512_masked_load_ps(load_mask, ip1);
3805 ^
3806
3807 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1259): warning #266: function "avx512_masked_gather_ps" declared implicitly
3808 x1 = avx512_masked_gather_ps(zeros_f, ip1, vindex_ip1, load_mask);
3809 ^
3810
>> 3811 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1259): error: a value of type "int" cannot be assigned to an entity of type "__m512"
3812 x1 = avx512_masked_gather_ps(zeros_f, ip1, vindex_ip1, load_mask);
3813 ^
3814
3815 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1161): warning #266: function "avx512_get_full_load_mask_pd" declared implicitly
3816 __mmask8 load_mask = avx512_get_full_load_mask_pd();
3817 ^
...
3821 ^
3822
3823 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1189): warning #266: function "avx512_masked_load_pd" declared implicitly
3824 x1 = avx512_masked_load_pd(load_mask, ip1);
3825 ^
3826
>> 3827 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1189): error: a value of type "int" cannot be assigned to an entity of type "__m512d"
3828 x1 = avx512_masked_load_pd(load_mask, ip1);
3829 ^
3830
3831 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1192): warning #266: function "avx512_masked_gather_pd" declared implicitly
3832 x1 = avx512_masked_gather_pd(zeros_f, ip1, vindex_ip1, load_mask);
3833 ^
3834
>> 3835 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1192): error: a value of type "int" cannot be assigned to an entity of type "__m512d"
3836 x1 = avx512_masked_gather_pd(zeros_f, ip1, vindex_ip1, load_mask);
3837 ^
3838
3839 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1230): warning #266: function "avx512_get_full_load_mask_pd" declared implicitly
3840 __mmask8 load_mask = avx512_get_full_load_mask_pd();
3841 ^
...
3845 ^
3846
3847 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1256): warning #266: function "avx512_masked_load_pd" declared implicitly
3848 x1 = avx512_masked_load_pd(load_mask, ip1);
3849 ^
3850
>> 3851 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1256): error: a value of type "int" cannot be assigned to an entity of type "__m512d"
3852 x1 = avx512_masked_load_pd(load_mask, ip1);
3853 ^
3854
3855 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1259): warning #266: function "avx512_masked_gather_pd" declared implicitly
3856 x1 = avx512_masked_gather_pd(zeros_f, ip1, vindex_ip1, load_mask);
3857 ^
3858
>> 3859 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1259): error: a value of type "int" cannot be assigned to an entity of type "__m512d"
3860 x1 = avx512_masked_gather_pd(zeros_f, ip1, vindex_ip1, load_mask);
3861 ^
3862
3863 compilation aborted for numpy/core/libloops_exponent_log.dispatch.h_AVX512_SKX.a.p/loops_exponent_log.dispatch.c (code 2)
3864 [131/489] Compiling C++ object numpy/core/libsimd_qsort.dispatch.h_AVX512_SKX.a.p/src_npysort_simd_qsort.dispatch.cpp.o
3865 icpc: command line warning #10121: overriding '-march=icelake-client' with '-xSKYLAKE-AVX512'
...
4321 ╰─> See above for output.
4322
4323 note: This error originates from a subprocess, and is likely not a problem with pip.
4324 full command: /efs/spack/opt/spack/linux-amzn2-icelake/intel-2021.10.0/python-3.11.6-jx2qibnnlbef6tuoz522y7vqxcbfk4k2/bin/python3.11 /efs/spack/opt/spack/linux-amzn2-icelake/intel-2021.10
.0/py-pip-23.1.2-qvnn4g5wwuo63ahweig6spjl7wstnupz/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py prepare_metadata_for_build_wheel /tmp/tmp3bcaz6qr
4325 cwd: /tmp/ec2-user/spack-stage/spack-stage-py-numpy-1.26.2-zcm3iosfw4ybhpj6ccv6ejvgreyuhebt/spack-src
4326 Preparing metadata (pyproject.toml): finished with status 'error'
>> 4327 error: metadata-generation-failed
4328
4329 × Encountered error while generating package metadata.
4330 ╰─> See above for output.
4331
4332 note: This is an issue with the package mentioned above, not pip.
4333 hint: See above for details.
See build log for details:
/tmp/ec2-user/spack-stage/spack-stage-py-numpy-1.26.2-zcm3iosfw4ybhpj6ccv6ejvgreyuhebt/spack-build-out.txt
Information on your system
Amazon Linux
ParallelCluster 3.8.0 AMI - AMI ID: ami-0210804e53e3ef063
- Spack: 0.22.0.dev0 (75e96b8)
- Python: 3.7.16
- Platform: linux-amzn2-icelake
- Concretizer: clingo
Instance type: c6i.xlarge
Additional information
spack-build-out.txt
General information
Steps to reproduce the issue
$ spack install py-numpy@adamjstewart
@rgommers
Error message
FAILED: numpy/core/libloops_exponent_log.dispatch.h_AVX512_SKX.a.p/meson-generated_loops_exponent_log.dispatch.c.o and error: argument of type "npyv_f64" is incompatible with parameter of type "__m512d" and error: a value of type "__m512d" cannot be used to initialize an entity of type "npyv_f64"
==> Error: ProcessError: Command exited with status 1: '/efs/spack/opt/spack/linux-amzn2-icelake/intel-2021.10.0/python-3.11.6-jx2qibnnlbef6tuoz522y7vqxcbfk4k2/bin/python3.11' '-m' 'pip' '-vvv' '--no-input' '--no-cache-dir' '--disable-pip-version-check' 'install' '--no-deps' '--ignore-installed' '--no-build-isolation' '--no-warn-script-location' '--no-index' '--prefix=/efs/spack/opt/spack/linux-amzn2-icelake/intel-2021.10.0/py-numpy-1.26.2-zcm3iosfw4ybhpj6ccv6ejvgreyuhebt' '--config-settings=builddir=build' '--config-settings=compile-args=-j4' '--config-settings=setup-args=-Dblas=mkl-dynamic-lp64-seq' '--config-settings=setup-args=-Dlapack=mkl-dynamic-lp64-seq' '.' 14 errors found in build log: 3634 3635 [126/489] Linking static target numpy/core/libloops_exponent_log.dispatch.h_baseline.a 3636 [127/489] Generating 'numpy/core/libloops_exponent_log.dispatch.h_AVX512_SKX.a.p/loops.h' 3637 [128/489] Generating 'numpy/core/libloops_exponent_log.dispatch.h_AVX512_SKX.a.p/loops_utils.h' 3638 [129/489] Generating 'numpy/core/libloops_exponent_log.dispatch.h_AVX512_SKX.a.p/loops_exponent_log.dispatch.c' 3639 [130/489] Compiling C object numpy/core/libloops_exponent_log.dispatch.h_AVX512_SKX.a.p/meson-generated_loops_exponent_log.dispatch.c.o >> 3640 FAILED: numpy/core/libloops_exponent_log.dispatch.h_AVX512_SKX.a.p/meson-generated_loops_exponent_log.dispatch.c.o 3641 /efs/spack/lib/spack/env/intel/icc -Inumpy/core/libloops_exponent_log.dispatch.h_AVX512_SKX.a.p -Inumpy/core -I../numpy/core -Inumpy/core/include -I../numpy/core/include -I../numpy/core/s rc/common -I../numpy/core/src/multiarray -I../numpy/core/src/npymath -I../numpy/core/src/umath -I/efs/spack/opt/spack/linux-amzn2-icelake/intel-2021.10.0/python-3.11.6-jx2qibnnlbef6tuoz522y 7vqxcbfk4k2/include/python3.11 -I/tmp/ec2-user/spack-stage/spack-stage-py-numpy-1.26.2-zcm3iosfw4ybhpj6ccv6ejvgreyuhebt/spack-src/build/meson_cpu -DNDEBUG -Wall -w3 -diag-disable:remark -st d=c99 -O3 -fno-strict-aliasing -msse -msse2 -msse3 -fPIC -DNPY_INTERNAL_BUILD -DHAVE_NPY_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE=1 -D_LARGEFILE64_SOURCE=1 -O3 -DNPY_HAVE_SSE2 -D NPY_HAVE_SSE -DNPY_HAVE_SSE3 -DNPY_HAVE_SSSE3 -DNPY_HAVE_SSE41 -DNPY_HAVE_POPCNT -DNPY_HAVE_SSE42 -DNPY_HAVE_AVX -DNPY_HAVE_F16C -DNPY_HAVE_AVX2 -DNPY_HAVE_FMA3 -DNPY_HAVE_AVX512_SKX -DNPY_ HAVE_AVX512VL -DNPY_HAVE_AVX512BW -DNPY_HAVE_AVX512DQ -DNPY_HAVE_AVX512BW_MASK -DNPY_HAVE_AVX512DQ_MASK -msse -msse2 -msse3 -mssse3 -msse4.1 -msse4.2 -mavx -xSKYLAKE-AVX512 -DNPY_MTARGETS_C URRENT=AVX512_SKX -MD -MQ numpy/core/libloops_exponent_log.dispatch.h_AVX512_SKX.a.p/meson-generated_loops_exponent_log.dispatch.c.o -MF numpy/core/libloops_exponent_log.dispatch.h_AVX512_S KX.a.p/meson-generated_loops_exponent_log.dispatch.c.o.d -o numpy/core/libloops_exponent_log.dispatch.h_AVX512_SKX.a.p/meson-generated_loops_exponent_log.dispatch.c.o -c numpy/core/libloops _exponent_log.dispatch.h_AVX512_SKX.a.p/loops_exponent_log.dispatch.c 3642 icc: command line warning #10121: overriding '-march=icelake-client' with '-xSKYLAKE-AVX512' 3643 In file included from /efs/spack/opt/spack/linux-amzn2-icelake/intel-2021.10.0/python-3.11.6-jx2qibnnlbef6tuoz522y7vqxcbfk4k2/include/python3.11/unicodeobject.h(1042), 3644 from /efs/spack/opt/spack/linux-amzn2-icelake/intel-2021.10.0/python-3.11.6-jx2qibnnlbef6tuoz522y7vqxcbfk4k2/include/python3.11/Python.h(51), 3645 from ../numpy/core/include/numpy/npy_common.h(5), 3646 from ../numpy/core/include/numpy/npy_math.h(4), ... 3745 from ../numpy/core/include/numpy/npy_math.h(4), 3746 from ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(12): 3747 /efs/spack/opt/spack/linux-amzn2-icelake/intel-2021.10.0/python-3.11.6-jx2qibnnlbef6tuoz522y7vqxcbfk4k2/include/python3.11/cpython/unicodeobject.h(709): warning #2282: unrecognized GCC pr agma 3748 _Py_COMP_DIAG_POP 3749 ^ 3750 >> 3751 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(720): error: argument of type "npyv_f64" is incompatible with parameter of type "__m512d" 3752 npyv_f64 out = __svml_exp8(x); 3753 ^ 3754 >> 3755 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(720): error: a value of type "__m512d" cannot be used to initialize an entity of type "npyv_f64" 3756 npyv_f64 out = __svml_exp8(x); 3757 ^ 3758 >> 3759 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(720): error: argument of type "npyv_f64" is incompatible with parameter of type "__m512d" 3760 npyv_f64 out = __svml_log8(x); 3761 ^ 3762 >> 3763 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(720): error: a value of type "__m512d" cannot be used to initialize an entity of type "npyv_f64" 3764 npyv_f64 out = __svml_log8(x); 3765 ^ 3766 3767 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1161): warning #266: function "avx512_get_full_load_mask_ps" declared implicitly 3768 __mmask16 load_mask = avx512_get_full_load_mask_ps(); 3769 ^ ... 3773 ^ 3774 3775 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1189): warning #266: function "avx512_masked_load_ps" declared implicitly 3776 x1 = avx512_masked_load_ps(load_mask, ip1); 3777 ^ 3778 >> 3779 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1189): error: a value of type "int" cannot be assigned to an entity of type "__m512" 3780 x1 = avx512_masked_load_ps(load_mask, ip1); 3781 ^ 3782 3783 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1192): warning #266: function "avx512_masked_gather_ps" declared implicitly 3784 x1 = avx512_masked_gather_ps(zeros_f, ip1, vindex_ip1, load_mask); 3785 ^ 3786 >> 3787 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1192): error: a value of type "int" cannot be assigned to an entity of type "__m512" 3788 x1 = avx512_masked_gather_ps(zeros_f, ip1, vindex_ip1, load_mask); 3789 ^ 3790 3791 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1230): warning #266: function "avx512_get_full_load_mask_ps" declared implicitly 3792 __mmask16 load_mask = avx512_get_full_load_mask_ps(); 3793 ^ ... 3797 ^ 3798 3799 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1256): warning #266: function "avx512_masked_load_ps" declared implicitly 3800 x1 = avx512_masked_load_ps(load_mask, ip1); 3801 ^ 3802 >> 3803 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1256): error: a value of type "int" cannot be assigned to an entity of type "__m512" 3804 x1 = avx512_masked_load_ps(load_mask, ip1); 3805 ^ 3806 3807 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1259): warning #266: function "avx512_masked_gather_ps" declared implicitly 3808 x1 = avx512_masked_gather_ps(zeros_f, ip1, vindex_ip1, load_mask); 3809 ^ 3810 >> 3811 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1259): error: a value of type "int" cannot be assigned to an entity of type "__m512" 3812 x1 = avx512_masked_gather_ps(zeros_f, ip1, vindex_ip1, load_mask); 3813 ^ 3814 3815 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1161): warning #266: function "avx512_get_full_load_mask_pd" declared implicitly 3816 __mmask8 load_mask = avx512_get_full_load_mask_pd(); 3817 ^ ... 3821 ^ 3822 3823 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1189): warning #266: function "avx512_masked_load_pd" declared implicitly 3824 x1 = avx512_masked_load_pd(load_mask, ip1); 3825 ^ 3826 >> 3827 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1189): error: a value of type "int" cannot be assigned to an entity of type "__m512d" 3828 x1 = avx512_masked_load_pd(load_mask, ip1); 3829 ^ 3830 3831 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1192): warning #266: function "avx512_masked_gather_pd" declared implicitly 3832 x1 = avx512_masked_gather_pd(zeros_f, ip1, vindex_ip1, load_mask); 3833 ^ 3834 >> 3835 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1192): error: a value of type "int" cannot be assigned to an entity of type "__m512d" 3836 x1 = avx512_masked_gather_pd(zeros_f, ip1, vindex_ip1, load_mask); 3837 ^ 3838 3839 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1230): warning #266: function "avx512_get_full_load_mask_pd" declared implicitly 3840 __mmask8 load_mask = avx512_get_full_load_mask_pd(); 3841 ^ ... 3845 ^ 3846 3847 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1256): warning #266: function "avx512_masked_load_pd" declared implicitly 3848 x1 = avx512_masked_load_pd(load_mask, ip1); 3849 ^ 3850 >> 3851 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1256): error: a value of type "int" cannot be assigned to an entity of type "__m512d" 3852 x1 = avx512_masked_load_pd(load_mask, ip1); 3853 ^ 3854 3855 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1259): warning #266: function "avx512_masked_gather_pd" declared implicitly 3856 x1 = avx512_masked_gather_pd(zeros_f, ip1, vindex_ip1, load_mask); 3857 ^ 3858 >> 3859 ../numpy/core/src/umath/loops_exponent_log.dispatch.c.src(1259): error: a value of type "int" cannot be assigned to an entity of type "__m512d" 3860 x1 = avx512_masked_gather_pd(zeros_f, ip1, vindex_ip1, load_mask); 3861 ^ 3862 3863 compilation aborted for numpy/core/libloops_exponent_log.dispatch.h_AVX512_SKX.a.p/loops_exponent_log.dispatch.c (code 2) 3864 [131/489] Compiling C++ object numpy/core/libsimd_qsort.dispatch.h_AVX512_SKX.a.p/src_npysort_simd_qsort.dispatch.cpp.o 3865 icpc: command line warning #10121: overriding '-march=icelake-client' with '-xSKYLAKE-AVX512' ... 4321 ╰─> See above for output. 4322 4323 note: This error originates from a subprocess, and is likely not a problem with pip. 4324 full command: /efs/spack/opt/spack/linux-amzn2-icelake/intel-2021.10.0/python-3.11.6-jx2qibnnlbef6tuoz522y7vqxcbfk4k2/bin/python3.11 /efs/spack/opt/spack/linux-amzn2-icelake/intel-2021.10 .0/py-pip-23.1.2-qvnn4g5wwuo63ahweig6spjl7wstnupz/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py prepare_metadata_for_build_wheel /tmp/tmp3bcaz6qr 4325 cwd: /tmp/ec2-user/spack-stage/spack-stage-py-numpy-1.26.2-zcm3iosfw4ybhpj6ccv6ejvgreyuhebt/spack-src 4326 Preparing metadata (pyproject.toml): finished with status 'error' >> 4327 error: metadata-generation-failed 4328 4329 × Encountered error while generating package metadata. 4330 ╰─> See above for output. 4331 4332 note: This is an issue with the package mentioned above, not pip. 4333 hint: See above for details. See build log for details: /tmp/ec2-user/spack-stage/spack-stage-py-numpy-1.26.2-zcm3iosfw4ybhpj6ccv6ejvgreyuhebt/spack-build-out.txtInformation on your system
Amazon Linux
ParallelCluster 3.8.0 AMI - AMI ID: ami-0210804e53e3ef063
Instance type: c6i.xlarge
Additional information
spack-build-out.txt
General information
spack debug reportand reported the version of Spack/Python/Platformspack maintainers <name-of-the-package>and @mentioned any maintainers