-
Notifications
You must be signed in to change notification settings - Fork 56
Add gittools as varant to neptune-python-env/neptune-dev, add rank-run to base-env #1891
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
Add gittools as varant to neptune-python-env/neptune-dev, add rank-run to base-env #1891
Conversation
…), enable in neptune-dev template
|
Which applications use rank-run? Is it needed for UFS Weather Model? |
According to #1805, the rrfs-workflow uses it. It's such a trivial tool to install (dependencies, only one executable) that I don't have a problem including it in the base environment. |
|
Separately from this PR I think it would pay to discuss base-env, what's in it, and whether we need it (i.e., as opposed to just separately enumerating dependencies for the apps that use it). My main concern is that at least currently, our main installations on WCOSS2 will be based on a trimmed down unified-dev template, but we're still constrained by what software is allowed on WCOSS2, so ideally I'd like the ufs-weather-model-env spec to correspond with just what UWM needs. I can create an issue and/or raise it in our next meeting. |
I thought about your question last night after I responded. That makes sense. We could create a variant with optional tools or define an env for rrfs-workflow and other workflows that don't have one yet, and then stick it in there. What do you think? |
|
I'm okay with either solution, though I prefer the latter solution of separate metapackages as that feels more logical to me in terms of having metapackages that correspond with applications (though if we need a 'misc-env' catch-all metapackage I'm fine with that too). How does that sound? |
If I were to create |
|
The packages that jump out at me are cloc, plus some of the Python stuff like pytest and setuptools. For the Python ones I could see either moving those to misc-env or adding a 'python-extras' variant. In my ideal world, spec'ing ufs-weather-model-env would provide strictly what's needed to build UFS Weather Model and run RTs (@rickgrubin @RatkoVasic-NOAA @natalie-perlin please chime in if you have another perspective). |
UFS is not unique here, same situation for NEPTUNE. We want a stripped-down environment to support exactly what is needed for NEPTUNE in operations - hence the I wonder if a variant |
|
That sounds reasonable. I could live with setting '~devtools' or whatever in packages.yaml for Acorn/WCOSS2 for example. |
Ok. In this case, I suggest we move ahead with this PR as is (add rank-run to base-env) and discuss at the next spack-stack meeting the reorganization of the environments - which packages are part of the devtools variants for the different |
|
Sounds good 👍 |
Thanks, could you also take a look at the submodule PR, please? JCSDA/spack-packages#36 |
Description
gittoolsvariant (gh,py-pygithub) toneptune-python-envand enable inneptune-devtemplate. I couldn't enable it in theunified-devtemplate foroneapi, because the concretizer ended up in an infinite loop, heating my room overnight but not concretizing the environment.rank-runtobase-env.bashto all DOD HPCMP systems (required bygh-->go, don't want to buildbash!), also find in GitHub workflows (I checked that it is being found and used)..gitmodules: unintentional leftover from previous PR that didn't revert thespacksubmodule pointer information.Dependencies
Issues addressed
Closes #1805
Closes #1727
Applications affected
NEPTUNE
Systems affected
NRL systems
Testing
Checklist
All necessary updates to the documentation (spack-stack wiki) will be made when this PR is merged