[CPMD-list] [Fwd: Charge calculation]
Juerg Hutter
hutter at pci.unizh.ch
Fri Nov 15 14:16:06 CET 2002
Hi
please try the following bug fix:
Replace the last subroutine in proppt.F by the following
code:
C ==================================================================
SUBROUTINE GIVE_SCR_ESPC(LESPC,TAG)
C ==--------------------------------------------------------------==
IMPLICIT NONE
INCLUDE 'system.h' !NHG
INCLUDE 'elct.inc' !N
INCLUDE 'pslo.inc' !TIVAN
C Arguments
INTEGER LESPC
CHARACTER TAG*30
C Variables
INTEGER IL_QPHI, LRNLSM
C ==--------------------------------------------------------------==
CALL GIVE_QPHI(IL_QPHI)
IF(TIVAN) THEN
CALL GIVE_SCR_RNLSM(LRNLSM,TAG,N,.FALSE.)
ELSE
LRNLSM=0
ENDIF
LESPC=MAX(2*NHG+IL_QPHI,LRNLSM)
TAG='2*NHG+IL_QPHI'
C ==--------------------------------------------------------------==
RETURN
END
C ==================================================================
----------------------------------------------------------
Juerg Hutter Phone : ++41 1 635 4491
Physical Chemistry Institute FAX : ++41 1 635 6838
University of Zurich E-mail: hutter at pci.unizh.ch
Winterthurerstrasse 190
CH-8057 Zurich, Switzerland
----------------------------------------------------------
On Fri, 15 Nov 2002, Julia Khalack wrote:
>
>
More information about the CPMD-list
mailing list