-
Notifications
You must be signed in to change notification settings - Fork 202
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
use -march=x86-64 -mtune=generic instead of -xSSE2 when using Intel oneAPI compilers #4147
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
…API Intel compilers
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
test/framework/toolchain.py
Outdated
'intel-compilers': ('2021.4.0', "-xSSE2 -fp-speculation=safe -fp-model precise"), | ||
'intel-compilers': ('2021.4.0', "-march=x86-64 -mtune=generic -fp-speculation=safe -fp-model precise"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a bit too lax. It should test intel-compilers with and without oneapi enabled.
So perhaps skip the enforcing of oneapi=true below and have two intel-compilers, one pre-2022.2.0 (like the 2021.4.0 above) with -xSSE2 and one intel-compilers using version > 2022.2.0 to get oneapi auto enabled.
Not sure how to do that easy since you can't have two intel-compilers in this dict...
perhaps an array of single compiler dicts?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@akesandgren Very good point for raising this: I've extended this test extensively in 848293d, and doing so actually uncovered a bug, which was fixed in 63099bf
df2a695
to
e4d3f1e
Compare
… oneapi toolchain option in test_optarch_generic
…if oneapi toolchain option is not set to True or False
9c8d5a4
to
63099bf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, but it looked good to me before, so waiting for an extra pair of eyes before merging
nevermind :) |
ah, it was on auto-merge, missed that... even then, I would have expected that a more recent commit would clear the auto-merge, same as dismissing an outdated review... |
Required since
xSSE2
is no longer supported by oneAPI compilers:tested with HPL in easybuilders/easybuild-easyconfigs#16962 using
eb --from-pr 16962 HPL-2.3-intel-2022b.eb --optarch=GENERIC