Skip to content

Implementation of smooth D4S#264

Merged
marvinfriede merged 11 commits intodftd4:mainfrom
thfroitzheim:d4s
Oct 30, 2024
Merged

Implementation of smooth D4S#264
marvinfriede merged 11 commits intodftd4:mainfrom
thfroitzheim:d4s

Conversation

@thfroitzheim
Copy link
Copy Markdown
Contributor

@thfroitzheim thfroitzheim commented Oct 20, 2024

Implementation of the smoothed D4S version using pairwise exponents in the averaging of the CN (10.26434/chemrxiv-2024-31x2z). The changes include:

  • New d4s_model with pairwise weighting parameters
  • Update the CLI, testing, and documentation
  • Addition of the d4s_model to the C and python API

Still to do:

  • Check the python API with the ASE, pyscf, qcschema interfaces and add documentation
  • Update citation

Copy link
Copy Markdown
Member

@awvwgk awvwgk left a comment

Choose a reason for hiding this comment

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

This seems to be API breaking changes in dftd4, so we need to bump it to version 4 if the new model cannot be implemented in an API compatible way.

@thfroitzheim
Copy link
Copy Markdown
Contributor Author

Yes, I think this will break the API. Because the Exponents wf are now pairwise defined in D4S there is no way of writing gwvec with only the information of one atom (i.e. it needs a third dimension). I don't think this can be avoided.

@thfroitzheim
Copy link
Copy Markdown
Contributor Author

I added a small fix to the CI and wheels so that the tests are executed.
There seems to be a very recent meson bug for the coverage (mesonbuild/meson#13781), for which I have no fix. The wheels also work only short-term since v4 of download-artifacts currently doesn't work with the newer glibc versions (v3 will be deprecated at the end of November).

The CI should generally be updated (similar to tblite). I will look into it but in a separate PR.

@thfroitzheim thfroitzheim marked this pull request as ready for review October 24, 2024 15:08
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.

4 participants