forum@abinit.org
Subject: The ABINIT Users Mailing List ( CLOSED )
List archive
- From: Ronald Cohen <rcohen@ciw.edu>
- To: forum@abinit.org
- Subject: [abinit-forum] How to apply patch
- Date: Wed, 20 Jun 2007 09:12:14 -0400
When I try to do the patch you sent I get:
patch <patchit
patching file vtorho.F90
patch: **** malformed patch at line 8: ! Accumulate sum over k points for band, nonlocal and kinetic energies,
Am I supposed to be using something other than patch?
Thanks,
Ron
Modifications as for v5.4.2 (should be OK with v5.3.x also, provided you find the
correct location).
--- orig/src/18seqpar/vtorho.F90
+++ mod/src/18seqpar/vtorho.F90
@@ -1094,7 +1094,7 @@
enlnk(1+bdtot_index : nband_k+bdtot_index) = enl_k(:)
end if
- if(iscf>0)then
+ if(iscf>0 .or. iscf==-3 )then
! Accumulate sum over k points for band, nonlocal and kinetic energies,
! also accumulate gradients of Enonlocal:
do iband=1,nband_k
@@ -1110,6 +1110,9 @@
end if
end if
end do
+!DEBUG
+ write(6,*)' vtorho : kinetic energy=',energies%e_kinetic
+!ENDDEBUG
end if
deallocate(eig_k,ek_k,grnl_k,occ_k,resid_k,ylm_k,zshift)
if (psps%usepaw==1) then
<input>
Ronald Cohen
Geophysical Laboratory
Carnegie Institution of Washington
http://www.gl.ciw.edu/~cohen <http://www.gl.ciw.edu/%7Ecohen>
rcohen@ciw.edu <mailto:rcohen@ciw.edu>
begin:vcard fn:Ronald Cohen n:Cohen;Ronald org:Carnegie Institution of Washington;Geophysical Laboratory adr:;;5251 Broad Branch Rd., N.W.;Washington;DC;20015;USA email;internet:cohen@gl.ciw.edu tel;work:2024788937 x-mozilla-html:FALSE url:http://www.gl.ciw.edu/~cohen version:2.1 end:vcard
- [Fwd: Re: How to obtain 5.4.2], Ronald Cohen, 06/20/2007
- [abinit-forum] How to apply patch, Ronald Cohen, 06/20/2007
- Re: [abinit-forum] How to apply patch, Yann Pouillon, 06/20/2007
- Re: [abinit-forum] How to apply patch, Ronald Cohen, 06/20/2007
- Re: [abinit-forum] How to apply patch, Yann Pouillon, 06/20/2007
- Re: [abinit-forum] [Fwd: Re: How to obtain 5.4.2], Xavier Gonze, 06/20/2007
- Re: [abinit-forum] [Fwd: Re: How to obtain 5.4.2], Ronald Cohen, 06/20/2007
- [abinit-forum] How to apply patch, Ronald Cohen, 06/20/2007
Archive powered by MHonArc 2.6.16.