meam problem in python


I have recently added MEAM package to the lammps and I can run its examples. But when I run lammps from python it does not recognize the meam pair potential whith the error:
ERROR: Unknown pair style meam (…/force.cpp:244)

Can anyone help me please?

Masoud Rahbar Niazi

faculty of materials engineering

Tarbiat Modares University

Hi Masoud, it’s possible that the library version of LAMMPS (used by Python) and the executable version have been compiled differently.

The safest way is to compile using a machine target that is the same for the executable and the library versions, e.g.

make mpi
make mpi mode=shlib
make install-python