Regarding LAMMPS package installation

Hello Everyone,
Eventhough i installed Extra-pair package through the command make yes-EXTRA-PAIR, while running the simulation it is ending up in an error saying ’ nm/cut/coul/long’ is a part of the EXTRA-PAIR package which is not enabled in this LAMMPS binary.
tried in 2 different versions of LAMMPS - 2 Aug 2023 & 23 Jun 2022.
screenshots are given for reference.

Can any one suggest what is the additional requirement for proper installation of the package.


You also need to recompile.

Yes if i am right i have done recompiling,
the order in which i have done is

  1. Removed Obj_mpi
  2. installed packages
  3. recompiled LAMMPS by make mpi command

and even freshly installed from scratch once.

I cannot give any other suggestion outside of what I already did and what is in the LAMMPS manual, since I cannot look over your shoulder while you are doing things and see any errors or issues that you are not reporting. If you are doing things correctly, it should work as expected.

My only remaining suggestion would be to use the CMake build procedure (this is what I am using almost exclusively).