-
Notifications
You must be signed in to change notification settings - Fork 2
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 compass tags to albany and trilinos-for-albany packages #22
Add compass tags to albany and trilinos-for-albany packages #22
Conversation
046c3ee
to
225afb5
Compare
282f409
to
711daab
Compare
@ikalash, this is ready for you to review when you have time. |
version('compass-2023-08-03', sha256='b3d5c06eb31c22391923c6adf4b748672c81d8e4dc6118c421cb76a377512808', | ||
url='https://github.com/E3SM-Project/Trilinos/archive/refs/tags/compass-2023-08-23.tar.gz') |
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.
This was the only way I found that I could successfully get a URL for compass-*
tags that isn't on the usual Trilinos repo. Modifying url_from_version
didn't do it, perhaps because it didn't recognize a git tag as a version. Not sure...
It seems to me that this is a bit involved maybe? Wouldn't it be easier to always use E3SM-Project/trilinos? If lack of sync with upstream is a concern, we could run the sync action more often than once per day (say, every few hours). |
@bartgol, it seems like this spack fork is now the one referred to in the Albany documentation and used by Albany testing. It therefore seems strange to have it point to a fork for all work (even if there is a certain consistency between using the E3SM-Project spack for and the E3SM-Project Albany fork). To me, it makes no difference but it seems likely that @ikalash will prefer to keep |
I am getting confused again. I don't think there's an E3SM-Project Albany fork. Are you suggesting to create one? How often will the E3SM-Project Trilinos be sync'ed with the main Trilinos develop branch? If it's daily, I don't see a reason to create a separate Albany fork in E3SM-Project. |
Also, I'd like to test this PR. Are the relevant ways to test this:
I don't actually do anything with compass in my spack build (or ever). Would I need to build compass first? Or spack takes care of that under the hood? |
I was referring to the trilinos repo. Right now, we set
and for version
since we now automatically sync the fork with the upstream every night... |
Oops! Sorry for causing more confusion. Yes, we're talking about the repo that
Yes, that's all you should do.
That is the tag of Albany that Compass will use. You don't need to test that. I'm already doing that on various machines myself as part of this Compass PR: |
@xylar : thanks for the clarification. I can test this today. Could you please merge the E3SM-Project spack again into your fork first before I test? I pushed another minor change. This should be the last one. |
Sure, I'll rebase. |
711daab
to
7c87f90
Compare
Done. |
I tested this and things look good. You can go ahead and merge in if you'd like. Sorry about the delay. Note that I did not test things with the compass side of things. I updated the spack build instructions to mention the @develop part, but we should probably update the instructions to explain the other use case, with the tags. Perhaps you could do this @xylar with help from @bartgol ? |
I don't think the |
closes #19