LAMMPS-17Jan2018-intel-2017a.eb 1.44 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# IT4Innovations 2017

easyblock = 'CmdCp'

name = 'LAMMPS'
version = '17Jan2018'

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_17Jan2018.tar.gz']

dependencies = [
    ('tbb', '2017.6.196', '', True),
]

builddependencies = [
    ('Python', '2.7.13', '-base', True),
    ('CMake', '3.5.2', '', True)
]

commands =  "cd src && make yes-kokkos && "
32
33
commands += "make yes-user-phonon && make yes-misc && "
commands += "make lib-reax args='-m ifort' && make yes-reax && "
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
commands += "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 && "
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'