git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7875 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2012-03-01 17:01:45 +00:00
parent 8d147139fc
commit c74d2c7e08
2 changed files with 9 additions and 5 deletions

View File

@ -1,7 +1,9 @@
# Settings that the LAMMPS build will import when this package library is used
KIM = /home/sjplimp/lmpidea/kim/openkim
# Note: this assumes that the KIM_DIR environment variable
# has been set to point to the openKIM directory,
# which is typically done when building the KIM_API library
kim_SYSINC = -I${KIM}/KIM_API
kim_SYSINC = -I${KIM_DIR}/KIM_API
kim_SYSLIB = -lkim
kim_SYSPATH = -L${KIM}/KIM_API
kim_SYSPATH = -L${KIM_DIR}/KIM_API

View File

@ -4,13 +4,15 @@ pair_style kim command.
You should first download KIM from www.openkim.org. Then build its
library API in KIM_API, with the models (potentials) you want to use.
You should have the files:
You should then have the files:
openkim/KIM_API/libkim.a
openkim/KIM_API/libkim.so
When you build LAMMPS with its KIM package installed, it will use the
3 settings in Makefile.lammps in this directory.
3 settings in Makefile.lammps in this directory. Note that they
depend on the KIM_DIR environment variable being set, which is
typically done when you build the KIM_API library.
kim_SYSINC = a path to the KIM_API directory that contains *.h files
kim_SYSLIB = the KIM library