summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorvishalkenchan <vishalkenchan@users.noreply.github.com>2017-11-08 17:01:15 +0100
committerChristoph Junghans <christoph.junghans@gmail.com>2017-11-08 09:01:14 -0700
commit392929ba7721a402d3c273099e2499bc89df5b52 (patch)
tree85b42cf6c137db4ba826cd9a5119e6e63c5b5505 /var
parent00d48e60bf46545f5cb02c2d0a95cba9bb2bd486 (diff)
downloadspack-392929ba7721a402d3c273099e2499bc89df5b52.tar.gz
spack-392929ba7721a402d3c273099e2499bc89df5b52.tar.bz2
spack-392929ba7721a402d3c273099e2499bc89df5b52.tar.xz
spack-392929ba7721a402d3c273099e2499bc89df5b52.zip
lammps: add more packages (#6174)
* lammps : adding new varients and dependencies therein * Update package.py * removing trailing whitespaces
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/lammps/package.py21
1 files changed, 19 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/lammps/package.py b/var/spack/repos/builtin/packages/lammps/package.py
index 9a15308652..7eeea42773 100644
--- a/var/spack/repos/builtin/packages/lammps/package.py
+++ b/var/spack/repos/builtin/packages/lammps/package.py
@@ -45,8 +45,13 @@ class Lammps(CMakePackage):
return "https://github.com/lammps/lammps/archive/patch_{0}.tar.gz".format(
vdate.strftime("%d%b%Y").lstrip('0'))
- supported_packages = ['voronoi', 'rigid', 'user-netcdf', 'kspace',
- 'latte', 'user-atc', 'user-omp', 'meam', 'manybody']
+ supported_packages = ['asphere', 'body', 'class2', 'colloid', 'compress',
+ 'coreshell', 'dipole', 'granular', 'kspace', 'latte',
+ 'manybody', 'mc', 'meam', 'misc', 'molecule',
+ 'mpiio', 'peri', 'poems', 'python', 'qeq', 'reax',
+ 'replica', 'rigid', 'shock', 'snap', 'srd',
+ 'user-atc', 'user-h5md', 'user-lb', 'user-misc',
+ 'user-netcdf', 'user-omp', 'voronoi']
for pkg in supported_packages:
variant(pkg, default=False,
@@ -57,6 +62,7 @@ class Lammps(CMakePackage):
description='Build with mpi')
depends_on('mpi', when='+mpi')
+ depends_on('mpi', when='+mpiio')
depends_on('fftw', when='+kspace')
depends_on('voropp', when='+voronoi')
depends_on('netcdf+mpi', when='+user-netcdf')
@@ -65,8 +71,19 @@ class Lammps(CMakePackage):
depends_on('latte', when='+latte')
depends_on('blas', when='+latte')
depends_on('lapack', when='+latte')
+ depends_on('python', when='+python')
+ depends_on('mpi', when='+user-lb')
+ depends_on('mpi', when='+user-h5md')
+ depends_on('hdf5', when='+user-h5md')
+ conflicts('+body', when='+poems')
conflicts('+latte', when='@:20170921')
+ conflicts('+python', when='~lib')
+ conflicts('+qeq', when='~manybody')
+ conflicts('+user-atc', when='~manybody')
+ conflicts('+user-misc', when='~manybody')
+ conflicts('+user-phonon', when='~kspace')
+ conflicts('+user-misc', when='~manybody')
patch("lib.patch", when="@20170901")
patch("660.patch", when="@20170922")