Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Spack
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
eic_tools
Spack
Commits
3c641f47
Commit
3c641f47
authored
6 years ago
by
Ryan S. Elliott
Committed by
Peter Scheibel
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
var/spack/repos/builtin/packages/kim-api/package.py
+6
-6
6 additions, 6 deletions
var/spack/repos/builtin/packages/kim-api/package.py
var/spack/repos/builtin/packages/openkim-models/package.py
+15
-8
15 additions, 8 deletions
var/spack/repos/builtin/packages/openkim-models/package.py
with
21 additions
and
14 deletions
var/spack/repos/builtin/packages/kim-api
-v2
/package.py
→
var/spack/repos/builtin/packages/kim-api/package.py
+
6
−
6
View file @
3c641f47
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
from
spack
import
*
from
spack
import
*
class
KimApi
V2
(
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
'
)
This diff is collapsed.
Click to expand it.
var/spack/repos/builtin/packages/openkim-models
-v2
/package.py
→
var/spack/repos/builtin/packages/openkim-models/package.py
+
15
−
8
View file @
3c641f47
...
@@ -6,7 +6,7 @@
...
@@ -6,7 +6,7 @@
from
spack
import
*
from
spack
import
*
class
OpenkimModels
V2
(
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/
O
pen
KIM-M
odels-
v2-
2019-0
2
-2
1
.txz
"
url
=
"
https://s3.openkim.org/archives/collection/
o
pen
kim-m
odels-2019-0
3
-2
9
.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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment