-
Notifications
You must be signed in to change notification settings - Fork 14
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
Neurodamus bump and implementing stable dependency #948
Conversation
Ohh.. damn pep8! But CI tests pass :) |
deploy/packages/bbp-packages.yaml
Outdated
- [email protected]^coreneuron+knl | ||
- [email protected]^coreneuron+knl | ||
- [email protected]^coreneuron+knl | ||
# Can we deploy always the latest? Versions are now bit more stable (and long) |
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.
With the current implementation, this will generate modules for all neurodamus versions found.
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.
The next iteration of the deployment would solve this…
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.
last commit adds @1.1-3.0.2
but the deployments scripts don't like it
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'm not surprised...
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.
Actually it was due to the double @@
typo :)
In the end, if you don't think is too bizarre I would like to go forward with it, and no worries, you can blame me for any problem, I will do my best at maintaining it. Just le me know if you see a better way at achieving a similar result, or you are happy with the implementation
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.
It still looks freakish to me, personally. Remove that comment above, and I'll approve, though. Technically nothing wrong with it…
If I am not mistaken this would be first package in Spack to do dynamic version generation and hence I am hesitant about this. Technically seems ok but is this way we should adopt? Apart from neurodamus use case, this issue of specific version requirement exist everywhere. I am wondering if we should solve this issue in neurodamus in different way e.g. using I will let @matz-e to comment on this better... |
We still statically maintain the list of versions, it's not automatic
Don't agree. Neurodamus-model is a special case because it incorporates code from the core (making 90% of the code or so). So actually every time we bumped the core, neurodamus-xxx changed and the version didn't. It has been a long pending issue to have neurodamus-xxx versions being meaningful. I don't think this logic should be used anywhere else. |
My comment is in the context of packages like LLVM where you can see what happens:
LLVM |
As far as I see in LLVM, all those extra components follow the same version. |
deploy/packages/bbp-packages.yaml
Outdated
- [email protected]^coreneuron+knl | ||
- [email protected]^coreneuron+knl | ||
- [email protected]^coreneuron+knl | ||
# Can we deploy always the latest? Versions are now bit more stable (and long) |
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'm not surprised...
Co-authored-by: Matthias Wolf <[email protected]>
Previously the dependency was set to 'run' as well to force updating the package whenever core was updated. This no longer applies since the core dependency version is now explicit.
this kind of done via submodule right? e.g. coreneuron is incomplete without mod2c. So we have mod2c as submodule into coreneuron (and mod2c can be deployed as separate standalone version). Technically this change looks Ok. Just that more logic into package recipe caught my attention. By the way, looking at module usage on BB5, I am wondering if / how people are using neurodamus-core. |
please retest |
@pramodk maybe we can have a call if you want to discuss this and look for solution together. I would say it's still a different case, since both are perfectly independent applications which, only for user convenience, we put together in a pack. Let me elaborate my view better. |
Creates version specification which depend on both the model and core versions.
E.g. using model 1.1 and core 3.0.1 it will define a version '1.1-3.0.1' which uses tag 1.1 and depends on core 3.0.1