Skip to content

Commit

Permalink
Merge pull request easybuilders#10371 from boegel/20200410163937_new_…
Browse files Browse the repository at this point in the history
…pr_LAMMPS3Mar2020

{chem}[foss/2019b,intel/2019b] LAMMPS v3Mar2020 w/ Python 3.7.4
  • Loading branch information
lexming authored Apr 12, 2020
2 parents 5549673 + be9d0f2 commit 9c59a74
Show file tree
Hide file tree
Showing 2 changed files with 176 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
name = 'LAMMPS'
version = '3Mar2020'
local_python_versionsuffix = '-Python-%(pyver)s'
versionsuffix = local_python_versionsuffix
versionsuffix += '-kokkos'

homepage = 'https://lammps.sandia.gov/'
description = """LAMMPS is a classical molecular dynamics code, and an acronym
for Large-scale Atomic/Molecular Massively Parallel Simulator. LAMMPS has
potentials for solid-state materials (metals, semiconductors) and soft matter
(biomolecules, polymers) and coarse-grained or mesoscopic systems. It can be
used to model atoms or, more generically, as a parallel particle simulator at
the atomic, meso, or continuum scale. LAMMPS runs on single processors or in
parallel using message-passing techniques and a spatial-decomposition of the
simulation domain. The code is designed to be easy to modify or extend with new
functionality.
"""

toolchain = {'name': 'foss', 'version': '2019b'}
toolchainopts = {'openmp': True, 'usempi': True, 'cstd': 'c++11'}

# 'https://github.com/lammps/lammps/archive/'
source_urls = [GITHUB_LOWER_SOURCE]
sources = ['stable_%(version)s.tar.gz']
checksums = ['a1a2e3e763ef5baecea258732518d75775639db26e60af1634ab385ed89224d1']

local_source_dir_name = '%(namelower)s-%(version)s'

builddependencies = [
('CMake', '3.15.3'),
('pkg-config', '0.29.2'),
('archspec', '0.1.0', local_python_versionsuffix),
]

dependencies = [
('Python', '3.7.4'),
('libpng', '1.6.37'),
('libjpeg-turbo', '2.0.3'),
('netCDF', '4.7.1'),
('GSL', '2.6'),
('zlib', '1.2.11'),
('gzip', '1.10'),
('HDF5', '1.10.5'),
('tbb', '2019_U9'),
('PCRE', '8.43'),
('libxml2', '2.9.9'),
('FFmpeg', '4.2.1'),
('Voro++', '0.4.6'),
('FFTW', '3.3.8'),
('kim-api', '2.1.3'),
('Eigen', '3.3.7', '', True),
('yaff', '1.6.0', local_python_versionsuffix),
('PLUMED', '2.5.3', local_python_versionsuffix),
]

# To use additional custom configuration options, use the 'configopts' easyconfig parameter
# See docs and lammps easyblock for more information.
# https://github.com/lammps/lammps/blob/master/cmake/README.md#lammps-configuration-options
# configopts = " "

# auto-enabled by easyblock
# 'GPU' - if cuda package is present and kokkos is disabled
# 'KOKKOS' - if kokkos is enabled (by default)
#
# not enabled (yet), needs more work/additional dependencies:
# 'LATTE', - https://lammps.sandia.gov/doc/Build_extras.html#latte-package
# 'MSCG', - https://lammps.sandia.gov/doc/Build_extras.html#mscg-package
general_packages = [
'ASPHERE', 'BODY', 'CLASS2', 'COLLOID', 'COMPRESS', 'CORESHELL', 'DIPOLE',
'GRANULAR', 'KIM', 'KSPACE', 'MANYBODY', 'MC', 'MESSAGE', 'MISC',
'MOLECULE', 'MPIIO', 'PERI', 'POEMS', 'PYTHON', 'QEQ', 'REPLICA', 'RIGID',
'SHOCK', 'SNAP', 'SPIN', 'SRD', 'VORONOI',
]

# not enabled (yet), needs more work/additional dependencies:
# ADIOS - https://lammps.sandia.gov/doc/Build_extras.html#user-adios-package
# AWPMD - https://lammps.sandia.gov/doc/Build_extras.html#user-awpmd-package
# QUIP - https://lammps.sandia.gov/doc/Build_extras.html#user-quip-package
# SCAFACOS - https://lammps.sandia.gov/doc/Build_extras.html#user-scafacos-package
# VTK - https://lammps.sandia.gov/doc/Build_extras.html#user-vtk-package
user_packages = [
'ATC', 'BOCS', 'CGDNA', 'CGSDK', 'COLVARS', 'DIFFRACTION', 'DPD', 'DRUDE',
'EFF', 'FEP', 'H5MD', 'LB', 'MANIFOLD', 'MEAMC', 'MESO', 'MGPT', 'MISC',
'MOFFF', 'MOLFILE', 'NETCDF', 'PHONON', 'PLUMED', 'PTM', 'QTB', 'REAXC',
'SMD', 'SMTBQ', 'SPH', 'TALLY', 'UEF', 'YAFF',
]

moduleclass = 'chem'
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
name = 'LAMMPS'
version = '3Mar2020'
local_python_versionsuffix = '-Python-%(pyver)s'
versionsuffix = local_python_versionsuffix
versionsuffix += '-kokkos'

homepage = 'https://lammps.sandia.gov/'
description = """LAMMPS is a classical molecular dynamics code, and an acronym
for Large-scale Atomic/Molecular Massively Parallel Simulator. LAMMPS has
potentials for solid-state materials (metals, semiconductors) and soft matter
(biomolecules, polymers) and coarse-grained or mesoscopic systems. It can be
used to model atoms or, more generically, as a parallel particle simulator at
the atomic, meso, or continuum scale. LAMMPS runs on single processors or in
parallel using message-passing techniques and a spatial-decomposition of the
simulation domain. The code is designed to be easy to modify or extend with new
functionality.
"""

toolchain = {'name': 'intel', 'version': '2019b'}
toolchainopts = {'openmp': True, 'usempi': True, 'cstd': 'c++11'}

# 'https://github.com/lammps/lammps/archive/'
source_urls = [GITHUB_LOWER_SOURCE]
sources = ['stable_%(version)s.tar.gz']
checksums = ['a1a2e3e763ef5baecea258732518d75775639db26e60af1634ab385ed89224d1']

local_source_dir_name = '%(namelower)s-%(version)s'

builddependencies = [
('CMake', '3.15.3'),
('pkg-config', '0.29.2'),
('archspec', '0.1.0', local_python_versionsuffix),
]

dependencies = [
('Python', '3.7.4'),
('libpng', '1.6.37'),
('libjpeg-turbo', '2.0.3'),
('netCDF', '4.7.1'),
('GSL', '2.6'),
('zlib', '1.2.11'),
('gzip', '1.10'),
('HDF5', '1.10.5'),
('tbb', '2019_U9'),
('PCRE', '8.43'),
('libxml2', '2.9.9'),
('FFmpeg', '4.2.1'),
('Voro++', '0.4.6'),
('FFTW', '3.3.8'),
('kim-api', '2.1.3'),
('Eigen', '3.3.7', '', True),
('yaff', '1.6.0', local_python_versionsuffix),
('PLUMED', '2.5.3', local_python_versionsuffix),
]

# To use additional custom configuration options, use the 'configopts' easyconfig parameter
# See docs and lammps easyblock for more information.
# https://github.com/lammps/lammps/blob/master/cmake/README.md#lammps-configuration-options
# configopts = " "

# auto-enabled by easyblock
# 'GPU' - if cuda package is present and kokkos is disabled
# 'KOKKOS' - if kokkos is enabled (by default)
#
# not enabled (yet), needs more work/additional dependencies:
# 'LATTE', - https://lammps.sandia.gov/doc/Build_extras.html#latte-package
# 'MSCG', - https://lammps.sandia.gov/doc/Build_extras.html#mscg-package
general_packages = [
'ASPHERE', 'BODY', 'CLASS2', 'COLLOID', 'COMPRESS', 'CORESHELL', 'DIPOLE',
'GRANULAR', 'KIM', 'KSPACE', 'MANYBODY', 'MC', 'MESSAGE', 'MISC',
'MOLECULE', 'MPIIO', 'PERI', 'POEMS', 'PYTHON', 'QEQ', 'REPLICA', 'RIGID',
'SHOCK', 'SNAP', 'SPIN', 'SRD', 'VORONOI',
]

# not enabled (yet), needs more work/additional dependencies:
# ADIOS - https://lammps.sandia.gov/doc/Build_extras.html#user-adios-package
# AWPMD - https://lammps.sandia.gov/doc/Build_extras.html#user-awpmd-package
# QUIP - https://lammps.sandia.gov/doc/Build_extras.html#user-quip-package
# SCAFACOS - https://lammps.sandia.gov/doc/Build_extras.html#user-scafacos-package
# VTK - https://lammps.sandia.gov/doc/Build_extras.html#user-vtk-package
user_packages = [
'ATC', 'BOCS', 'CGDNA', 'CGSDK', 'COLVARS', 'DIFFRACTION', 'DPD', 'DRUDE',
'EFF', 'FEP', 'H5MD', 'LB', 'MANIFOLD', 'MEAMC', 'MESO', 'MGPT', 'MISC',
'MOFFF', 'MOLFILE', 'NETCDF', 'PHONON', 'PLUMED', 'PTM', 'QTB', 'REAXC',
'SMD', 'SMTBQ', 'SPH', 'TALLY', 'UEF', 'YAFF',
]

moduleclass = 'chem'

0 comments on commit 9c59a74

Please sign in to comment.