Missing full atom style

Dear LAMMPS Users and Developers,

I’ve followed Getting Started — LAMMPS documentation to install LAMMPS from LAMMPS git repository by make yes-all, but lmp_mpi -h shows,

  • Atom styles:

atomic body charge ellipsoid hybrid
line sphere tri

The full atom style is missing.

According to a previous thread,

atom_style full is part of the MOLECULE package, which you didn’t install. when you compile from the git repo, no packages are installed by default.

So I tried make yes-molecule, but it didn’t work either.

I encountered this problem when I tried to run the example case examples/dreiding/in.dreiding,

LAMMPS (1 Mar 2016)
ERROR: Unknown atom style (…/atom.cpp:486)

Could anyone tell me how to fix this problem?

Thank you!

Did you rebuild LAMMPS after you did make yes-molecule?
If not. you won’t have atom_style full in your executable.

You can type

lmp_machine -h

to verify what styles are included in your executable.

Steve

Dear LAMMPS Users and Developers,

I've followed Getting Started — LAMMPS documentation
<http://lammps.sandia.gov/doc/Section_start.html#running-lammps> to
install LAMMPS from LAMMPS git repository by `make yes-all`, but `lmp_mpi
-h` shows,

* Atom styles:

atomic body charge ellipsoid
hybrid
line sphere tri

The full atom style is missing.

According to a previous thread
<https://sourceforge.net/p/lammps/mailman/message/34639586/>,

atom_style full is part of the MOLECULE package, which you didn't
install. when you compile from the git repo, no packages are installed by
default.

So I tried `make yes-molecule`, but it didn't work either.

I encountered this problem when I tried to run the example case
*examples/dreiding/in.dreiding*,

LAMMPS (1 Mar 2016)

ERROR: Unknown atom style (../atom.cpp:486)

Could anyone tell me how to fix this problem?

​make yes-molecular only copies the sources into the compilation directory.
you still need to compile a new executable after that.

please review the "Getting started" section of the manual again with that
information in mind.

axel.​

Steve and Axel,

Thank you for your replies. The issue is fixed after re-building LAMMPS.

Btw, does LAMMPS provide a method to query which package a style belongs to? Currently, I use Google to get the info, e.g. using “LAMMPS pair_style lj/long/coul/long” as the search key word to find what’s the package containing the long style required by example/dreiding.

The doc page for every command tells you the package.

From the src dir, you could also do an “ls” on the command
file name (usually easy to infer) in directories
of the form src/* and it will be listed in a single package
sub-dir.

Steve

The doc page for every command tells you the package.
From the src dir, you could also do an "ls" on the command
file name (usually easy to infer) in directories
of the form src/* and it will be listed in a single package
sub-dir.

​or try: grep '(some/style,' src/*/*.h

the directory name of the matching file(s) should be the name of the
package.

axel.​