&CONTROL
    calculation   = "vc-relax"
	prefix= 'Ni2Pvcrelax'
	etot_conv_thr=   1.00000e-05
    forc_conv_thr =  1.00000e-05
    max_seconds   =  6.72800e+05
	tprnfor=.true.
    verbosity='high'
    pseudo_dir='./pseudo'
    outdir = './outdir'
/
&SYSTEM
    a                         =  5.81965e+00
    c                         =  3.33582e+00
    ibrav = 4
    nat   = 9
    ntyp  = 2
    nspin=2
    occupations= "smearing"
    smearing ='gaussian'
    degauss =0.02
    ecutwfc =80
    ecutrho =800
    starting_magnetization(1) =  2.00000e-01
    starting_magnetization(2) =  0.00000e+01
/
&ELECTRONS
    conv_thr =  1.00000e-07
    electron_maxstep = 8655500
	mixing_ndim=12
	mixing_mode='local-TF'
	mixing_beta=0.15
	startingpot      = "atomic"
    startingwfc      = "atomic+random"
/
&IONS
ion_dynamics='bfgs'
/
&CELL
cell_dynamics='bfgs'
/

ATOMIC_SPECIES
Ni     58.69340  Ni.pbe-spn-rrkjus_psl.1.0.0.UPF
P      30.97376  P.pbe-n-rrkjus_psl.1.0.0.UPF

ATOMIC_POSITIONS {angstrom}
Ni      3.493485   0.000000   1.667912
Ni     -1.746742   3.025447   1.667912
Ni      1.163084   2.014520   1.667912
Ni      2.153836   3.730553   0.000000
Ni     -0.755990   1.309414   0.000000
Ni      1.511981   0.000000   0.000000
P      -0.000003   3.359979   0.000000
P       0.000000   0.000000   1.667912
P       2.909829   1.679987   0.000000

K_POINTS {automatic}
3  3  3  0 0 0
