-
Notifications
You must be signed in to change notification settings - Fork 2
Add reactions variant to support VANTAGE-Reactions coupling. #8
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
base: main
Are you sure you want to change the base?
Conversation
oparry-ukaea
left a comment
There was a problem hiding this 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?
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. |
|
Yeah, fair enough. |
|
Sorry @oparry-ukaea @mrhardman, I totally missed this. |
|
For the variant name, would |
|
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)? |
|
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. |
…eactions packages aren't available.
|
Unfortunately the solution that we had in mind isn't going to work - loading packages from a git url works in a |
|
@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. |
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
+reactionsvariant, so named because that is the package name for VANTAGE-Reactions.