Skip to content

[site config] aws-ec2 ubuntu config updates for 2.1 release#1940

Open
eap wants to merge 2 commits intoJCSDA:release/2.1from
eap:feature/site-aws
Open

[site config] aws-ec2 ubuntu config updates for 2.1 release#1940
eap wants to merge 2 commits intoJCSDA:release/2.1from
eap:feature/site-aws

Conversation

@eap
Copy link
Collaborator

@eap eap commented Mar 4, 2026

Site config updates for the current JCSDA maintained ec2 AMIs

Note: Because my toolchain changes would also break other site configs in this release, I have removed toolchains from this PR.

Testing

Locally tested

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.
  • All necessary updates to the documentation (spack-stack wiki) will be made when this PR is merged --- TODO (will resolve before submitting this PR)

@eap eap changed the base branch from develop to release/2.1 March 4, 2026 23:57
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Future changes to this file will be easier to parse as I'm now maintaining them in alphabetical order (if you squint)

Comment on lines +273 to +279
intel-oneapi-runtime:
buildable: false
externals:
- spec: intel-oneapi-runtime@2025.3.0
prefix: /opt/intel/oneapi
modules:
- compiler-rt/2025.3.0
Copy link
Collaborator

Choose a reason for hiding this comment

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

I am very surprised that this still works. I couldn't get anything to concretize without duplicates or errors if I had a non-buildable runtime library for any of the compilers.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

interesting indeed! This is definitely working in my case. Although I did experience that issue with gcc runtime.

$ cat log.concretize  | grep runtime
 -   x4mnxf4          ^gcc-runtime@13.3.0 build_system=generic platform=linux os=ubuntu24.04 target=icelake
[e]  uc6376q      ^intel-oneapi-runtime@2025.3.0 build_system=generic platform=linux os=ubuntu24.04 target=x86_64

Copy link
Collaborator

Choose a reason for hiding this comment

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

I know you were using toolchains originally, and maybe that's why you didn't need

all:
require:
- any_of: ['%intel-oneapi-compilers@=2025.3.0']
when: '%intel-oneapi-compilers'
- any_of: ['%gcc@=11.2.0']
when: '%gcc'
or the equivalent for gcc?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Unfortunately yes. This PR is kind of a mix. The real site config uses toolchains but that included a number of changes (including changes to the configs/common/...) that would have broken other sites if they were submitted.

So this PR is me doing my best to submit the ec2 config changes without breaking every other site simultaneously.

@climbfuji climbfuji moved this to In Progress in spack-stack-2.1.x (2026 Q1) Mar 5, 2026
@eap eap changed the title Feature/site aws [site config] aws-ec2 ubuntu config updates for 2.1 release Mar 5, 2026
source setup.sh
# Swap default module type for default linux.
sed -i 's/tcl/lmod/g' configs/sites/tier2/linux.default/modules.yaml
sed -i "s/- '%gcc'/- '%gcc_toolchain'/" ./common/packages.yaml
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this snuck into the docs in 2.0 even though it wasn't used.

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.

Please merge when you are ready

@climbfuji climbfuji mentioned this pull request Mar 5, 2026
28 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

2 participants