Here the Ni has equilibrium lattice constant of 3.52 and I applied the 20% strain on x y and z axis.
&CONTROL
calculation = 'scf'
verbosity = 'high'
tstress = .true.
tprnfor = .true.
prefix = 'myprefix'
pseudo_dir = '/home/ashwani/PP/PBE_ONCV'
/
&SYSTEM
ecutwfc = 50
ecutrho = 400
occupations = 'smearing'
degauss = 0.001
smearing = 'mp'
nspin = 1
ntyp = 1
nat = 4
ibrav = 0
/
&ELECTRONS
electron_maxstep = 200
mixing_mode = 'plain'
mixing_beta = 0.7
diagonalization = 'david'
/
&IONS
/
&CELL
/
ATOMIC_SPECIES
Ni 58.6934 Ni.UPF
K_POINTS automatic
6 6 6 0 0 0
CELL_PARAMETERS angstrom
3.72000000000000 0.00000000000000 0.00000000000000
0.00000000000000 3.72000000000000 0.00000000000000
0.00000000000000 0.00000000000000 3.72000000000000
ATOMIC_POSITIONS crystal
Ni 0.0000000000 0.0000000000 0.0000000000
Ni 0.0000000000 0.4731182796 0.4731182796
Ni 0.4731182796 0.0000000000 0.4731182796
Ni 0.4731182796 0.4731182796 0.0000000000