&control
 calculation = 'relax'
 prefix='mgofe',
 pseudo_dir = '../pseudo/',
 outdir='./tmp'
 wf_collect=.true.
 tefield=.true.
 dipfield =.true.
/
&SYSTEM
  ibrav = 6
  celldm(1)=15.72943204
  celldm(3)=4
  nat = 33
  ntyp = 3
 ecutwfc = 80.0,
 occupations = 'smearing'
 smearing = 'm-p'
 degauss = 0.01
 tot_charge=-1
 !starting_charge(3)=-1
 nspin =2 
 starting_magnetization(3)=0.7
 lda_plus_u=.true.
 hubbard_u(3)=6.5
 starting_ns_eigenvalue(1,1,3)=1
 starting_ns_eigenvalue(2,1,3)=1
 starting_ns_eigenvalue(3,1,3)=1
 starting_ns_eigenvalue(4,1,3)=1
 starting_ns_eigenvalue(5,1,3)=1
 starting_ns_eigenvalue(1,2,3)=1
 starting_ns_eigenvalue(2,2,3)=1
 edir=3
 emaxpos=0.65
 eopreg=0.05
 eamp=0
/
&electrons
 conv_thr=1e-9
 electron_maxstep=500
 mixing_beta=0.3
 mixing_mode='local-TF'
/
&IONS
/
ATOMIC_SPECIES
  Mg   24.30500  Mg_ONCV-PZ.UPF
   O   15.99900  O_ONCV-PZ.UPF
  Fe   55.00000  Fe_ONCV-PZ.UPF
ATOMIC_POSITIONS (angstrom)
Mg       0.000000000   0.000000000   0.000000000    0   0   0
O        2.108500000   0.000000000   0.000000000    0   0   0
Mg       4.217000000   0.000000000   0.000000000    0   0   0
O        6.325500000   0.000000000   0.000000000    0   0   0
O        0.000000000   2.108500000   0.000000000    0   0   0
Mg       2.108500000   2.108500000   0.000000000    0   0   0
O        4.217000000   2.108500000   0.000000000    0   0   0
Mg       6.325500000   2.108500000   0.000000000    0   0   0
Mg       0.000000000   4.217000000   0.000000000    0   0   0
O        2.108500000   4.217000000   0.000000000    0   0   0
Mg       4.217000000   4.217000000   0.000000000    0   0   0
O        6.325500000   4.217000000   0.000000000    0   0   0
O        0.000000000   6.325500000   0.000000000    0   0   0
Mg       2.108500000   6.325500000   0.000000000    0   0   0
O        4.217000000   6.325500000   0.000000000    0   0   0
Mg       6.325500000   6.325500000   0.000000000    0   0   0
O        0.000000000   0.000000000   2.093052972    0   0   1
Mg       2.108500000   0.000000000   2.122545821    0   0   1
O        4.217000000   0.000000000   2.088629379    0   0   1
Mg       6.325500000   0.000000000   2.143977475    0   0   1
Mg       0.000000000   2.108500000   2.122550867    0   0   1
O        2.108500000   2.108500000   2.061036566    0   0   1
Mg       4.217000000   2.108500000   2.057546056    0   0   1
O        6.325500000   2.108500000   2.070758378    0   0   1
O        0.000000000   4.217000000   2.088631359    0   0   1
Mg       2.108500000   4.217000000   2.057545543    0   0   1
O        4.217000000   4.217000000   2.083991040    0   0   1
Mg       6.325500000   4.217000000   2.070606095    0   0   1
Mg       0.000000000   6.325500000   2.143988729    0   0   1
O        2.108500000   6.325500000   2.070758546    0   0   1
Mg       4.217000000   6.325500000   2.070606760    0   0   1
O        6.325500000   6.325500000   2.079875103    0   0   1
Fe       0.000000000   0.000000000   4.267708348    0   0   1
K_POINTS automatic
 3 3 1 0 0 0
