Skip to content

Conversation

@mrhardman
Copy link
Contributor

To be able to compile VANTAGE-Reactions with Hermes-3, we need to make these modifications to the package definitions. See, e.g., UKAEA-Edge-Code/hermes-3#1 and UKAEA-Edge-Code/hermes-3#3 for context.
We add

Copy link
Contributor

@oparry-ukaea oparry-ukaea left a comment

Choose a reason for hiding this comment

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

I think the only question here is whether "reactions" is the right name for the variant.

Admittedly "vantage" might not mean much to somebody spack-installing hermes for the first time, but maybe that's ok if we document it properly? Would "kinetic_neutrals" make sense?

@mrhardman
Copy link
Contributor Author

I think the only question here is whether "reactions" is the right name for the variant.

Admittedly "vantage" might not mean much to somebody spack-installing hermes for the first time, but maybe that's ok if we document it properly? Would "kinetic_neutrals" make sense?

At the moment all this variant does is pull in VANTAGE-Reactions for some test compilation and for use of NESO-Particles in the proxy app. I picked this name just because that is what the package *.py file is called within VANTAGE-Reactions. If there is a more objective name, I am happy to change it.

@oparry-ukaea
Copy link
Contributor

Yeah, fair enough.
@mikekryjak - any preference for the name of a spack variant that turns on VANTAGE-Reactions features in Hermes?

@mikekryjak
Copy link

Sorry @oparry-ukaea @mrhardman, I totally missed this.
While I think it doesn't really matter what the name is at the moment as things are still in flux, I would prefer the "kinetic neutral variant" of Hermes-3 to be called "VANTAGE" not "reactions" because this way the name would better describe what capability is being enabled.

@mrhardman
Copy link
Contributor Author

For the variant name, would vantagereactions be acceptable? @mikekryjak @oparry-ukaea

@will-saunders-ukaea
Copy link

How does this spack repo get configured to use the NESO and VANTAGE spack repos? It seems that if it depends on those repos existing in submodule pointers in BOUT then this BOUT-Spack repo is not self contained and can only be used as a submodule of BOUT (at which point does it make sense to be a submodule)?

@oparry-ukaea
Copy link
Contributor

Thanks Will, I hadn't clocked that having spack clone the VANTAGE-Reactions repo as a git submodule wouldn't, on its own, allow it to use the packages therein...

@mrhardman Will has pointed me to a possible solution - I'll discuss with you offline before we update this issue.

@oparry-ukaea
Copy link
Contributor

Unfortunately the solution that we had in mind isn't going to work - loading packages from a git url works in a repos.yaml (plural) for a particular environment, but can't, as far as I can see, be used to tell one package repository about another via its repo.yaml (singular).
I've made a PR to warn anybody trying to use the variant without the reactions package being defined.

@oparry-ukaea
Copy link
Contributor

@mrhardman If you're happy with #12, I think we just need to merge that, update the variant name to 'vantagereactions' and then this can go in.

@mrhardman
Copy link
Contributor Author

@mrhardman If you're happy with #12, I think we just need to merge that, update the variant name to 'vantagereactions' and then this can go in.

Sounds good to me.

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.

5 participants