LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Mailing List Archives
Re: [lammps-users] unknown command - pair_style meam
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lammps-users] unknown command - pair_style meam

From: Axel Kohlmeyer <akohlmey@...24...>
Date: Fri, 24 Nov 2017 13:30:33 -0500

On Fri, Nov 24, 2017 at 8:23 AM, Sebastian Hütter <sebastian.huetter@...7220...> wrote:
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

Just change your script to "pair_style meam/c" and it should work.

Best regards,
Sebastian Hütter

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 Sitinamaluwa
Senior Lecturer
Department of Materials Science and Engineering
University of Moratuwa
Email: hansinees@...7255.../

Check out the vibrant tech community on one of the world's most
engaging tech sites,!
lammps-users mailing list

Dr. Axel Kohlmeyer  akohlmey@...24...
College of Science & Technology, Temple University, Philadelphia PA, USA
International Centre for Theoretical Physics, Trieste. Italy.