Skip to content
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 Cray compiler wrappers in manual Polaris builds #1154

Merged
merged 3 commits into from
Jun 14, 2023

Conversation

siramok
Copy link
Collaborator

@siramok siramok commented Jun 5, 2023

Improves upon #1148, the Cray compiler wrappers are now used to build on Polaris instead of using gcc, g++, and gfortran directly. It turns out that the ALCF documentation I originally referenced for how to swap from NVHPC to GCC was not correct.

Just one caveat here: compiling RAJA with the updated script runs into this error. The fix is to set -D RAJA_ENABLE_VECTORIZATION=OFF when building RAJA, which defaults to ON.

There are several ways to get around this, and I wasn't sure what the preferred way would be. I settled on making it an option that leaves the default alone, but lets me disable it for Polaris builds specifically. Would appreciate your thoughts, I'm happy to change it however you think is best.

@cyrush
Copy link
Member

cyrush commented Jun 13, 2023

Looks good, let me know if there any more changes needed, if not I will merge.

@siramok
Copy link
Collaborator Author

siramok commented Jun 13, 2023

Cool! In that case, it doesn't need any more changes. Thanks!

@cyrush cyrush merged commit 8609488 into Alpine-DAV:develop Jun 14, 2023
@cyrush
Copy link
Member

cyrush commented Jun 14, 2023

great -- merged -- thanks for confirming,

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.

2 participants