I am using the Troullier-Martins LDA psuedopotential and my input file is as follows:
Code: Select all
#########
#hydrogen
#########
chkprim 0 # the unit cell is not primitive so do not check
ndtset 2
##########################################################################
#Spin Info taken from .../tutorial/Input/t15.in.
##########################################################################
nsppol1 2 # Allow a spin-polarized calculation
occopt1 2 # Allow occupation numbers to be set by hand
nband1 1 1 # Number of bands for spin up and spin down
occ1 1.0 0.0 # Occupation numbers for spin up state and spin down state.
# The spin up state is occupied, not the spin down state.
spinat1 0.0 0.0 1.0 # Gives an initial estimation of the spin on the atom (easy)
############################
#Definition of the unit cell
############################
acell 3*30
rprim 1.0 0.0 0.0
0.0 1.0 0.0
0.0 0.0 1.0
#############################
#Definition of the atom types
#############################
ntypat 1 # There is only one type of atom
znucl 1 # The keyword "znucl" refers to the atomic number of the
# possible type(s) of atom.
########################
#Definition of the atoms
########################
natom 1 # There is one atom
typat 1 # It is hydrogen.
xred
1/2 1/2 1/2
######################################
#Definition of the planewave basis set
######################################
ecut 40.0
###########################################
#Definition of the k-point grid # First Run
###########################################
kptopt 1 # Option for the automatic generation of k points, taking
# into account the symmetry
ngkpt 1 1 1
################################
#Definition of the SCF procedure
################################
nstep 30 # Maximal number of SCF cycles
toldfe 1.0d-8 # Will stop when, twice in a row, the difference
# between two consecutive evaluations of total energy
# differ by less than toldfe (in Hartree)
diemac 1.0 # Hydrogen requires a number between 1 and 3
########################
#Plot the band structure
########################
iscf2 -2
getden2 -1
nband2 10
kptopt2 -1
ndivk2 10
kptbounds2 0.0 0.0 0.0 # Gamma point
1.0 1.0 0.0 # Gamma point in another cell.
tolwfr2 1.0d-12
enunit2 1