Skip to content

Conversation

@fstein93
Copy link
Contributor

@fstein93 fstein93 commented Sep 6, 2022

This PR adds gradients of the quartically scaling RPA kernel. The code was tested locally and on Piz Daint but not yet on LUMI-G. The code was optimized to reduce the memory footprint on CP2K side. It reuses as much of the SOS-MP2 and MP2-gradient code as possible.

The code employs COSMA but might require significantly more memory than before. Local DGEMM calls make use of SpLA.

To my experience, the memory requirements increase significantly with COSMA (64 water molecules run well, larger systems don't because of COSMA). I do not know how SpLA increases the requirements. Thus, some more tuning might be required. Probably, machines with more memory like LUMI-G might not be affected.

This PR replaces the SIZE_INTEG_FREQ_GROUP keywords by the NUM_INTEG_GROUP keywords because of easier use.

Frederick Stein added 30 commits September 6, 2022 11:42
…gies do not change during a RPA calculation
@fstein93 fstein93 merged commit d56aa67 into cp2k:master Sep 6, 2022
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.

2 participants