-
Notifications
You must be signed in to change notification settings - Fork 445
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
CI: fold HPX build into default workflow #7331
Conversation
Ok we can reproduce it here:
This is on x86_64, no ppc64le and aarch64, |
We might just disable the respective since |
Yes, currently HPX throws its own exceptions in tthis case, which is wrong. See STEllAR-GROUP/hpx#6543 for a possible fix. Where can I see the actual runtime error generated by HPX, btw? |
https://github.com/kokkos/kokkos/actions/runs/10834072931/job/30062369318?pr=7331 has
and it results from kokkos/core/src/impl/Kokkos_HostSpace.cpp Lines 78 to 85 in 603aa33
|
Ok, this is something else, then. Why is a handler set by |
It seems https://github.com/llvm/llvm-project/blob/82a36468c74a29b6154639d659550c62457e655b/libcxx/src/new.cpp#L162-L166 is executed but we don't hit the |
Not sure what I can do about this... Would you have any ideas? It shouldn't matter whether the exception thrown from our new-handler is actually derived from |
While I'm still not sure why this is happening, I can offer adding an option to HPX that allows disabling to set a new-handler (in the same way as one can already disable HPX's signal handling). This option could be used in environments like the Kokkos HPX backend. What do you think? |
Note that we already have a HPX build in our CI that I would expect to reproduce the issue if we update the HPX version there, see kokkos/.github/workflows/continuous-integration-workflow-hpx.yml Lines 37 to 42 in b5509ab
|
Let's see. |
@masterleinad |
Interesting. I can reproduce the issue locally with clang and |
Did you build with:
|
@masterleinad @hkaiser any update or patch to try? |
No, I think we need someone to dedicate some time to understand the root cause why the compiler even calls the handler set by |
Ok, ping me if there is any patch to add to hpx package on Fedora! |
@diehlpk Can you try to have a look at this? |
@masterleinad Currently,. I have no time but maybe @hkaiser can have a look? |
@hkaiser @diehlpk
|
We just forgot to guard this test properly for deprecated code. Disabling deprecation warnings or warnings as errors (or deleting the test) is a easy workaround to investiagte the original issues here. |
We need to ask @msimberg what the alternative way is to avoid using the deprecated functionality. |
Thanks @masterleinad |
I think @masterleinad's commit (8316044) is the only right thing to do. |
Update: Good news, the patched hpx-1.10.0 from Fedora and Now we have 3 options:
|
I think we can just wait a week. |
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.
Fine by me
The patched hpx made it into Fedora, so this is ready to be merged. |
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.
Fine with me.
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.
Looks good to me.
This is not a blocker, but I want to note that the kokkos+hpx build took 2.5 hours on the latest workflow run (https://github.com/kokkos/kokkos/actions/runs/13357950343/job/37303340997). I don't remember it taking that long in the past and a semi-random build from a few months ago took a bit over an hour (https://github.com/kokkos/kokkos/actions/runs/12170179713/job/33945205886, without ccache as far as I can tell, and same number of threads for the build (2)). From a couple of days ago on master it's 1 hour 50 minutes (https://github.com/kokkos/kokkos/actions/runs/13340947907/job/37265301428). This could be apples to oranges if kokkos has had a lot of tests added recently, or something else in the setup has changed, but HPX may also have regressed in compile times (@hkaiser?).
@msimberg thanks for the analysis, I noticed something similar but didn't do the historic analysis. |
I'm not aware of this. |
Yeah, that's definitely possible. I vaguely seem to remember something similar from when I was testing things a long time ago.
Ok, good to know. In any case, as said, not a blocker. I just wanted to highlight it as something to be aware of and maybe keep an eye on. |
Ok. then let's merge this and I will do another pass to speed up the CI afterwards. One obvious things would be |
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.
LGTM, thanks!
Due to some build failure with Fedora's HPX package in: https://koji.fedoraproject.org/koji/taskinfo?taskID=123213163