ERROR: Illegal fix deposit command

dear lammps users,

i am getting ERROR: Illegal fix deposit command…(/fix_deposit.cpp:791)
, not able to find bug

region mobile block INF INF INF INF 0.66 1.3
region freeze block INF INF INF INF INF 0.66
group freeze region freeze
group mobile region mobile
fix 10 freeze setforce 0 0 0

change_box all boundary p p f
group addatomsi type 1
group addatomc type 2
fix 1 addatomsi nve
fix 2 addatomsi nve
fix 3 mobile langevin 2400.0 2400.0 0.1 587283
fix 4 mobile nve

region slab block 0 10 0 10 9 10
fix 5 addatomsi deposit 1000 1 800 1236745 region slab near 1.0 & vz -20.880 -20.880 rate 0.001

run 500000

This fix is part of the MISC package. Go to lammps/src and type make package-status and check whether user-misc is installed or not? If not, install it and recompile lammps. Then try.

Does your fix deposit command have a & in the middle of the single line

as it shows in the email. That would generate an error.

Steve