From d609a6dde75c0bdafecd65fb24f8abec5b06854a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Lacroix?= Date: Fri, 31 Jul 2020 05:19:59 +0200 Subject: [PATCH] Update LAMMPS package (#17715) * LAMMPS: Use LATTE 1.2.2 starting with version 20200602. Version 20200602 and upper requires Latte 1.2.2. This caused the internal Latte distribution to be used instead of the Latte install provided by Spack. * LAMMPS: Add new versions 20200630 and 20200721. --- var/spack/repos/builtin/packages/lammps/package.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/var/spack/repos/builtin/packages/lammps/package.py b/var/spack/repos/builtin/packages/lammps/package.py index 928a7fddab..550bf51de1 100644 --- a/var/spack/repos/builtin/packages/lammps/package.py +++ b/var/spack/repos/builtin/packages/lammps/package.py @@ -21,6 +21,8 @@ class Lammps(CMakePackage, CudaPackage): tags = ['ecp', 'ecp-apps'] version('master', branch='master') + version('20200721', sha256='845bfeddb7b667799a1a5dbc166b397d714c3d2720316604a979d3465b4190a9') + version('20200630', sha256='413cbfabcc1541a339c7a4ab5693fbeb768f46bb1250640ba94686c6e90922fc') version('20200505', sha256='c49d77fd602d28ebd8cf10f7359b9fc4d14668c72039028ed7792453d416de73') version('20200303', sha256='9aa56dfb8673a06e6c88588505ec1dfc01dd94f9d60e719ed0c605e48cc06c58') version('20200227', sha256='1aabcf38bc72285797c710b648e906151a912c36b634a9c88ac383aacf85516e') @@ -92,11 +94,12 @@ def url_for_version(self, version): depends_on('netcdf-c+mpi', when='+user-netcdf') depends_on('blas', when='+user-atc') depends_on('lapack', when='+user-atc') - depends_on('latte@1.0.1', when='@:20180222+latte') - depends_on('latte@1.1.1:', when='@20180316:20180628+latte') depends_on('opencl', when='+opencl') - depends_on('latte@1.2.1:', when='@20180629:+latte') + depends_on('latte@1.0.1', when='@:20180222+latte') + depends_on('latte@1.1.1:', when='@20180316:20180628+latte') + depends_on('latte@1.2.1:', when='@20180629:20200505+latte') + depends_on('latte@1.2.2:', when='@20200602:+latte') depends_on('blas', when='+latte') depends_on('lapack', when='+latte') depends_on('python', when='+python')