-
Notifications
You must be signed in to change notification settings - Fork 96
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
gss/sss (solid harmonic ordering) runtime switchable #269
Conversation
py::enum_<SHGShellOrdering>(m, "SHGShellOrdering") | ||
.value("SHGShellOrdering_Standard", libint2::SHGShellOrdering_Standard) | ||
.value("SHGShellOrdering_Gaussian", libint2::SHGShellOrdering_Gaussian) | ||
.value("SHGShellOrdering_MOLDEN", libint2::SHGShellOrdering_Gaussian) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On further investigation, I don't think this is a typo. The Molden: Gaussian mirrors https://github.com/evaleev/libint/blob/master/include/libint2/shgshell_ordering.h#L33 , and the defines in that file do seem to match, too.
I'm guessing it was a convenience to have Molden always defined even when the main SH value toggled.
# Conflicts: # export/cmake/CMakeLists.txt.export
…ndard solid harmonic order, regardless of LIBINT_SHGSHELL_ORDERING
@loriab looks good, I only tweaked this slightly (spherical multipoles operator components use standard order always ... this makes sense by analogy with the cartesian multipole operator components not depending on the Cartesian shell order) |
@loriab which is the next PR in the laundry list? |
Great, thanks! #270 is next and presently includes the commits of this one, so lmk if you'd like me to rebase. |
Sure that would be helpful. Also if you want to squash related commits (try
xxx) feel free ... I am not prmedabtic/paranoid about the history ...
…On Sun, Sep 17, 2023, 4:27 PM Lori A. Burns ***@***.***> wrote:
Great, thanks! @270 <https://github.com/270> is next and presently
includes the commits of this one, so lmk if you'd like me to rebase.
—
Reply to this email directly, view it on GitHub
<#269 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAQXIZZFL5CDWON2Y7TH3Y3X25MKTANCNFSM6AAAAAA4CGXI2E>
.
You are receiving this because your review was requested.Message ID:
***@***.***>
|
Sure, I'll fix up 270 after this one is merged (GHA just completed). All the "try xxx" are long gone -- it's actually reviewable commit-by-commit if you prefer. |
…bint2 library configured with any solid-harmonic order
@loriab heads up: re-enabled |
(in order of decreasing importance)
INT_SOLIDHARMINDEX(l, m)
with 2 args has been deprecated (throws a warning) but still returns the value as the library was configured at build-time. a newINT_SOLIDHARMINDEX(sho, l, m)
with 3 args returns the value according to the SH ordering requested in the new 1st arg.solidharmonics.h
, generating the indices switches from ifdefs to logic.find_package(PythonInterp)
tofind_package(Python COMPONENTS Interpreter Development)
. Specify directly withPython_EXECUTABLE
. Hint behavior is complex, as described in https://cmake.org/cmake/help/latest/module/FindPython.html .configuration_accessor()
that returns(nyi)
. this is in preparation for later accessing build configration at runtime.build_repo
(wasbuild
) remains largely the same except that theRelease
lanes upload a GHA artifact of the exported tarball. in the second stage, the Linux artifact gets downloaded into a fresh environment, and the library is built with gcc and icpx on Linux and clang on Mac. These all use a conda environment for uniformity across platforms. (the first stage is testing homebrew and apt-get.) only thehf++
test is run. python bindings are built and tested.Note that this snapshot has not been tested against Psi4. At the moment, it's the full cmake harness, 2023 edition #259 implementation that I know to be working.
Now rebased to master. Please squash PR when merging.