Illegal neigh_modify command

Hi,

I obtained the error message while trying to add “cluster yes” in the neigh_modify command. I didn’t see any restriction in the manual. Please kindly point out the error in the following input script. Thank you.

ERROR: Illegal neigh_modify command (neighbor.cpp:1729)

======input, comment line excluded========

units lj
atom_style angle
communicate single vel yes

pair_style dpd 1.0 1.0 34567
bond_style harmonic
neighbor 0.0 bin
neigh_modify delay 0 every 1 check no cluster yes

read_data data.c8e8r-4
velocity all create 1.0 34567
pair_coeff * * 106.5 1.5
pair_coeff 1 2 113.2 1.5
pair_coeff 1 3 126.5 1.5
pair_coeff 2 3 107.5 1.5
bond_coeff 1 40.0 0.8
bond_coeff 2 20.0 1.6

timestep 0.02

thermo_style multi
thermo 10
fix 1 all nve
group poly type 1 2
dump 1 poly xyz 1000 dump.c8e8r-4
write_restart restart.c8e8r-4.%.*
run 1000000

======End of input========================

Works for me. Are you using the current version of LAMMPS?
That option was added fairly recently.

Steve

Thank you, Steve. I should have also checked the update list. The function was added in 16 Oct 2012, but I am using 28 Aug version.