[lammps-users] error in dump_modify

Hi,

Copied below is my input file which gives error in the dump_modify command. I acnt see why.

units lj
dimension 2
atom_style bond
bond_style harmonic

read_data /fs/home/sm868/lammps_melting/data.npt-08.6
mass 1 1.0

velocity all create 1.0 87287 dist gaussian

pair_style lj/cut 1.1225
pair_coeff 1 1 1.0 1.0 1.1225
pair_modify shift yes

neighbor 0.3 bin
neigh_modify delay 10 every 5 check yes

fix 2 all shake 0.0001 100 10 b 1 t 1
fix 1 all npt temp 1.0 1.0 100.0 aniso 8.6 8.6 1000.0
fix 3 all enforce2d

variable numdens equal 3600/vol
compute myCoord all coord/atom 1.1225
compute myTemp all temp
compute myPres all pressure myTemp
compute myRdf all rdf 100
fix 4 all ave/time 100 100 10000 c_myPres file pres-08.6
fix 5 all ave/time 100 100 10000 v_numdens file dens-08.6
fix 6 all ave/time 100 100 10000 c_myRdf file rdf-08.6 mode vector

timestep 0.001
thermo 10000
thermo_style custom step c_myPres v_numdens
dump 1 all custom 10000 dump.npt-init-08.6-* id mol type x y z
dump_modify 1 sort id
log log.npt-08.6

run 1000000

Pooja

dump_modify 1 sort id

Are you running a version of LAMMPS that includes the very recently
released dump_modify sort option?

Steve