Gau2grid: Ship version 2.0.9 by default#216
Open
franzpoeschel wants to merge 4 commits into
Open
Conversation
awvwgk
approved these changes
Jul 8, 2026
awvwgk
reviewed
Jul 8, 2026
wavefunction91
requested changes
Jul 8, 2026
| // Fast transposers | ||
| void gg_naive_transpose(unsigned long n, unsigned long m, const double* PRAGMA_RESTRICT input, double* PRAGMA_RESTRICT output); | ||
| void gg_fast_transpose(unsigned long n, unsigned long m, const double* PRAGMA_RESTRICT input, double* PRAGMA_RESTRICT output); | ||
| void gg_naive_transpose(unsigned long n, unsigned long m, const double* PRAGMA_RESTRICT input, |
Owner
There was a problem hiding this comment.
I'm fine with this change all up, but did you run this through a linter? Or is this just a new part of the code generator? If the former, please revert.
Author
There was a problem hiding this comment.
I have generated the source once more, this time using a script for reproducibility. There were some changes over my previous generated code (see the last commit, I will need to verify again that it can build correctly -- Update: verified it now), but this part of the diff stays the same.
The script that I use:
#!/usr/bin/env bash
# to be executed in GauXC project root
git clone -b v2.0.9 https://github.com/psi4/gau2grid
cmake gau2grid/ -B gau2grid/build
cmake --build gau2grid/build/ --parallel
find gau2grid/build/ \
-regextype egrep \
-type f \
-iregex '.*gau2grid[^/]*\.(h|c)$' \
-printf "%P\n" |
while read file; do
mv gau2grid/build/$file external/gau2grid/generated_source/$file
doneFor reproducibility: git clone -b v2.0.9 https://github.com/psi4/gau2grid cmake gau2grid/ -B gau2grid/build cmake --build gau2grid/build/ --parallel find gau2grid/build/ \ -regextype egrep \ -type f \ -iregex '.*gau2grid[^/]*\.(h|c)$' \ -printf "%P\n" | while read file; do mv gau2grid/build/$file external/gau2grid/generated_source/$file done
Co-authored-by: Sebastian Ehlert <28669218+awvwgk@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Gau2grid release 2.0.9 contains this fix, needed for use in CP2K.
This PR includes:
gauxc-dep-versions.cmakefor use with FetchContentexternal/gau2grid/srcexternal/gau2grid/generated_source