The KIM development team is very happy to announce the official release of the KIM API v2 package!
This release provides some additional minor changes, fixes, and improvements upon the previous kim-api-v2-2.0.0-beta.3 release. Additionally, significant new documentation written to describe the each of the functions/routines and constant variables in the KIM API.
For more information on the features of KIM API v2 see the documentation (https://kim-api.readthedocs.io/en/latest). Also see the NEWS, README, and INSTALL files in the KIM API package root directory after downloading and extracting the package.
Here is a download link to the new kim-api-v2-2.0.0.txz package:
It looks like the change from .String() to .ToString() has not been implemented in the model drivers. When I do
kim-api-v2-collections-management install user OpenKIM
I get tons of errors of this kind:
-- Install configuration: "Release"
-- Installing: /Users/schiotz/.kim-api-v2/models-dir/EAM_Dynamo_SturgeonLaird_2000_Al__MO_120808805541_005/libkim-api-v2-model.so
Downloading.............. EAM_Dynamo_SunMendelevBecker_2006_Mg__MO_848345414202_005
This item needs its driver 'EAM_Dynamo__MD_120291908751_005', but it is not currently installed.
Trying to find it at openkim.org.
Downloading.............. EAM_Dynamo__MD_120291908751_005
Scanning dependencies of target EAM_Dynamo__MD_120291908751_005
[ 20%] Building CXX object CMakeFiles/EAM_Dynamo__MD_120291908751_005.dir/item-wrapper.cpp.o
[ 40%] Building CXX object CMakeFiles/EAM_Dynamo__MD_120291908751_005.dir/EAM.cpp.o
[ 60%] Building CXX object CMakeFiles/EAM_Dynamo__MD_120291908751_005.dir/EAM_Implementation.cpp.o
/var/folders/cq/5k4g7j_j5q3crgmh_glgp8yr0000gn/T/kim-api-v2-build-DWsMr9C3Qf/EAM_Dynamo__MD_120291908751_005/EAM_Implementation.cpp:932:36: error: no member named 'String' in 'KIM::SpeciesName'; did you mean 'ToString'?
particleNames[i] = tmp_species.String().c_str();
^~~~~~
ToString
/Users/schiotz/local/include/kim-api-v2/KIM_SpeciesName.hpp:122:23: note: 'ToString' declared here
std::string const & ToString() const;
^
1 error generated.
make[2]: *** [CMakeFiles/EAM_Dynamo__MD_120291908751_005.dir/EAM_Implementation.cpp.o] Error 1
make[1]: *** [CMakeFiles/EAM_Dynamo__MD_120291908751_005.dir/all] Error 2
make: *** [all] Error 2
*** WARNING *** Model Driver for this item not currently installed in any of the KIM API collections.
Continuing with installation of the item anyway.