From 0f059c56f946b9de88a869401370e6e874fd808c Mon Sep 17 00:00:00 2001 From: "Ryan S. Elliott" Date: Mon, 29 Jul 2019 15:30:46 -0500 Subject: [PATCH] Add details about installing models to KIM example input --- examples/kim/in.kim-pm-query.melt | 9 +++++++++ examples/kim/in.kim-pm.melt | 9 +++++++++ examples/kim/in.kim-sm.melt | 11 ++++++++++- 3 files changed, 28 insertions(+), 1 deletion(-) diff --git a/examples/kim/in.kim-pm-query.melt b/examples/kim/in.kim-pm-query.melt index d39dd2d464..fa04d90436 100644 --- a/examples/kim/in.kim-pm-query.melt +++ b/examples/kim/in.kim-pm-query.melt @@ -4,6 +4,15 @@ # SW_StillingerWeber_1985_Si__MO_405512056662_005 # is installed. This can be done with the command # kim-api-collections-management install user SW_StillingerWeber_1985_Si__MO_405512056662_005 +# If this command does not work, you may need to setup your PATH to find the utility. +# If you installed the kim-api using the LAMMPS CMake build, you can do the following +# (where the current working directory is assumed to be the LAMMPS build directory) +# source ./kim_build-prefix/bin/kim-api-activate +# If you installed the kim-api using the LAMMPS Make build, you can do the following +# (where the current working directory is assumed to be the LAMMPS src directory) +# source ../lib/kim/installed-kim-api-X.Y.Z/bin/kim-api-activate +# (where you should relplace X.Y.Z with the appropriate kim-api version number). +# # Or, see https://openkim.org/doc/obtaining-models for alternative options. # diff --git a/examples/kim/in.kim-pm.melt b/examples/kim/in.kim-pm.melt index 999cf77180..9959a66793 100644 --- a/examples/kim/in.kim-pm.melt +++ b/examples/kim/in.kim-pm.melt @@ -4,6 +4,15 @@ # SW_StillingerWeber_1985_Si__MO_405512056662_005 # is installed. This can be done with the command # kim-api-collections-management install user SW_StillingerWeber_1985_Si__MO_405512056662_005 +# If this command does not work, you may need to setup your PATH to find the utility. +# If you installed the kim-api using the LAMMPS CMake build, you can do the following +# (where the current working directory is assumed to be the LAMMPS build directory) +# source ./kim_build-prefix/bin/kim-api-activate +# If you installed the kim-api using the LAMMPS Make build, you can do the following +# (where the current working directory is assumed to be the LAMMPS src directory) +# source ../lib/kim/installed-kim-api-X.Y.Z/bin/kim-api-activate +# (where you should relplace X.Y.Z with the appropriate kim-api version number). +# # Or, see https://openkim.org/doc/obtaining-models for alternative options. # diff --git a/examples/kim/in.kim-sm.melt b/examples/kim/in.kim-sm.melt index 32f8c6170f..0ee8e9a857 100644 --- a/examples/kim/in.kim-sm.melt +++ b/examples/kim/in.kim-sm.melt @@ -4,7 +4,16 @@ # Sim_LAMMPS_ReaxFF_StrachanVanDuinChakraborty_2003_CHNO__SM_107643900657_000 # is installed. This can be done with the command # kim-api-collections-management install user Sim_LAMMPS_ReaxFF_StrachanVanDuinChakraborty_2003_CHNO__SM_107643900657_000 -# Or, see https://openkim.org/doc/obtaining-models for alternative options. +# If this command does not work, you may need to setup your PATH to find the utility. +# If you installed the kim-api using the LAMMPS CMake build, you can do the following +# (where the current working directory is assumed to be the LAMMPS build directory) +# source ./kim_build-prefix/bin/kim-api-activate +# If you installed the kim-api using the LAMMPS Make build, you can do the following +# (where the current working directory is assumed to be the LAMMPS src directory) +# source ../lib/kim/installed-kim-api-X.Y.Z/bin/kim-api-activate +# (where you should relplace X.Y.Z with the appropriate kim-api version number). +# +# See https://openkim.org/doc/obtaining-models for alternative options. # variable x index 1