Silicon Band Structure
This example shows the calculation of silicon's bandstructure with Abinit.
As usual one performs first a self-consistent calculation, and then calculates the band-structure at given k-points using the density (potential) from the self consistent calculation. Abinit permits one to chain two calculations with a single input file. Parameters common to both calculations are unsuffixed, and other parameters are suffixed by a single digit specifying the calculation to which they apply. The same was done for the Abinit density of states calculation.
Si.abi
ndtset 2
# Common parameters
acell 3*10.18
rprim 0.0 0.5 0.5
0.5 0.0 0.5
0.5 0.5 0.0
ntypat 1
znucl 14
natom 2
typat 1 1
xred 0.0 0.0 0.0
1/4 1/4 1/4
ecut 8.0
kptopt 1
nshiftk 1
shiftk 0.0 0.0 0.0
pp_dirpath "."
pseudos "14si.pspnc"
#Dataset 1 : SCF calculation
ngkpt1 6 6 6
toldfe1 1.0d-10
prtden1 1
#Dataset 2 : band structure calculation
iscf2 -2
getden2 1
getwfk2 1
tolwfr2 1.0d-16
kptopt2 -5
kptbounds2 1/2 1/4 3/4 1/2 1/2 1/2 0 0 0
1/2 0 1/2 1/2 1/4 3/4 3/8 3/8 3/4
ndivsm2 10
nband2 8
The pseudopotential from its tests directory was used. The calculation can be run as
$ abinit Si.abi > Si.log
Results
Abinit produces an output file for plotting the band structure which is suitable for xmgrace.
$ xmgrace Sio_DS2_EBANDS.agr

Note that Abinit shifts the eigenvalues in this plot so that the Fermi energy is at zero.
But perhaps things are prettier with Gnuplot and c2x.
$ c2x --bands_gnu Sio_DS2_EIG out.gnu $ gnuplot -p out.gnu

If only a _EIG file is supplied, then c2x can find out
nothing about the lattice and cannot label the special points. It will
therefore look for a _DDB, _DEN or _WFK
file with the same prefix in an attempt to determine the lattice. If
it cannot, the kpoints will be labelled with their fractional
co-ordinates.