[Libxc] version 7.0.0 + CUDA binaries for aarch64 #9676
+41
−122
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This a follow up of PR #9580. Since Libxc v7.0.0 was released in the meantime, the previous PR (update to v6.2.2) was closed before merging. The following is essentially the same description.
Update Libxc version from 6.1.0 to 7.0.0.
Additionally, added recipes for the combination of
aarch64
and CUDA, for Libxc_GPU_jll. Because BinaryBuilder only runs onx86_64
, andnvcc
is not a cross compiler, this is a non-trivial operation.Pre-compiled binaries are available on a separate GitHub repository, specifically created for this purpose. The aarch64 BinaryBuilder recipe downloads the binary for the given CUDA version (from 11.4 to 12.6), and repackages it in the correct format.
The binaries were all generated in Docker images, for total control of the environment and reproducibility. All scripts and recipes are available in https://github.com/abussy/libxc_aarch64_gpu_binaries as well. After a discussion on the Julia slack, special care was given to the
glibc
version andRPATH
. Allglibc
symbols used by the libxc.so shared library come from version 2.17, as per the BinaryBuilder requirements foraarch64
.Both
x86_64
andaarch64
GPU binaries were successfully tested using the Libxc.jl and DFTK.jl packages.