Re: [lammps-users] Ndensity

please always report which version of LAMMPS you are using and what platform you are running on.

the specific text of your error message indicates that this is not the current version, which would have given you a hint at your mistake. it would print:

ERROR: Expected integer parameter instead of ‘0.1’ in input script or data file (src/compute_chunk_atom.cpp:114)

comparing your compute chunk/atom command with the documentation shows that you are trying to assing a value of 0.1 to the “nsbin” parameter, which is the number of spherical bins between rmin and rmax, not the distance. since this number must be an integer, LAMMPS will not an invalid input for an integer, i.e. 0.1.

it is all in the documentation!!

axel.