Skip to content
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

cuQuantum: Bump to 24.11.0 #10532

Merged
merged 5 commits into from
Feb 17, 2025
Merged

cuQuantum: Bump to 24.11.0 #10532

merged 5 commits into from
Feb 17, 2025

Conversation

J-C-Q
Copy link
Contributor

@J-C-Q J-C-Q commented Feb 14, 2025

Update to the latest stable release of cuQuantum. Include new library cuDensityMat.

@J-C-Q
Copy link
Contributor Author

J-C-Q commented Feb 14, 2025

Support for Linux ppc64le got dropped, see docs

@J-C-Q
Copy link
Contributor Author

J-C-Q commented Feb 14, 2025

I would appreciate some help with this error.

]

platforms = [Platform("x86_64", "linux"),
Platform("powerpc64le", "linux"),
Platform("aarch64", "linux")]
Platform("aarch64", "linux")]
Copy link
Member

Choose a reason for hiding this comment

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

I would appreciate some help with this error.

For the benefit of future readers, the error is

ERROR: LoadError: KeyError: key "cuda_platform" not found
Stacktrace:
 [1] getindex(h::Dict{String, String}, key::String)
   @ Base ./dict.jl:481
 [2] getindex(p::Platform, k::String)
   @ Base.BinaryPlatforms binaryplatforms.jl:137
 [3] parse_sources(json::String, product::String, components::Vector{String}; version::String, platform::Platform, variant::String)
   @ Main /cache/build/yggy-amdci7-8/julialang/yggdrasil/C/CUDA/common.jl:25
 [4] get_sources(product::String, components::Vector{String}; version::String, platform::Platform, variant::String)
   @ Main /cache/build/yggy-amdci7-8/julialang/yggdrasil/C/CUDA/common.jl:12
 [5] top-level scope
   @ /cache/build/yggy-amdci7-8/julialang/yggdrasil/C/CUDA/cuQuantum/build_tarballs.jl:48
in expression starting at /cache/build/yggy-amdci7-8/julialang/yggdrasil/C/CUDA/cuQuantum/build_tarballs.jl:43

For not knowing myself what's that about, I did a quick search and I can guess that you need to specify the cuda_platform for the aarch64-linux platform

Suggested change
Platform("aarch64", "linux")]
Platform("aarch64", "linux"; cuda_platform="jetson"),
Platform("aarch64", "linux"; cuda_platform="sbsa"),
]

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Great! Thank you, that resolved the problem.

@J-C-Q
Copy link
Contributor Author

J-C-Q commented Feb 17, 2025

Should I squash all these commits?

@giordano
Copy link
Member

Thanks for your contribution!

@giordano giordano merged commit 9e4a245 into JuliaPackaging:master Feb 17, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants