Skip to content
Snippets Groups Projects
Commit 392929ba authored by vishalkenchan's avatar vishalkenchan Committed by Christoph Junghans
Browse files

lammps: add more packages (#6174)

* lammps : adding new varients and dependencies therein

* Update package.py

* removing trailing whitespaces
parent 00d48e60
Branches
Tags
No related merge requests found
...@@ -45,8 +45,13 @@ def url_for_version(self, version): ...@@ -45,8 +45,13 @@ def url_for_version(self, version):
return "https://github.com/lammps/lammps/archive/patch_{0}.tar.gz".format( return "https://github.com/lammps/lammps/archive/patch_{0}.tar.gz".format(
vdate.strftime("%d%b%Y").lstrip('0')) vdate.strftime("%d%b%Y").lstrip('0'))
supported_packages = ['voronoi', 'rigid', 'user-netcdf', 'kspace', supported_packages = ['asphere', 'body', 'class2', 'colloid', 'compress',
'latte', 'user-atc', 'user-omp', 'meam', 'manybody'] '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: for pkg in supported_packages:
variant(pkg, default=False, variant(pkg, default=False,
...@@ -57,6 +62,7 @@ def url_for_version(self, version): ...@@ -57,6 +62,7 @@ def url_for_version(self, version):
description='Build with mpi') description='Build with mpi')
depends_on('mpi', when='+mpi') depends_on('mpi', when='+mpi')
depends_on('mpi', when='+mpiio')
depends_on('fftw', when='+kspace') depends_on('fftw', when='+kspace')
depends_on('voropp', when='+voronoi') depends_on('voropp', when='+voronoi')
depends_on('netcdf+mpi', when='+user-netcdf') depends_on('netcdf+mpi', when='+user-netcdf')
...@@ -65,8 +71,19 @@ def url_for_version(self, version): ...@@ -65,8 +71,19 @@ def url_for_version(self, version):
depends_on('latte', when='+latte') depends_on('latte', when='+latte')
depends_on('blas', when='+latte') depends_on('blas', when='+latte')
depends_on('lapack', 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('+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("lib.patch", when="@20170901")
patch("660.patch", when="@20170922") patch("660.patch", when="@20170922")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment