pair_style eam

Hi all - I’m first to say that I’m not a significant LAMMPS user, but I have successfully compiled and used it in the past, so I think I have a little bit of an idea of what to do. So this question may sound awfully basic, but what happened to the various eam pair styles?

When I use a recent lammps source from git, e.g. the most current one, or the last stable r13475, I get a “Unknown pair style” error when I do “pair style eam”, and indeed I don’t see a pair_eam.cpp file in src/. I do see that various online documentation still refers to it, as well as the doc included with the git source distribution pair_eam.txt.

          thanks,
          Noam

Hi all - I’m first to say that I’m not a significant LAMMPS user, but I have successfully compiled and used it in the past, so I think I have a little bit of an idea of what to do. So this question may sound awfully basic, but what happened to the various eam pair styles?

When I use a recent lammps source from git, e.g. the most current one, or the last stable r13475, I get a “Unknown pair style” error when I do “pair style eam”, and indeed I don’t see a pair_eam.cpp file in src/. I do see that various online documentation still refers to it, as well as the doc included with the git source distribution pair_eam.txt.

this is due to the fact, that when pulling a LAMMPS version from the
source code repository - unlike with downloadable tar files - no
packages are installed by default.
for building LAMMPS with optional packages, please see:
http://lammps.sandia.gov/doc/Section_start.html#start_3

Now that I know to search for it, I see now that the documentation says that it comes with the manybody package, which is fine for fixing my problem, but it also says that this package is built by default, which is not actually the case when starting from the git source, which is confusing.

Anyway, problem solved, and thanks for the help.

                        Noam

distribution pair_eam.txt.

this is due to the fact, that when pulling a LAMMPS version from the
source code repository - unlike with downloadable tar files - no
packages are installed by default.
for building LAMMPS with optional packages, please see:
http://lammps.sandia.gov/doc/Section_start.html#start_3

Now that I know to search for it, I see now that the documentation says that it comes with the manybody package, which is fine for fixing my problem, but it also says that this package is built by default, which is not actually the case when starting from the git source, which is confusing.

that part of the documentation, like the majority of it, was written
before there were svn and git repositories.
the instructions for the download of LAMMPS from the git and svn
repositories states this difference, though.
http://lammps.sandia.gov/download.html#git