diff --git a/cmake/Modules/FindKIM-API.cmake b/cmake/Modules/FindKIM-API.cmake index d9397b9aba..beef92db59 100644 --- a/cmake/Modules/FindKIM-API.cmake +++ b/cmake/Modules/FindKIM-API.cmake @@ -41,9 +41,9 @@ include(FindPackageHandleStandardArgs) pkg_check_modules(KIM-API REQUIRED libkim-api>=2.0) -pkg_get_variable(KIM-API-V2-CMAKE_C_COMPILER libkim-api CMAKE_C_COMPILER) -pkg_get_variable(KIM-API-V2-CMAKE_CXX_COMPILER libkim-api CMAKE_CXX_COMPILER) -pkg_get_variable(KIM-API-V2_CMAKE_Fortran_COMPILER libkim-api CMAKE_Fortran_COMPILER) +pkg_get_variable(KIM-API-CMAKE_C_COMPILER libkim-api CMAKE_C_COMPILER) +pkg_get_variable(KIM-API-CMAKE_CXX_COMPILER libkim-api CMAKE_CXX_COMPILER) +pkg_get_variable(KIM-API_CMAKE_Fortran_COMPILER libkim-api CMAKE_Fortran_COMPILER) # handle the QUIETLY and REQUIRED arguments and set KIM-API_FOUND to TRUE # if all listed variables are TRUE diff --git a/src/KIM/kim_query.cpp b/src/KIM/kim_query.cpp index 7480703ce8..fedc976110 100644 --- a/src/KIM/kim_query.cpp +++ b/src/KIM/kim_query.cpp @@ -52,7 +52,7 @@ ------------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- - Designed for use with the kim-api-v2-2.0.0 (and newer) package + Designed for use with the kim-api-2.0.2 (and newer) package ------------------------------------------------------------------------- */ #include diff --git a/src/KIM/kim_query.h b/src/KIM/kim_query.h index ed5a7c88f3..3644e4519b 100644 --- a/src/KIM/kim_query.h +++ b/src/KIM/kim_query.h @@ -51,7 +51,7 @@ ------------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- - Designed for use with the kim-api-v2-2.0.0 (and newer) package + Designed for use with the kim-api-2.0.2 (and newer) package ------------------------------------------------------------------------- */ #ifdef COMMAND_CLASS diff --git a/src/KIM/pair_kim.cpp b/src/KIM/pair_kim.cpp index ea5f24a67e..157a782f20 100644 --- a/src/KIM/pair_kim.cpp +++ b/src/KIM/pair_kim.cpp @@ -50,7 +50,7 @@ ------------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- - Designed for use with the kim-api-v2-2.0.0 (and newer) package + Designed for use with the kim-api-2.0.2 (and newer) package ------------------------------------------------------------------------- */ #include @@ -313,7 +313,7 @@ void PairKIM::settings(int narg, char **arg) (0 == strcmp("LAMMPSvirial", arg[0])))) { error->all(FLERR,"'KIMvirial' or 'LAMMPSvirial' not supported with " - "kim-api-v2."); + "kim-api."); } else error->all(FLERR,"Illegal pair_style command"); diff --git a/src/KIM/pair_kim.h b/src/KIM/pair_kim.h index a6f882347d..27bab6c687 100644 --- a/src/KIM/pair_kim.h +++ b/src/KIM/pair_kim.h @@ -50,7 +50,7 @@ ------------------------------------------------------------------------- */ /* ---------------------------------------------------------------------- - Designed for use with the kim-api-v2-2.0.0 (and newer) package + Designed for use with the kim-api-2.0.2 (and newer) package ------------------------------------------------------------------------- */ #ifdef PAIR_CLASS @@ -182,9 +182,9 @@ E: KIM Compute returned error The KIM model was unable, for some reason, to complete the computation. -E: 'KIMvirial' or 'LAMMPSvirial' not supported with kim-api-v2. +E: 'KIMvirial' or 'LAMMPSvirial' not supported with kim-api. -"KIMvirial or "LAMMPSvirial" found on the pair_style line. These keys are not supported kim-api-v2. (The virial computation is always performed by LAMMPS.) Please remove these keys, make sure the KIM model you are using supports kim-api-v2, and rerun. +"KIMvirial or "LAMMPSvirial" found on the pair_style line. These keys are not supported kim-api. (The virial computation is always performed by LAMMPS.) Please remove these keys, make sure the KIM model you are using supports kim-api, and rerun. E: Illegal pair_style command