Problem in LAMMPS examples

Submitted by ghaffari_ali on Fri, 10/05/2012 - 18:54

Hi all
I have installed LIGGGHTS and it works well with its examples. But when I want to run lammps examples it does not work for some of them. I ran the lampps examples in the same way as liggghts examples and it works for some examples such as "intend" and "rigid". But it does not work for "dipole" and "eim" examples. there is the error massage for these examples in the following:

liggghts

ghaffari_ali | Sat, 10/06/2012 - 16:43

for eim example:
LIGGGHTS (Version LIGGGHTS-PUBLIC 2.1.2, compiled 2012-10-04-08:29:08 by ali based on LAMMPS 20 Apr 2012)
Lattice spacing in x,y,z = 5 5 5
Reading data file ...
orthogonal box = (-0.5 -0.5 -0.5) to (35.54 35.54 35.54)
1 by 1 by 1 MPI processor grid
2000 atoms
2000 velocities
ERROR: Invalid pair style (force.cpp:180)

for dipole example:
LIGGGHTS (Version LIGGGHTS-PUBLIC 2.1.2, compiled 2012-10-04-08:29:08 by ali based on LAMMPS 20 Apr 2012)
ERROR: Invalid atom style (atom.cpp:343)

What should I do? any suggestion will be appreciate .

ckloss's picture

ckloss | Sat, 10/06/2012 - 19:30

For the dipole example, you need to compile in the DIPLOLE package, for the eim example, you need the MANYBODY package.
See manual for details

Christoph