change_box issue (Simulation freezes in parallel)

Dear Steve, Users,
I am having problems with applying change box command. It seems like the simulation works fine with it is run on single processor but get stuck at changing box command when run in parallel. I am using 21 Sep version of lammps

mpiexec -np 1 lammps.21.9.12/src/lmp_exe_v < in.elastic.single (Runs file)

mpiexec -np 12 lammps.21.9.12/src/lmp_exe_v < in.elastic.single (get stuck) as follows

bug_files.tar.gz (348 KB)

There was an indexing bug in change_box. Will post a patch this AM.


Dea Steve,
Thanks, the patch works.