easyconfigs-it4i/l/LAMMPS/LAMMPS-22Sep2017-intel-2017a.eb
Lukáš Krupčík 15374a9399 new file: a/Automake/Automake-1.13.4.eb
modified:   l/LAMMPS/LAMMPS-22Sep2017-intel-2017a.eb
	new file:   l/LAMMPS/LAMMPS-23Oct2017-intel-2017a.eb
	new file:   l/LAMMPS/LAMMPS-Makefile.intel_cpu_intelmpi.patch
	new file:   l/LAMMPS/log.lammps
	new file:   s/Spack/Spack-0.10.1.eb
	deleted:    l/LAMMPS/LAMMPS-31Mar2017-intel-2017a-REAXC.eb
2018-01-18 13:06:35 +01:00

46 lines
1.3 KiB
Plaintext

# IT4Innovations 2017
easyblock = 'CmdCp'
name = 'LAMMPS'
version = '22Sep2017'
homepage = 'http://lammps.sandia.gov'
description = """LAMMPS is a classical molecular dynamics code,
and an acronym for Large-scale Atomic/Molecular Massively Parallel Simulator.
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.
"""
toolchain = {'name': 'intel', 'version': '2017a'}
source_urls = ['https://github.com/lammps/lammps/archive']
sources = ['patch_22Sep2017.tar.gz']
dependencies = [
('tbb', '2017.6.196', '', True),
]
commands = "cd src && make yes-kspace && make yes-manybody && make yes-molecule && "
commands += "make yes-qeq && make yes-rigid && make yes-user-misc && "
commands += "make yes-user-reaxc && make yes-user-omp && make yes-user-intel && "
commands += "sed -i -e 's/-no-offload/-qno-offload/g' MAKE/OPTIONS/Makefile.intel_cpu_intelmpi && "
commands += "make -j 16 intel_cpu_intelmpi && mv lmp_intel_cpu_intelmpi lammps"
cmds_map = [('.*', commands)]
files_to_copy = [
(['src/lammps'], 'bin'),
]
sanity_check_paths = {
'files': ['bin/lammps'],
'dirs': [''],
}
moduleclass = 'chem'