-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Zen3 R9 5950x in wsl2 Zen3 is recognized as Zen2, and compile with Zen3 architecture will report an error #36817
Comments
Can you post the output of $ spack config add "concretizer:targets:host_compatible:false" |
I'm having the same issue, but on a Win10 machine Here's a /proc/info and what spack detects
And here's a
Steps ran:
|
Found the problem, apparently some Zen3 CPU's don't have the "pku" flag enabled, causing detention to fallback to Zen2. They have some issues related to this aswell One small advice to any one trying the fix, be careful with compiler flags, and make sure "-mpku" is NOT set, since if CPUID cant find the flag for the CPU, if the compiler emits PKU instructions it gets an Illegal Instruction exception Try the fix at your own risk Tagging @alalazo so that this can be either closed or looked further And thank you for your work |
Steps to reproduce
when I compiled vasp6.3.2 with [email protected], by:
spack -d install -v -j 16 [email protected] +scalapack +openmp %[email protected] target=zen3 ^[email protected] ^[email protected] threads=openmp ^[email protected] ^[email protected] ^[email protected] fabrics=auto
It shows that
The machine does not apply zen3
。When I changed the zen3 option to zen2 and tried to compile, some strange errors were reported so I don't have to paste itError message
The machine does not apply zen3
Information on your system
Win 11 wsl 2-ubuntu 20.04.2
General information
spack debug report
and reported the version of Spack/Python/PlatformThe text was updated successfully, but these errors were encountered: