&CONTROL
    calculation='scf'
    restart_mode='from_scratch',
    outdir='tmp',
    prefix='mgb2',
    pseudo_dir = '/home/pseudo/',
    tstress =.TRUE.,
    tprnfor= .TRUE. ,
    verbosity='high' ,
/
&SYSTEM
    ibrav =4,
    celldm(1)= 5.832,
    celldm(3)=1.142,
    nat = 3,
    ntyp = 2,
    nspin = 1,
    ecutwfc = 80,
    occupations = 'smearing',
    degauss= 0.01,
    smearing= 'mp',
    la2f=.true. 
/
&ELECTRONS
    conv_thr=1.D-10,
    mixing_beta=0.7, 
/
ATOMIC_SPECIES
    Mg    24.305   Mg.pbe-hgh.UPF
    B     10.811   B.pbe-hgh.UPF

ATOMIC_POSITIONS (crystal)
   Mg       0.000000000   0.000000000   0.000000000
   B        0.333333333   0.666666666   0.500000000
   B        0.666666666   0.333333333   0.500000000

K_POINTS (Automatic)
   12 12 10  0 0 0
