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

This commit is contained in:
sjplimp 2015-01-09 00:06:20 +00:00
parent 6d8a841f4b
commit 757fea4535
2 changed files with 3 additions and 28 deletions

View File

@ -40,10 +40,10 @@ if (test $1 = 1) then
fi
if (test -e ../Makefile.package.settings) then
sed -i -e '/^include.*KIM.*$/d' ../Makefile.package.settings
sed -i -e '/^include.*kim.*$/d' ../Makefile.package.settings
# multiline form needed for BSD sed on Macs
sed -i -e '4 i \
include ..\/KIM\/Makefile.lammps
include ..\/..\/lib\/kim\/Makefile.lammps
' ../Makefile.package.settings
fi
@ -54,7 +54,7 @@ elif (test $1 = 0) then
fi
if (test -e ../Makefile.package.settings) then
sed -i -e '/^include.*KIM.*$/d' ../Makefile.package.settings
sed -i -e '/^include.*kim.*$/d' ../Makefile.package.settings
fi
fi

View File

@ -1,25 +0,0 @@
# This file contains the hooks to build and link LAMMPS with the OpenKIM
# library so that a LAMMPS input script can use a KIM potential, via the
# 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 then have the files:
#
# openkim-api-vX.X.X/KIM_API/libkim.a
# openkim-api-vX.X.X/KIM_API/libkim.so
#
# When you build LAMMPS with the KIM package installed, it will use the
# 3 settings in this file. They should be set as follows.
#
# kim_SYSINC = a path to the KIM_API directory that contains *.h files
# kim_SYSLIB = compiler flag to use the KIM library
# kim_SYSPATH = a path to the KIM library
# -----------------------------------------------------------
# Settings that the LAMMPS build will import when this package is installed
kim_SYSINC = $(shell kim-api-build-config --includes)
kim_SYSLIB = $(shell kim-api-build-config --ldlibs)
kim_SYSPATH = $(shell kim-api-build-config --ldflags)