error: deposition region extends outside the simulation box

I keep getting the error: deposition region extends outside the simulation box. I am reading data from the restart file written out after equilibration. The whole deposition worked fine when I ran the equilibration and deposition at the same time but now when I am breaking it up, I get this error. Attaching my log and input file.

Thanks

log.lammps (2.17 KB)

in.deposit (1.7 KB)

I keep getting the error: deposition region extends outside the simulation
box. I am reading data from the restart file written out after
equilibration. The whole deposition worked fine when I ran the equilibration
and deposition at the same time but now when I am breaking it up, I get this
error. Attaching my log and input file.

well, look at your log and the input yourself:

you have:

read_restart restart.mpiio
  orthogonal box = (-0.172205 -0.149134 -0.437599) to (19.8483 17.1891 50.4376)

and then you define
region addatoms block 0 20.0205094667383 0 17.3382673046607 19 19 units box

why do you think the error you are getting is not deserved?

axel.