Gsph_FFT debugging in cchi0q0.F90
Posted: Wed Jul 27, 2011 4:11 am
Dear developers,
While testing the GW calculation in Abinit-6.8.1, I found a job finished successfully earlier in Abinit-6.2.2 failed in the screening calculation part with the following error (see the attached test file). I checked cchi0q0.F90 and found that since Abinit 6.6.1, cchi0q0.F90 has included a Gsph_FFT debugging code and it causes the failure. I wonder what is the meaning of this debugging and if it is justified, how to modify my input file.
#-------------------------error info----------------------------------
cchi0q0.F90:301:ERROR
Bug in Gsph_FFT
#-----------------------------------------------------------------------
#------------Gsph_FFT debugging in cchi0q0.F90---------------
!BEGINDEBUG
ltest = .TRUE.
do ib=1,Ep%npwe
if (ANY (Gsph_FFT%gvec(:,ib) /= Gsph_wfn%gvec(:,ib)) ) then
write(std_out,*)ib, Gsph_FFT%gvec(:,ib), Gsph_wfn%gvec(:,ib)
ltest = .FALSE.
end if
end do
ABI_CHECK(ltest,"Bug in Gsph_FFT")
!ENDDEBUG
#-----------------------------------------------------------------------
Sincerely,
Guangfu Luo
While testing the GW calculation in Abinit-6.8.1, I found a job finished successfully earlier in Abinit-6.2.2 failed in the screening calculation part with the following error (see the attached test file). I checked cchi0q0.F90 and found that since Abinit 6.6.1, cchi0q0.F90 has included a Gsph_FFT debugging code and it causes the failure. I wonder what is the meaning of this debugging and if it is justified, how to modify my input file.
#-------------------------error info----------------------------------
cchi0q0.F90:301:ERROR
Bug in Gsph_FFT
#-----------------------------------------------------------------------
#------------Gsph_FFT debugging in cchi0q0.F90---------------
!BEGINDEBUG
ltest = .TRUE.
do ib=1,Ep%npwe
if (ANY (Gsph_FFT%gvec(:,ib) /= Gsph_wfn%gvec(:,ib)) ) then
write(std_out,*)ib, Gsph_FFT%gvec(:,ib), Gsph_wfn%gvec(:,ib)
ltest = .FALSE.
end if
end do
ABI_CHECK(ltest,"Bug in Gsph_FFT")
!ENDDEBUG
#-----------------------------------------------------------------------
Sincerely,
Guangfu Luo