-
Notifications
You must be signed in to change notification settings - Fork 706
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
OpenBLAS/0.3.7-GCC-8.3.0 with optarch=GENERIC builds with avx512. #9754
Comments
When built on the i5 itself, 0.3.7-GCC-8.3.0 produces |
Well, I found out why. OpenBLAS with EasyBuild never supported optarch. And it's documented as a special case: https://easybuild.readthedocs.io/en/latest/Controlling_compiler_optimization_flags.html#caveats
I might have to see if there is a way to resolve this somehow in the OpenBLAS EasyBlock, so at least the optarch is adhered to. |
This can probably be fixed in the easyblock, indeed. I think the documentation dates from before we had a custom easyblock for OpenBLAS (when we were still using |
Same behavior with OpenBLAS-0.3.9-GCC-9.3.0.eb. Using |
@BerndDoser There is no workaround directly in EasyBuild right now. I have not had time to look at this in a long while, sorry. There is an old WIP here easybuilders/easybuild-easyblocks#1946 that requires a bit of work right now. As such, the options are basically:
I really should sit down and work on that PR. Sorry. :-( |
OpenBLAS/0.3.7-GCC-8.3.0 built with optarch=GENERIC returns an illegal instruction when used via R on an i5 without avx512. OpenBLAS/0.3.5-GCC-8.2.0-2.31.1 does not suffer from this issue.
Interesting feature here, these are all built on the same host with the same optarch=GENERIC:
The text was updated successfully, but these errors were encountered: