mirror of https://gitlab.com/QEF/q-e.git
Added check to prevent usage of iterative diagonalization where it cannot work
git-svn-id: http://qeforge.qe-forge.org/svn/q-e/trunk/espresso@6229 c92efa57-630b-4861-b058-cf58834340f0
This commit is contained in:
parent
233a5e336f
commit
81ea8f002c
|
@ -208,6 +208,9 @@ SUBROUTINE diag_bands( iter, ik, avg_iter )
|
|||
!
|
||||
! ... allocate space for <beta_i|psi_j> - used in h_psi and s_psi
|
||||
!
|
||||
IF ( nbndx > npwx ) &
|
||||
CALL errore ( 'diag_bands', 'too many bands, or too little plane waves',1)
|
||||
!
|
||||
CALL allocate_bec_type ( nkb, nbnd, becp )
|
||||
!
|
||||
IF ( gamma_only ) THEN
|
||||
|
|
Loading…
Reference in New Issue