-
Notifications
You must be signed in to change notification settings - Fork 0
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
ExaGO build failures in xSDK CI #224
Comments
These failures are unique to gcc 11.3+ for some reason. Simple workaround is to have exago build See pnnl/ExaGO#23 |
Thanks for the response @cameronrutherford! Do you want to propose an MR to update the CI tests with the proposed workaround? The place to update these is here: https://gitlab.com/xsdk-project/spack-xsdk-ci in the file |
I can make the PR since it would be good for me to be a little more of a regular contributor. Since this is an error for I also noticed quite a few of the CI pipelines were failing due to spack being unable to concretize, so I was hesitant to break that even further. |
The failures with Intel compilers are not due to ExaGO, I think -- just the ones that use gcc v11.3.1. Specifically, I was looking at the jobs called As you said, the fix can probably be added in the xSDK spack package -- that may be a good solution too. @balay, what do you think? |
ok pushed |
I guess my comment was lost to the void... Just merged a fix for this build error to See pnnl/ExaGO#23 which is now closed. We have preventative checks in place now which should catch issues, and this should be easier to fix after pybind11 is a dep in spack. I assume this happened due to some compiler flags changing in Debug builds. |
Sorry - misunderstood. I reverted this change. Will start a pipeline to gather current failures.. https://gitlab.com/xsdk-project/spack-xsdk/-/pipelines/1030800463 |
My original post was about the failures in the xSDK 0.8.0 pipelines. We still need to do something about those -- either add a fix the xSDK spack package or in the xSDK CI spec. |
Tried https://gitlab.com/xsdk-project/spack-xsdk/-/pipelines/1033739756 |
Okay so original issue was resolve with
All other pipeline failures are seemingly not exago related on the surface, and I appreciate you running this build. Note that we have |
Okay I tried to track everything down. Take away is that pnnl/ExaGO#45 |
Closing unless someone has a build failure to follow up on |
I'm not sure the issue with Probably, it is possible to create a patch in Spack for |
I have not made a spack patch before, but yes in principle it would be very easy in this case. Diff is shown in this commit pnnl/ExaGO@4527f0c It's literally just a one line change, but this patch should also be back-ported through version 1.4.0. Can you point me to an example to work from? Happy to do this as it aligns with sustainment goals, and is a simple patch. |
Here is an example Spack PR that adds a patch for MFEM v4.6: spack/spack#40495. I think there's a way to use a commit from any repository as the patch, however, I have not used that before. Here are some examples I found:
|
reopening this issue as https://gitlab.com/xsdk-project/spack-xsdk/-/jobs/5538901463
A new issue? https://gitlab.com/xsdk-project/spack-xsdk/-/jobs/5538901445
Is is probably from the prior suggestion |
Looks like this is triggered by spack/spack@9f0e3c0 That change I guess works with @cameronrutherford How do we fix this? |
Okay I now understand that there are multiple ways of doing this, and interestingly enough there seems to be bugs in certain configurations? I resolved pnnl/ExaGO#71 for @pelesh by pinning libffi version here, and so if we connect the error:
With the type of patch libffi is trying to provide here:
It would suggest that these plaintext patch files are the most sustainable way of doing things? In this case I guess the fix is to trend towards those types of patches, but not sure what's breaking down in the issue I linked... |
Hopefully spack/spack#41350 fixes things for all builds, even xSDK specific versions |
started a pipeline with spack/spack#41350 changes https://gitlab.com/xsdk-project/spack-xsdk/-/pipelines/1091197340 |
I think a URL to a repo (project) commit is preferred over adding the patchfile to spack (if possible) |
So I would be making branches that contain new commits based on each tag that apply the same patch? If this is a patch that I am happy applying to all versions regardless, should I instead maybe just apply the commit here to all the branches and create new tags and commit shas? |
Well - if you are supporting all these versions - you might have "release" branches [for bug fixes] - for each of these versions. And the corresponding patches might be there. But yeah - creating these commits/branches just for spack support might not be worth it. It would be nice if a single patch file can apply cleanly to multiple pkg versions [but yeah - this doesn't always pan out] So can wait and see if any reviewer objects to the current (patches in spack) approach. |
BTW: I see:
So you can use a single patch file for these 3 versions.
So these could be collapsed if spack allowed patches that apply with "fuzz" [I'm not sure if this can be enabled - if so the duplicates can be removed] If this were feasible - it would reduce the patches to only 3 files [or 3 commits in repo branch]. |
I also had the same question about duplicates and whether they can be removed. I decided on separate patches in this case to ensure functionality, but each patch is basically identical in quite a few ways... |
See https://gitlab.com/xsdk-project/spack-xsdk/-/jobs/5197024340
ping: @cameronrutherford
The text was updated successfully, but these errors were encountered: