-
Notifications
You must be signed in to change notification settings - Fork 90
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
Build issues when I try to build Trilinos with a tag rather than a branch #987
Comments
That might be possible. I guess we can cook up a strategy where we just put something like "NOT AVAILABLE" whenever the commit id of trilinos cannot be retrieved. |
I am on board with what @bartgol proposes. |
@bartgol, that's basically the solution I was thinking of, too. |
I can fix this on master, but I can't fix it on the tag we previously created. I can create a branch (rather than the tag), and cherry-pick the commit on that branch as well. But I'm getting lost between issues here and in the spack repo, and I'm not following what is the strategy we're going to use. Are we still planning to create branches/tags in albany (and e3sm-project/trilinos)? In E3SM-Project/spack#21 I saw some discussion about different branches in Trilinos, so I want to be sure I understand. |
That's fine. Understood. |
You can make a tag off of such a branch. But I don't recommend doing that in this case. |
Yes, we are expecting to have different tags (but not branches, as far as I understand it) like the ones you made, at least that's my understanding. There would be a tag of Albany one on E3SM-Project/Trilinos with the |
So I should create a branch off of the aug3 tag, add the fix for the commit ID, and then "move" the tag. This, as far as I understand, should get the aug3 tags working. Edit: actually, we agreed those tags were too verbose, so I'll just make new ones without the repo name. |
@xylar I pushed new tags (without repo name), and for the albany one, I added a commit that should avoid the compilation issue due to the lack of git history of Trilinos. Let me know if this works. If not, we can discuss what to try next. |
Sounds promising! I will try again tomorrow if I can (it's a holiday in Germany) or Wednesday at the latest. Thanks very much! |
@bartgol, this worked great! It took me a little Spack debugging to get it installed right but once I did, the installation went smoothly. I have a pull request to get these tags added to our Spack here: |
When I try to build Albany after building Trilinos from the
compass-trilinos-2023-08-03
tag from https://github.com/E3SM-Project/Trilinos/tags, I see:It looks like Albany is (or was on August 3rd) hard-coded with the expectation that Trilinos comes from a git branch.
@bartgol suspected that it might be something architecture specific but I don't think so because I was able to build trilinos on the same machine (Chrysalis) on August 3rd from the develop branches of both Albany and Trilinos. I simply suspect that there is no git commit info when trilinos doesn't come from a git repo but rather from the tarball from a git tag.
The text was updated successfully, but these errors were encountered: