Skip to content

Conversation

@alalazo
Copy link
Member

@alalazo alalazo commented Jan 28, 2026

Meant to try spack/spack#51891

Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
@alalazo alalazo requested a review from a team as a code owner January 28, 2026 20:30
@alalazo alalazo added the pipelines:urgent Skip "deferred pipelines" check. Only use if rebasing on a tested develop commit is unfeasible label Jan 28, 2026
Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>

- group: "gcc@11 specs"
specs:
- $gcc_system_packages
Copy link
Member

Choose a reason for hiding this comment

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

maybe inline those? the group already has a name

- $gcc_system_packages
- group: compiler
specs:
- gcc@12
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- gcc@12
- gcc@12.3

was on purpose

Copy link
Member Author

Choose a reason for hiding this comment

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

Wasn't the purpose to have the same version that we would get from:

$ apt install gcc-12

on Ubuntu 22.04? Do we still need that now that compilers are dependencies?

Copy link
Member

@alecbcs alecbcs Jan 28, 2026

Choose a reason for hiding this comment

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

As far as I'm aware we'd used apt before compilers as dependencies to bootstrap gcc@12 for the environment. With groups we can drop the usage of apt and use a spack build gcc@12 to more closely mirror the steps in the tutorial.

Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
Use the group feature to have a
single spack.yaml for radiuss.

Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
@spackbot-triage spackbot-triage bot added the ci Issues related to Continuous Integration label Jan 29, 2026
- openmpi

concretizer:
unify: false
Copy link
Member Author

Choose a reason for hiding this comment

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

@adrienbernede Is there any reason why we use unify:false for radiuss on the cpu? Can it be changed to unify:true?

Copy link
Contributor

Choose a reason for hiding this comment

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

Here are my concerns:

This stack is not meant to be built together (e.g. as dependencies of a unique project), so it may over-constrain the specs and fail.

Could this result in building only older versions of certain packages ?
E.g. if A@latest requires B@latest-1, then B@latest will not be built in the stack, correct ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Could this result in building only older versions of certain packages ?

Yes, that might happen. In the case you make there will be just B@<latest-1>. I'll keep unify:false then.

Copy link
Member Author

Choose a reason for hiding this comment

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

Another question. Do you have any concern if the same specs that are now in radiuss-cuda would be built in a single pipeline together with the specs of radiuss (that's what this PR is experimenting with)?

Copy link
Contributor

Choose a reason for hiding this comment

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

My only concern is that it will not help to decipher where a failing job comes from. What are the benefits of merging the pipelines ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Less duplicate builds, less runners used, faster pipelines. Also, since the spack.yaml is unique also more consistency in the configuration for the common parts.

Copy link
Contributor

Choose a reason for hiding this comment

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

OK, I vote the benefits outweighs the drawbacks :)

Copy link
Contributor

Choose a reason for hiding this comment

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

To make it clear:
Yes to merging pipelines, but no to unify:true to ensure we build the latest release of each package.

Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
@alalazo alalazo requested a review from adamjstewart as a code owner January 29, 2026 18:21
Copy link
Member

Choose a reason for hiding this comment

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

Currently don't see a huge advantage since we still end up duplicating all config. What I was hoping for in spack/spack#32893 and spack/spack#32894 was the ability to create a cross-product/matrix of:

  • packages
  • variants
  • arches

Ideally, these would also reuse shared dependencies instead of building the same non-GPU Python libs 3x.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Issues related to Continuous Integration don't-merge-yet pipelines:urgent Skip "deferred pipelines" check. Only use if rebasing on a tested develop commit is unfeasible

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants