Skip to content

k-points for the GW self-energy#2073

Merged
fstein93 merged 3 commits intomasterfrom
unknown repository
Apr 19, 2022
Merged

k-points for the GW self-energy#2073
fstein93 merged 3 commits intomasterfrom
unknown repository

Conversation

@JWilhelm
Copy link
Member

Enables computation of band structures from GW; yet critical to do: stabilize calculations for large RI basis sets

src/hfx_ri.F Outdated
CALL dbt_batched_contract_finalize(ri_data%t_3c_int_ctr_1(1, 1))
CALL dbt_batched_contract_finalize(t_3c_3)

PRINT *, 'n_mem =', n_mem, 'n_mem_RI =', n_mem_RI
Copy link
Contributor

Choose a reason for hiding this comment

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

Please remove this line.

Copy link
Member Author

Choose a reason for hiding this comment

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

Thanks for spotting this, it's gone now.

src/rpa_gw.F Outdated
!> \param z_value ...
!> \param m_value ...
! **************************************************************************************************
SUBROUTINE check_NaN(vec_gw_energ, z_value, m_value)
Copy link
Contributor

Choose a reason for hiding this comment

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

What do you think about the following suggestion:
The routine checks only a single array (ALLOCATABLE attribute is not necessary here) and sets NaNs to a user-given value.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, good point, we can certainly do, code is updated.

@JWilhelm
Copy link
Member Author

In case additional code modifications are benefitial to get the PR accepted, I will be happy to make them.

@fstein93 fstein93 merged commit f37954c into cp2k:master Apr 19, 2022
Cloudac7 pushed a commit to Cloudac7/cp2k that referenced this pull request Apr 23, 2022
* kpoints in self-energy

* pretty & coding conventions

* remove PRINT statement, unify check_NaN routine
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