My code is a modified version of the tutorial script for silicon:
Code: Select all
# Bulk GaAs wurtzite
#
# Computation of the band structure.
# First, a SCF density computation, then a non-SCF band structure calculation.
ndtset 2
#Dataset 1 : usual self-consistent calculation
kptopt1 1 # Option for the automatic generation of k points,
# taking into account the symmetry
nshiftk1 4
shiftk1 0.5 0.5 0.5 # These shifts will be the same for all grids
0.5 0.0 0.0
0.0 0.5 0.0
0.0 0.0 0.5
ngkpt1 4 4 4
prtden1 1 # Print the density, for use by dataset 2
toldfe1 1.0d-6 # This value is way too large for most realistic studies of materials
#Dataset 2 : the band structure
iscf2 -2
getden2 -1
kptopt2 -3
nband2 8
ndivk2 10 12 17 # 10, 12 and 17 divisions of the 3 segments, delimited
# by 4 points.
kptbounds2 0.5 0.0 0.0 # L point
0.0 0.0 0.0 # Gamma point
0.0 0.5 0.5 # X point
1.0 1.0 1.0 # Gamma point in another cell.
tolwfr2 1.0d-12
enunit2 1 # Will output the eigenenergies in eV
#Definition of the unit cell for GaAs wurtzite
acell 7.3925 7.3925 12.107
rprim 1/2 -0.866000000 0.00000000
1/2 0.866000000 0.000000000
0.00000000 0.00000000 1.000000000000000000
#Definition of the atom types
ntypat 2 # There is only one type of atom
znucl 33 31
#Definition of the atoms
natom 4 # There are four atoms in the unit cell
typat 1 1 2 2
xred # This keyword indicate that the location of the atoms
# will follow, one triplet of number for each atom
2/3 1/3 3/8
1/3 2/3 7/8
2/3 1/3 0
1/3 2/3 1/2
#Definition of the planewave basis set
ecut 15.0 # Maximal kinetic energy cut-off, in Hartree
#Definition of the SCF procedure
nstep 10 # Maximal number of SCF cycles
diemac 12.0 # Although this is not mandatory, it is worth to
# precondition the SCF cycle. The model dielectric
# function used as the standard preconditioner
# is described in the "dielng" input variable section.
The problem I get is that in the output file the space group is determined by abinit to be 36, which is not what it should be. It should be 186. Does anyone have an idea of what might be wrong?