Skip to content

Kokkos: add release 4.0.0#36532

Merged
tldahlgren merged 7 commits intospack:developfrom
lucbv:Kokkos_4
Apr 5, 2023
Merged

Kokkos: add release 4.0.0#36532
tldahlgren merged 7 commits intospack:developfrom
lucbv:Kokkos_4

Conversation

@lucbv
Copy link
Copy Markdown
Contributor

@lucbv lucbv commented Mar 29, 2023

Adding release artifact and associated shasum for Kokkos 4.0.00

@spackbot-app spackbot-app bot requested review from crtrott and janciesko March 29, 2023 18:25
@lucbv lucbv requested review from janciesko and removed request for janciesko March 29, 2023 18:26
@lucbv lucbv self-assigned this Mar 29, 2023
crtrott
crtrott previously approved these changes Mar 29, 2023
tldahlgren
tldahlgren previously approved these changes Mar 29, 2023
Copy link
Copy Markdown
Contributor

@tldahlgren tldahlgren left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Confirmed the sha256.

@tldahlgren tldahlgren enabled auto-merge (squash) March 29, 2023 19:15
Now Kokkos requires c++17 as its new minimum c++ standard library.
auto-merge was automatically disabled March 30, 2023 16:32

Head branch was pushed to by a user without write access

@lucbv lucbv dismissed stale reviews from tldahlgren and crtrott via 43538a4 March 30, 2023 16:32
@lucbv
Copy link
Copy Markdown
Contributor Author

lucbv commented Mar 30, 2023

Thank you ci for catching the missing update of the c++ library standard x)

@lucbv
Copy link
Copy Markdown
Contributor Author

lucbv commented Mar 30, 2023

@tldahlgren it's not clear to me what went wrong here.
Do you have a way to see what the e4s build is having trouble with?

@eugeneswalker
Copy link
Copy Markdown
Contributor

@tldahlgren it's not clear to me what went wrong here. Do you have a way to see what the e4s build is having trouble with?

Unfortunately there is no way to view the full logs for the failed Paraview build. It is a crazy reality because GitLab sets a 4MB limit on the log output and Paraview produces >4mb of log output with current verbosity settings. There is work in progress to fix this. In the meantime, I just pulled in the latest from develop and we will see if the pipeline will pass now.

@eugeneswalker
Copy link
Copy Markdown
Contributor

eugeneswalker commented Mar 30, 2023

Should we update the spack_cuda_arch_map to include an entry for the new Hopper, cuda_arch=90? @crtrott thoughts?

The new updates include NVIDIA Hopper and AMD Navi
@lucbv
Copy link
Copy Markdown
Contributor Author

lucbv commented Mar 30, 2023

@eugeneswalker adding the new architectures is a good idea, I have added Hopper and Navi.

@lucbv
Copy link
Copy Markdown
Contributor Author

lucbv commented Mar 30, 2023

Regarding the Paraview failures, what is the current option to move forward?

@tldahlgren
Copy link
Copy Markdown
Contributor

tldahlgren commented Mar 30, 2023

@tldahlgren it's not clear to me what went wrong here. Do you have a way to see what the e4s build is having trouble with?

Unfortunately there is no way to view the full logs for the failed Paraview build. It is a crazy reality because GitLab sets a 4MB limit on the log output and Paraview produces >4mb of log output with current verbosity settings. There is work in progress to fix this. In the meantime, I just pulled in the latest from develop and we will see if the pipeline will pass now.

I think this is the job for that run: https://gitlab.spack.io/spack/spack/-/jobs/6382577. Assuming that is the case, the build log is included in the Job Artifacts and can be downloaded. I'm seeing a number of failures in the log. It is almost 10K lines long so I'm not sure about uploading it here but will if you can't access it.

@eugeneswalker
Copy link
Copy Markdown
Contributor

Regarding the Paraview failures, what is the current option to move forward?

Let us see if the failure reproduces itself on this most recent pipeline run. If it does, I will reproduce the failure locally and we can troubleshoot it that way. We on the E4S team want to get this PR merged and will help resolve the failure. Thank you @tldahlgren for pointing out that we can see full failure log in the job artifacts-- I didn't realize this!

@lucbv
Copy link
Copy Markdown
Contributor Author

lucbv commented Mar 30, 2023

I did not notice the artifacts on the right tab of the build pipeline. I was able to download the build output and I can see that vtk is using private headers from Kokkos. So this is an error on their side...
My guess is that their repo is configured to build automatically against the latest version of Kokkos or maybe the master branch, or worse the develop branch?
In any case, this pipeline is trying to build against a version they have clearly not tested. My guess is that they can simply update the logic in their spack package to specify which versions of Kokkos have been tested against?

@eugeneswalker
Copy link
Copy Markdown
Contributor

eugeneswalker commented Mar 31, 2023

It is the paraview +rocm build that is failing again:

Perhaps we should include in this PR a modification to paraview package.py so that the dependency of paraview +rocm on kokkos is capped to kokkos@:3.7.01 until this can be worked out? Then we can get the new kokkos in Spack for everyone else. What do you think? A simple follow-on PR could release this constraint on kokkos version for paraview+rocm once the issue is resolved.
https://github.com/spack/spack/blob/develop/var/spack/repos/builtin/packages/paraview/package.py#L215-L219

@danlipsa @kwryankrattiger @vicentebolea Thoughts?

@vicentebolea
Copy link
Copy Markdown
Member

@eugeneswalker looks good to me to constrain paraview to Kokkos <= 3.7. Will you do it in this PR or should we do it in our end in another PR?

@eugeneswalker
Copy link
Copy Markdown
Contributor

@eugeneswalker looks good to me to constrain paraview to Kokkos <= 3.7. Will you do it in this PR or should we do it in our end in another PR?

Just now pushed the change to this PR.

@vicentebolea
Copy link
Copy Markdown
Member

The ParaView change looks good to me 👍

@eugeneswalker eugeneswalker self-requested a review April 3, 2023 21:01
@lucbv
Copy link
Copy Markdown
Contributor Author

lucbv commented Apr 4, 2023

Will updating this branch require retesting or can it be merged after the update?

@lucbv
Copy link
Copy Markdown
Contributor Author

lucbv commented Apr 4, 2023

Well I guess I got my answer, let's see how it looks later today, hopefully we won't need to update again after the ci completes : )

@kwryankrattiger
Copy link
Copy Markdown
Contributor

kwryankrattiger commented Apr 4, 2023

Will updating this branch require retesting or can it be merged after the update?

yes, but the pipeline won't necessarily have to rebuild as much as the previous time if the effective hash the of kokkos package does not change. The biggest trouble with updating with the latest is it gets blocked by the currently running develop CI, which can take up to 12 hours to complete depending on what needs to be rebuilt.

Note, because of this delay, it is not required the be "up to date" with develop to merge, because it is impossible for that to happen unless you are the first PR to merge after the develop CI completes.

So long as there are no conflicts, do not update.

@lucbv
Copy link
Copy Markdown
Contributor Author

lucbv commented Apr 4, 2023

Okay this looks ready to merge then!

@vicentebolea
Copy link
Copy Markdown
Member

The biggest trouble with updating with the latest is it gets blocked by the currently running develop CI, which can take up to 12 hours to complete depending on what needs to be rebuilt.

That explains my long build wait times.

@tldahlgren tldahlgren merged commit 5a4890c into spack:develop Apr 5, 2023
@lucbv lucbv deleted the Kokkos_4 branch February 15, 2024 22:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants