Skip to content

Gau2grid: Ship version 2.0.9 by default#216

Open
franzpoeschel wants to merge 4 commits into
wavefunction91:masterfrom
franzpoeschel:gau2grid-2.0.9
Open

Gau2grid: Ship version 2.0.9 by default#216
franzpoeschel wants to merge 4 commits into
wavefunction91:masterfrom
franzpoeschel:gau2grid-2.0.9

Conversation

@franzpoeschel

Copy link
Copy Markdown

Gau2grid release 2.0.9 contains this fix, needed for use in CP2K.

This PR includes:

  • Version number 2.0.9 recorded in gauxc-dep-versions.cmake for use with FetchContent
  • Source tree of gau2grid cloned into external/gau2grid/src
  • Pregenerated source of gau2grid cloned into external/gau2grid/generated_source

Comment thread cmake/gauxc-dep-versions.cmake Outdated
// 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,

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

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.

@franzpoeschel franzpoeschel Jul 9, 2026

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

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
	done

@awvwgk awvwgk linked an issue Jul 9, 2026 that may be closed by this pull request
franzpoeschel and others added 2 commits July 9, 2026 11:41
For 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>
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.

Update gau2grid source to 2.0.9

3 participants