[lammps-users] Compute Style

Dear All,

I have the lammps-20Dec06 package on my machine. when I use the "compute
command", it says "unknown command". I think this version does not support
the "compute style". so I have copied all files needed for "compute style"
such as compute.h, compute.cpp,... from the lammps-21Feb08 package that is
a newer version.
How could I remake my old lammps package to solve this problem?

Regards,

Ali

Ali Rajabpour
Department of Mechanical Engineering,
University of Tehran,
P.O. Box 14395-515
Tel: +98 21 61114827
Email: [email protected]...
Personal Homepage (In Farsi) : www.Rajabpour.ir

Just download the newest version. You can't choose
a small set of files from the latest version, drop them into
an old version, and expect the code to work.

Steve

Hello, lammps-users,

If I use parallel computing, I found the output coordinates of particles in lammpstrj file is not sorted by atom ID. Does anyone know if lammps can sort them? Thanks!

The following is a sample of output:

ITEM: TIMESTEP
500
ITEM: NUMBER OF ATOMS
2080
ITEM: BOX BOUNDS
0 70
0 70
-1 1
ITEM: ATOMS
595 1 0.00480473 0.294572 0.5
640 1 0.0499419 0.343558 0.5
678 1 0.0273015 0.360122 0.5
679 1 0.0072506 0.333316 0.5
706 1 0.00352792 0.113696 0.5
707 1 0.0297828 0.146617 0.5

Dongsheng