[lammps-users] Dumping 'compute property/local natom/patom'

Hi, Steve,
I sent you emails on issues of outputting neighbor list using LAMMPS a while ago. As you suggested, I chose to use “compute property/local natom/patom” to obtain the “pseudo” neighbor list, and then use dump local to output the list. This technique worked fine when the total number of atoms in the system was below 1,000,000. However, when the number went above, the “dump local” command did not seem to work properly. For instance, for an atom with an ID of 1,234,567 , in a file generated by “dump local” it will appear as 1.23456+e06. In this case, since there is one digit missing, a correct neighbor list could not be extracted.
I figured changing the number of significant digits of the output might solve this problem. But it seemed that using dump_modify you can only change the precision of a “xtc” file. Are there any other commands that can specify the precision of the output? Or, is there anything else I can do to to fix the problem mentioned above?
Please help.

Thanks in advance,

[...]

I figured changing the number of significant digits of the output might
solve this problem. But it seemed that using dump_modify you can only change
the precision of a "xtc" file. Are there any other commands that can specify
the precision of the output? Or, is there anything else I can do to to fix
the problem mentioned above?

this has nothing to do with significant digits, but with printf() style output.
i think you have to use the dump_modify formal command.

cheers,
   axel.