unknown command - pair_style meam

Dear Lammps users,

I have installed lammps using the pre-built ubuntu linux executable. However it cannot recognize the pair_style meam command. Does it mean the MEAM package is not included in the pre-built executable? If so, can you please advice me how to install MEAM package with the pre-built ubuntu linux executable?
Thank you so much for your kind help.

Best regards,
Hansinee

It probably is not installed in the pre-built version.

My advice is to just compile your own lammps. It’s easy enough if you follow the instructions on the website.

The old Fortran implementation "meam" has been superseded by the translated C++ version "meam/c". The old package outputs a warning, the PPA build has dropped it altogether.
Just change your script to "pair_style meam/c" and it should work.

Best regards,
Sebastian Hütter

The old Fortran implementation "meam" has been superseded by the
translated C++ version "meam/c". The old package outputs a warning, the PPA
build has dropped it altogether.

​if the PPA build drops the meam​ style, i would suggest to apply the
follow patch to maintain some level of backward compatibility:

diff --git a/src/USER-MEAMC/pair_meamc.h b/src/USER-MEAMC/pair_meamc.h
index 476a70dd0..a006e70bd 100644
--- a/src/USER-MEAMC/pair_meamc.h
+++ b/src/USER-MEAMC/pair_meamc.h
@@ -14,6 +14,7 @@
#ifdef PAIR_CLASS

PairStyle(meam/c,PairMEAMC)
+PairStyle(meam,PairMEAMC)

#else