weights do not add up to nqc1*nqc2*nqc3
Posted: Mon Mar 06, 2023 3:48 pm
Dear EPW developers,
I run into a problem in graphene calculation with QE 7.1. The error occurs in routine wigner_seitzg, saying " weights do not add up to nqc1*nqc2*nqc3".
The relevant code segment in subroutine wigner_seitzg is following:
In EPW calculation, the coarse q-mesh is 14*14*1. After a test, the nc1*nc2*nc3 gives 196 as expected, while the "tot" gives 196.5 which is 0.5 higher than nc1*nc2*nc3.
The pseudopotential used is NCPP+LDA. It's strange that the issue is gone when I change the pseudopotential to NCPP+PBESOL and recalculate from scratch (including vc-relax). Both pseudopotentials are from Pseudo Dojo.
The input files (except the folder "save" which is too large) are attached. Maybe it's a bug or something related to atomic structure (I think maybe the second calculation with NCPP+PBESOL has changed the structure parameters a little and thus avoid the issue). Could you please check that?
I run into a problem in graphene calculation with QE 7.1. The error occurs in routine wigner_seitzg, saying " weights do not add up to nqc1*nqc2*nqc3".
The relevant code segment in subroutine wigner_seitzg is following:
Code: Select all
DO iw = 1, dims
DO na = 1, dims2
tot = 0.d0
tot2 = 0.d0
DO i = 1, nrr
IF (ndegen(i, na, iw) > 0) THEN
tot2 = tot2 + 1.d0 / DBLE(ndegen(i, na, iw))
ENDIF
ENDDO
DO i = 1, nrr_tmp(na, iw)
tot = tot + 1.d0 / DBLE(ndegen_tmp(i, na, iw))
ENDDO
!
IF (ABS(tot - DBLE(nc1 * nc2 * nc3)) > eps6) CALL errore &
('wigner_seitzg', ' weights do not add up to nqc1*nqc2*nqc3', 1)
IF (ABS(tot - tot2) > eps6) CALL errore &
('wigner_seitzg', ' weigths of pair of atoms is not equal to global weights', 1)
ENDDO
ENDDO
The pseudopotential used is NCPP+LDA. It's strange that the issue is gone when I change the pseudopotential to NCPP+PBESOL and recalculate from scratch (including vc-relax). Both pseudopotentials are from Pseudo Dojo.
The input files (except the folder "save" which is too large) are attached. Maybe it's a bug or something related to atomic structure (I think maybe the second calculation with NCPP+PBESOL has changed the structure parameters a little and thus avoid the issue). Could you please check that?