Skip to content

Disable py-numpy AVX512 instructions when compiled with Intel #498

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

Merged
merged 2 commits into from
Jan 14, 2025

Conversation

DavidHuber-NOAA
Copy link
Collaborator

@DavidHuber-NOAA DavidHuber-NOAA commented Jan 8, 2025

Description

This disables AVX512 instructions when compiling numpy with Intel classic compilers to prevent. The instructions produce NaNs when performing basic array operations. Further discussions can be found in
matplotlib/matplotlib#28762
numpy/numpy#27840
JCSDA/spack-stack#1276

Closes JCSDA/spack-stack#1276

Checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have run the unit tests before creating the PR

…47941)

* Disable numpy AVX512 when compiled with Intel classic

* Add py-numpy v1.26.5

* Add patch to handle AVX512 conversions

* Remove unneeded patch.

* Remove unnecessary tag

* Move blas_config_settings to config_settings

* Cleaned up blas settings
Copy link
Collaborator

@climbfuji climbfuji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your diligence getting this into spack develop!

@climbfuji climbfuji merged commit afa5072 into JCSDA:spack-stack-dev Jan 14, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

matplotlib 3.8.0 is unable to create a basic plot
3 participants