Skip to content
Snippets Groups Projects
Commit 3c641f47 authored by Ryan S. Elliott's avatar Ryan S. Elliott Committed by Peter Scheibel
Browse files

kim-api and openkim-models: version update and rename (#11065)

parent 0cb08e42
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
from spack import * from spack import *
class KimApiV2(CMakePackage): class KimApi(CMakePackage):
"""OpenKIM is an online framework for making molecular simulations """OpenKIM is an online framework for making molecular simulations
reliable, reproducible, and portable. Computer implementations of reliable, reproducible, and portable. Computer implementations of
inter-atomic models are archived in OpenKIM, verified for coding inter-atomic models are archived in OpenKIM, verified for coding
...@@ -15,17 +15,17 @@ class KimApiV2(CMakePackage): ...@@ -15,17 +15,17 @@ class KimApiV2(CMakePackage):
programming interface (API) work seamlessly with major simulation programming interface (API) work seamlessly with major simulation
codes that have adopted the KIM API standard. codes that have adopted the KIM API standard.
This package provides the kim-api-v2 library and supporting This package provides the kim-api library and supporting
utilities. It also provides a small set of example models. utilities. It also provides a small set of example models.
To obtain all models archived at https://openkim.org that are To obtain all models archived at https://openkim.org that are
compatible with the kim-api-v2 package, install and activate the compatible with the kim-api package, install and activate the
openkim-models-v2 pacakge too. openkim-models pacakge too.
""" """
extendable = True extendable = True
homepage = "https://openkim.org/" homepage = "https://openkim.org/"
url = "https://s3.openkim.org/kim-api/kim-api-v2-2.0.1.txz" url = "https://s3.openkim.org/kim-api/kim-api-2.0.2.txz"
git = "https://github.com/openkim/kim-api.git" git = "https://github.com/openkim/kim-api.git"
version('develop', branch='devel') version('develop', branch='devel')
version('2.0.1', sha256="6b54a9c4bc34c669b8ef00b9be4bbdce6fca2bb813dc1fe7697d618f267860d0", extension='txz', url='https://s3.openkim.org/kim-api/kim-api-v2-2.0.1.txz') version('2.0.2', sha256="26e7cf91066692f316b8ba1548ccb7152bf56aad75902bce2338cff53e74e63d", extension='txz', url='https://s3.openkim.org/kim-api/kim-api-2.0.2.txz')
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
from spack import * from spack import *
class OpenkimModelsV2(CMakePackage): class OpenkimModels(CMakePackage):
"""OpenKIM is an online framework for making molecular simulations """OpenKIM is an online framework for making molecular simulations
reliable, reproducible, and portable. Computer implementations of reliable, reproducible, and portable. Computer implementations of
inter-atomic models are archived in OpenKIM, verified for coding inter-atomic models are archived in OpenKIM, verified for coding
...@@ -16,19 +16,26 @@ class OpenkimModelsV2(CMakePackage): ...@@ -16,19 +16,26 @@ class OpenkimModelsV2(CMakePackage):
codes that have adopted the KIM API standard. codes that have adopted the KIM API standard.
This package provides all models archived at openkim.org that are This package provides all models archived at openkim.org that are
compatible with the kim-api-v2 package. compatible with the kim-api package.
""" """
homepage = "https://openkim.org/" homepage = "https://openkim.org/"
url = "https://s3.openkim.org/archives/collection/OpenKIM-Models-v2-2019-02-21.txz" url = "https://s3.openkim.org/archives/collection/openkim-models-2019-03-29.txz"
extends('kim-api-v2') extends('kim-api')
version('2019-02-21', sha256='3bd30b0cf2bab314755a66eed621a77c72d3f990818d08366874149be39f208e', extension='txz', url='https://s3.openkim.org/archives/collection/OpenKIM-Models-v2-2019-02-21.txz') version(
'2019-03-29',
sha256='053dda2023fe4bb6d7c1d66530c758c4e633bbf1f1be17b6b075b276fe8874f6',
extension='txz',
url='https://s3.openkim.org/archives/collection/openkim-models-2019-03-29.txz')
def cmake_args(self): def cmake_args(self):
args = [] args = []
args.append('-DKIM_API_MODEL_INSTALL_PREFIX={0}/lib/kim-api-v2/models'
.format(prefix))
args.append(('-DKIM_API_MODEL_DRIVER_INSTALL_PREFIX={0}' args.append(('-DKIM_API_MODEL_DRIVER_INSTALL_PREFIX={0}'
+ '/lib/kim-api-v2/model-drivers').format(prefix)) + '/lib/kim-api/model-drivers').format(prefix))
args.append('-DKIM_API_MODEL_INSTALL_PREFIX={0}/lib/kim-api/models'
.format(prefix))
args.append('-DKIM_API_SIMULATOR_MODEL_INSTALL_PREFIX={0}/lib/'
'kim-api/simulator-models'
.format(prefix))
return args return args
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment