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?