Skip to content

Support multiple versions of same compiler vendor in site config (especially oneapi)#1541

Merged
climbfuji merged 6 commits intodevelopfrom
feature/oneapi-oneifx
Mar 6, 2025
Merged

Support multiple versions of same compiler vendor in site config (especially oneapi)#1541
climbfuji merged 6 commits intodevelopfrom
feature/oneapi-oneifx

Conversation

@climbfuji
Copy link
Copy Markdown
Collaborator

@climbfuji climbfuji commented Mar 3, 2025

Summary

This PR updates the documentation for maintaining site configurations with multiple versions of the same compiler vendor. The most important use case here is a oneapi@2024 configuration with ifort and a oneapi@2025 configuration with ifx. It turns out that this is already supported by spack-stack, therefore this is primarily a question of providing adequate documentation and updating the site configs as needed.

This PR, in addition to updating the documentation, updates the NRL site configs and NRL batch install script accordingly. These can serve as blueprints for other sites, if needed.

I also sneaked in a tiny update for the util/nrl/batch_install.sh script to turn on or off the updating of source and bootstrap caches (tested on NRL systems).

Testing

Describe the testing done for this PR.

Applications affected

None

Systems affected

All with multiple versions of a given compiler

Dependencies

None

Issue(s) addressed

Closes #1492

Checklist

  • This PR addresses one issue/problem/enhancement, or has a very good reason for not doing so.
  • These changes have been tested on the affected systems and applications.
  • All dependency PRs/issues have been resolved and this PR can be merged.

@climbfuji climbfuji self-assigned this Mar 6, 2025
@climbfuji climbfuji moved this to In Progress in spack-stack-2.0.x (2025 Q4) Mar 6, 2025
@climbfuji climbfuji marked this pull request as ready for review March 6, 2025 19:50
Copy link
Copy Markdown
Collaborator

@ulmononian ulmononian left a comment

Choose a reason for hiding this comment

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

looks good. we should try to parallel this on our noaa configs @RatkoVasic-NOAA @rickgrubin-noaa.

@climbfuji climbfuji merged commit 1a19182 into develop Mar 6, 2025
9 checks passed
@climbfuji climbfuji deleted the feature/oneapi-oneifx branch March 6, 2025 20:19
@github-project-automation github-project-automation bot moved this from In Progress to Done in spack-stack-2.0.x (2025 Q4) Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects

Development

Successfully merging this pull request may close these issues.

Find a way to built stacks with "Intel oneAPI builds with ifort" and "Intel oneAPI builds with ifx"

3 participants