Closed simonLeary42 closed 1 year ago
I believe there was a slack discussion, but I don't know how to find it.
The problem I reported was that the oneapi compilers do not accept pentium4
:
(venv) rscohn1@rscohn1-mobl1:compilers$ icpx -march=pentium4 ~/local/projects/spack/meson-project/cpp/main.cpp -c
error: unknown target CPU 'pentium4'
note: valid target CPU values are: nocona, core2, penryn, bonnell, atom, silvermont, slm, goldmont, goldmont-plus, tremont,
gracemont, nehalem, corei7, westmere, sandybridge, corei7-avx, ivybridge, core-avx-i, haswell, core-avx2, broadwell,
common-avx512, skylake, skylake-avx512, skx, cascadelake, cooperlake, cannonlake, icelake-client, rocketlake, icelake-server,
tigerlake, sapphirerapids, alderlake, knl, knm, k8, athlon64, athlon-fx, opteron, k8-sse3, athlon64-sse3, opteron-sse3,
amdfam10, barcelona, btver1, btver2, bdver1, bdver2, bdver3, bdver4, znver1, znver2, znver3, x86-64, x86-64-v2, x86-64-v3,
x86-64-v4
(venv) rscohn1@rscohn1-mobl1:compilers$
The classic compilers accept pentium4, but not x86-64
By the way, I just noticed that the latest classic compiler release has a deprecation message:
(venv) rscohn1@rscohn1-mobl1:compilers$ icc -march=x86-64 ~/local/projects/spack/meson-project/cpp/main.cpp -c
icc: remark #10441: The Intel(R) C++ Compiler Classic (ICC) is deprecated and will be removed from product release in the second hal\
f of 2023. The Intel(R) oneAPI DPC++/C++ Compiler (ICX) is the recommended compiler moving forward. Please transition to use this co\
mpiler. Use '-diag-disable=10441' to disable this message.
Is there something I should do to expose this to spack users?
@simonleary-umass-edu Thanks a bunch for submitting the issue. Since it is a small bug fix I took the liberty of going ahead and pushing the fix we suggested above.
x86-64
is nowhere in the intel classic compiler manual section on themarch
flag.This should probably be fact checked on a system that isn't mine.