Conversation
|
I think the general idea of using I no longer use Although I do everything with Spack Environments, I have found them to be particularly ill-suited to what I do. Consider how we build a single package: write a recipe, run the recipe to get a built package, then Oh yes... and modules don't really work because they were never independently loadable / unloadable to begin with, at least not for things beyond basic stuff like a compiler or MPI library here and there. IMHO, only entire environments (which are known to be self-consistent) can be safely loaded / unloaded (or activated, or whatever we like to call it). Whether that is done by setting long paths in env vars, or by setting up views, is beside the point. Loading an environment by cobbling together 100 module files is particularly ill-suited to the task. Spack does important essential things for me, but it doesn't quite do what I need, and I can't seem to keep up. I would like to see a version of Spack one. day that "just works," but the time investment to make that happen is more than I can afford at my job. I would love a re-think of Spack Environments (which could be put in side-by-side to how environments currently work), because the current incarnation is so far off-base from what I need. In this context, removing Is there any way we could re-convene resources on thinking through "Spack Environments / Harness 2.0"? |
citibeth
left a comment
There was a problem hiding this comment.
I'm increasingly frustrated. See comments. Can we put resources into thinking through Spack Environments more carefully?
|
@citibeth this PR is only about Based on the number of open issues relating to |
becker33
left a comment
There was a problem hiding this comment.
I think you have mixed up the build-env and dev-build commands.
|
@becker33 I'm not sure if |
|
@adamjstewart I think |
|
Creating scripts that can be used without spack is a good thing
On Thu, Aug 27, 2020 at 13:25 Adam J. Stewart ***@***.***> wrote:
@becker33 <https://github.com/becker33> I'm not sure if spack build-env
or spack dev-build is a better match. spack setup is kind of inbetween in
the sense that it creates a script that can be run to setup the environment
and build the package, but doesn't actually build the package. I'm fine
with referencing either, just let me know what to change.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#18240 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAOVY55NYTBVPBSO2YPPRNTSC2JKPANCNFSM4QJXLDEQ>
.
--
Elizabeth Ashley Fischer, she/her
University of Alaska, Geophysical Institute
cell: 617-308-0436
UA is an AA/EO employer and educational institution and prohibits illegal
discrimination against any individual: www.alaska.edu/nondiscrimination.
|
13fd7b3 to
8c9e735
Compare
|
I don't mind the deprecation, I guess, but I would like to point out that When I first started using spack to support my development environment, I didn't realize that The way I think about this is that To me, the main shortcomings in the 2nd case of
The biggest drawback to I realize that I could mostly do my development using spack environments. But I don't really like that this would mean duplicating what's already in my package.py into an environment, missing some stuff (like options/variants), and having them inevitably diverge over time. |
spack setup was deprecated in 0.16 and will be removed in 0.17 Follow-up to #18240
spack setup was deprecated in 0.16 and will be removed in 0.17 Follow-up to spack#18240
spack setuphas been unmaintained for several years and there are dozens of open issues for this. In addition, it only ever supported theCMakePackagebase class, and there are no unit tests for it. Since then,spack dev-buildhas more or less replaced much of the functionality thatspack setuponce provided, supports all build systems, and is well tested. This PR deprecatesspack setupin favor ofspack dev-build.Closes #17737
Closes #15575
Closes #12519
Closes #12231
Closes #10403
Closes #9395
Closes #9108
Closes #5546
Closes #5254
Closes #4920
Closes #2597
Closes #2339
Closes #2319
Closes #2235
Closes #2085
Closes #2055