Minimal model and driver template files for kim-api-v2

Hi Ryan,

Thanks! I just uninstalled the previous version of lammps and installed your lammps github repository. Now “which lmp_mpi” gives

lammps-ryan/src/lmp_mpi

But the same error still happens:

$ lmp_mpi < in.kim

LAMMPS (16 Aug 2018)

Lattice spacing in x,y,z = 1.5 1.5 1.5

Created orthogonal box = (0 0 0) to (15 15 15)

1 by 1 by 1 MPI processor grid

Created 4000 atoms

Time spent = 0.000505924 secs

The Model shared library file is not readable for Model name: ‘LennardJones612_UniversalShifted__MO_959249795837_003’.

  • Error: at line 1037 in …/pair_kim.cpp

Message: KIM initialization failed

KIM_STATUS_MSG: unsuccessful completion

ERROR: Internal KIM error (…/pair_kim.cpp:1037)

Last command: run 0

So it does not seem to work out. The other way is that I downgrade my model and model driver to kim-v1. Do you think I should do that?

Thanks and regards,
Alireza