Skip to content

elpa: prefer 2016.05.004 until sse/avx/avx2 configure phase issues ar…#13530

Merged
tgamblin merged 1 commit intospack:releases/v0.13from
eugeneswalker:elpa-prefer-2016.05.004
Nov 1, 2019
Merged

elpa: prefer 2016.05.004 until sse/avx/avx2 configure phase issues ar…#13530
tgamblin merged 1 commit intospack:releases/v0.13from
eugeneswalker:elpa-prefer-2016.05.004

Conversation

@eugeneswalker
Copy link
Copy Markdown
Contributor

@eugeneswalker eugeneswalker commented Oct 31, 2019

Recent versions of Elpa fail to install in the configure phase, complaining that sse3, avx, and avx2 are not available even on machines where those instructions are available. This PR sets Elpa to prefer 2016.05.004 until these issues are resolved in future updates to Elpa. @becker33

@tgamblin tgamblin self-requested a review October 31, 2019 23:46
@tgamblin tgamblin merged commit 94de86a into spack:releases/v0.13 Nov 1, 2019
@becker33
Copy link
Copy Markdown
Member

becker33 commented Nov 5, 2019

@eugeneswalker I think I figured out why this is happening. You've been defaulting all packages to build against the lowest-common-denominator x86_64 target. This means Spack is supplying the flag -march=x86-64 to GCC, and SSE3, AVX, and AVX2 aren't present in that architecture.

We'll need to change elpa to check for the presence of those features and enable/disable the options accordingly, now that we have the ability to do so since #3206 was merged.

scottwittenburg pushed a commit to scottwittenburg/spack that referenced this pull request Nov 6, 2019
…k#13530)

- configuration fails on newer versions when enabling sse/avx/avx2
- prefer an older version that will build with these features
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants