Hi everyone,
I recently encountered a SCF issue when I tried to conduct a RF2 tutorial calculation with monolayer Graphene using PAW+GGA method. Here’s the output file result:
— !BeginCycle
iteration_state: {dtset: 1, }
solver: {iscf: 7, nstep: 100, nline: 4, wfoptalg: 10, }
tolerances: {toldfe: 1.00E-10, }
…
iter 2DEtotal(Ha) deltaE(Ha) residm vres2
-ETOT 1 -15963898041793. -1.596E+13 3.894E+09 4.319E+30
ETOT 2 -1.65815441111300E+20 -1.658E+20 6.371E+15 1.723E+37
ETOT 3 -2.88800694657322E+20 -1.230E+20 7.119E+16 2.793E+36
ETOT 4 -8.62042204578756E+21 -8.332E+21 5.180E+16 3.489E+36
ETOT 5 -9.39735751796615E+21 -7.769E+20 7.861E+16 2.585E+36
ETOT 6 -1.30662913848526E+24 -1.297E+24 1.135E+18 2.683E+36
ETOT 7 -3.26168574721839E+22 1.274E+24 4.427E+18 4.032E+35
ETOT 8 -1.54237497000655E+22 1.719E+22 3.792E+17 1.107E+35
ETOT 9 -1.08364952902480E+22 4.587E+21 8.500E+16 2.897E+34
ETOT 10 -1.00337626489670E+29 -1.003E+29 1.888E+23 4.363E+40
ETOT 11 -2.60555374061286E+28 7.428E+28 8.096E+23 5.246E+40
ETOT 12 -6.07151260979212E+27 1.998E+28 1.336E+23 9.959E+40
ETOT 13 -9.65089236989867E+27 -3.579E+27 1.324E+23 2.135E+41
ETOT 14 -1.95027592176441E+28 -9.852E+27 3.384E+22 8.789E+40
ETOT 15 -7.53479189198434E+27 1.197E+28 9.007E+22 6.459E+40
ETOT 16 -1.12229421714361E+29 -1.047E+29 9.649E+22 7.904E+40
ETOT 17 -5.31687921968093E+28 5.906E+28 7.097E+23 8.962E+40
ETOT 18 -3.57434390752007E+34 -3.574E+34 8.961E+28 1.753E+46
ETOT 19 -3.13606942971243E+34 4.383E+33 1.396E+29 1.259E+46
ETOT 20 -5.04758763983600E+34 -1.912E+34 1.125E+29 1.950E+47
Here’s my input file:
Chksymbreak 0
occopt 4
tsmear 0.01
ndtset 4
prtden 0
prteig 2
#Q vectors for all datasets
#Complete set of symmetry-inequivalent qpt chosen to be commensurate
nqpt 1 # One qpt for each dataset (only 0 or 1 allowed)
qptopt 1 # activate determining qpts in IBZ with symmetry
ngqpt 4 4 1 # these variables mirror those used for the kpt
nshiftq 1 # mesh below, but with no shift. In this way,
shiftq 0 0 0 # qpts coherent with the kpts are constructed
# the number of resulting q pts is pretdetermined
# through use of the abitk tool
iqpt: 1
iqpt+ 1
#Set 1 : iqpt 1 is the gamma point, so Q=0 phonons and electric field pert.
getddk1 98 # d/dk wave functions
kptopt1 2 # Modify default to use time-reversal symmetry
rfelfd1 3 # Electric-field perturbation response
# (in addition to default phonon)
#Sets 2-8 : Finite-wave-vector phonon calculations (defaults for all datasets)
getwfk 99 # Use GS wave functions
kptopt 3 # Need full k-point set for finite-Q response
rfphon 1 # Do phonon response
toldfe 1.0d-10 # Converge on potential residual
prtwf 0
prtpot 0
#######################################################################
acell 4.6597825725E+00 4.6597825725E+00 1.2999393442E+01
rprim sqrt(0.75) -0.5 0.0 # FCC primitive vectors (to be scaled by acell)
sqrt(0.75) 0.5 0.0
0.0 0.0 1.0
#Definition of the atom types
ntypat 1 # There is only one type of atom
znucl 6 # The keyword “znucl” refers to the atomic number of the
# possible type(s) of atom. The pseudopotential(s)
# mentioned in the “files” file must correspond
# to the type(s) of atom. Here, the only type is Silicon.
pp_dirpath “$ABI_PSPDIR” # This is the path to the directory were
# pseudopotentials for tests are stored
pseudos “PAW/C.GGA_PBE-JTH.xml”
# Name and location of the pseudopotential
#Definition of the atoms
natom 2 # There are two atoms
typat 1 1 # They both are of type 1, that is, Silicon.
xred # This keyword indicate that the location of the atoms
# will follow, one triplet of number for each atom
1/3 1/3 0.0 # Triplet giving the REDUCED coordinate of atom 1.
2/3 2/3 0.0 # Triplet giving the REDUCED coordinate of atom 2.
#Definition of the planewave basis set
ecut 20.0 # Maximal kinetic energy cut-off, in Hartree
pawecutdg 40.0
pawovlp -1
# from previous wavefunctions, transferred from the old
# to the new k-points.
#Definition of the SCF procedure
nstep 100 # Maximal number of SCF cycles
# precondition the SCF cycle. The model dielectric
# function used as the standard preconditioner
# is described in the “dielng” input variable section.
# Here, we follow the prescription for bulk silicon.
ngkpt 4 4 1
nshiftk 1
shiftk 0 0 0
pawxcdev 0
Here’s my input file generating ddk and wfk files:
occopt 4
tsmear 0.01
ndtset 2
kptopt1 1 # Automatic generation of k points, taking
# into account all symmetries
toldfe1 1.0d-10 # SCF stopping criterion
kptopt2 2 # DDK can use only time reveral symmetry
getwfk2 -1 # require ground state wavefunctions from previous run
rfelfd2 2 # activate DDK perturbation
iscf2 -3 # this is a non-self-consistent calculation
tolwfr2 1.0D-20 # tight convergence on wavefunction residuals
#Definition of the unit cell
acell 4.6597825725E+00 4.6597825725E+00 1.2999393442E+01
rprim sqrt(0.75) -0.5 0.0 # FCC primitive vectors (to be scaled by acell)
sqrt(0.75) 0.5 0.0
0.0 0.0 1.0
#Definition of the atom types
ntypat 1 # There is only one type of atom
znucl 6 # The keyword “znucl” refers to the atomic number of the
# possible type(s) of atom. The pseudopotential(s)
# mentioned in the “files” file must correspond
# to the type(s) of atom. Here, the only type is Silicon.
pp_dirpath “$ABI_PSPDIR” # This is the path to the directory were
# pseudopotentials for tests are stored
pseudos “PAW/C.GGA_PBE-JTH.xml”
# Name and location of the pseudopotential
#Definition of the atoms
natom 2 # There are two atoms
typat 1 1 # They both are of type 1, that is, Silicon.
xred # This keyword indicate that the location of the atoms
# will follow, one triplet of number for each atom
1/3 1/3 0.0 # Triplet giving the REDUCED coordinate of atom 1.
2/3 2/3 0.0 # Triplet giving the REDUCED coordinate of atom 2.
ecut 20.0 # Maximal kinetic energy cut-off, in Hartree
pawecutdg 40.0
pawovlp -1
# from previous wavefunctions, transferred from the old
# to the new k-points.
#Definition of the SCF procedure
nstep 100 # Maximal number of SCF cycles
# precondition the SCF cycle. The model dielectric
# function used as the standard preconditioner
# is described in the “dielng” input variable section.
# Here, we follow the prescription for bulk silicon.
nshiftk 1
shiftk 0.0 0.0 0.0 # These shifts will be the same for all grids
ngkpt 4 4 1
pawxcdev 0
I have stucked in the same page for almost a month, so I sincerely appreciate the help!
Best and thank you guys,
Lucas Lu