Conversation
24f8ca2 to
c3aec10
Compare
|
Currently the dual component development build errors: There are similar errors for the |
|
Another problem I came across: the instructions only seem to work for references like |
Now I think about it, maybe that is because I still had a Which brings up another point. Should we provide a |
CodeGat
left a comment
There was a problem hiding this comment.
Seems good to me so far. Some small changes.
Co-authored-by: Tommy Gatti <[email protected]>
Thanks for the review. What do you think structurally? Covers the right ground? Too much detail? Does there need to be a TL;DR at the top that just says how to get going super quickly? Is it worth including all the Any opinion on providing a |
|
TLDRs are always good. On some of the logging. For example, a lot of the |
|
This is looking great, thanks guys. Could this document also state explicitly where to find the newly-compiled executable and how to add it to config.yaml so it can be run? (Does anything else need to change in config.yaml?) |
Co-authored-by: Andrew Kiss <[email protected]> Co-authored-by: Tommy Gatti <[email protected]>
| 2. Concretize the updated environment. This will update what spack thinks is required to build the defined specs, in this case `access-om2` and `mom5`. Note that the `mom5` spec has a `dev_path` argument that points to the location of the sources it will use to build the package. | ||
|
|
||
| ```bash | ||
| $ spack concretize -f |
There was a problem hiding this comment.
==> Error: concretization failed for the following reasons:
1. Cannot select a single "version" for package "mom5"
2. Cannot satisfy '[email protected]=2023.11.09'
3. Cannot satisfy '[email protected]=2023.11.09'
4. Cannot satisfy '[email protected]=2023.11.09'
There was a problem hiding this comment.
I also received this. @harshula's suggestion to use
spack develop [email protected]
also fixed things for me (both with and without adding the spec).
| $ spack add [email protected] | ||
| ==> Adding [email protected]=2023.11.09 to environment /g/data/.../dev_instructions/envs/mom5-dev |
There was a problem hiding this comment.
Double check if you need to add a package, since it is already included in the spack.yaml and you have added it with a version via develop.
|
The following worked: |
dougiesquire
left a comment
There was a problem hiding this comment.
Thanks for doing this @aidanheerdegen! A couple of very minor comments to take or leave
| 2. Concretize the updated environment. This will update what spack thinks is required to build the defined specs, in this case `access-om2` and `mom5`. Note that the `mom5` spec has a `dev_path` argument that points to the location of the sources it will use to build the package. | ||
|
|
||
| ```bash | ||
| $ spack concretize -f |
There was a problem hiding this comment.
I also received this. @harshula's suggestion to use
spack develop [email protected]
also fixed things for me (both with and without adding the spec).
|
I was able to successfully change the version of a dependency. e.g. Change the version of
|
|
Thanks for the thorough review and feedback
I got an error at concretisation: I am chaining the If I delete that upstream it concretises ok. I guess that is due to a hash mismatches between Installation works, but is slow because it has to compile all the dependencies. So I think I've established that we can't mix |
Thanks again for working through this. I can confirm that this installed Tried But it didn't install a new version of Adding parallelio:
require: '@2.5.10'to the |
Co-authored-by: Dougie Squire <[email protected]>
ccarouge
left a comment
There was a problem hiding this comment.
I was reading through the developer docs and I decided to put in my own comments. They are on the form only, since I'm reading through to learn the content. I haven't finished reading through but sending what I have already so it doesn't get lost.
Feel free to ignore if it isn't the right time for these.
Co-authored-by: Claire Carouge <[email protected]>
|
It was becoming unwieldy trying to investigate the issues with multi-component and updating dependencies, so I've turned this into a draft so it isn't merged, but we retain all the review comments in place. I've created a new PR: #67 to get a simpler version merged and work on the other examples individually. |
|
Hi @aidanheerdegen , There's no |
First try doing |
|
Hi @aidanheerdegen , I was able to successfully change the version of a dependency and rebuild the dependents. e.g. Change the version of
|
|
CORRECTION:
|
Initial version to address #58