modified: l/LAMMPS/LAMMPS-20181212-intel-2017c.eb

new file:   l/LAMMPS/LAMMPS-20181212-lompstub.patch
	modified:   l/LAMMPS/LAMMPS-20190218-intel-2017c.eb
This commit is contained in:
Lukáš Krupčík 2019-03-27 12:59:00 +01:00
parent 1b5b7c4c21
commit f616b0001f
3 changed files with 24 additions and 8 deletions

View File

@ -15,23 +15,29 @@ meso, or continuum scale.
"""
toolchain = {'name': 'intel', 'version': '2017c'}
toolchainopts = {'pic': True, 'usempi': True}
source_urls = ['https://github.com/lammps/lammps/archive']
sources = ['stable_12Dec2018.tar.gz']
patches = ['LAMMPS-20181212-lompstub.patch']
dependencies = [
('tbb', '2017.6.196', '', True),
('gperftools', '2.7', '', True),
]
builddependencies = [
('Python', '2.7.13', '-base', True),
('CMake', '3.5.2', '', True),
('Py', '3.6', '', True),
('CMake', '3.13.1', '', True),
]
commands = "cd src && make yes-kokkos && "
commands += "make yes-user-phonon && make yes-misc && "
commands += "make lib-reax args='-m ifort' && make yes-reax && "
commands = "cd src && export LC_ALL='en_US.utf8' && "
commands += "make lib-reax args='-m ifort' && "
commands += "make lib-meam args='-m ifort' && "
commands += "make yes-reax && make yes-meam && "
commands += "make yes-kokkos && "
commands += "make yes-user-phonon && make yes-misc && make yes-user-meamc && "
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 && "

View File

@ -0,0 +1,9 @@
--- lib/meam/Makefile.lammps.ifort.orig 2019-03-25 11:59:27.158597104 +0100
+++ lib/meam/Makefile.lammps.ifort 2019-03-25 11:59:37.421618041 +0100
@@ -1,5 +1,5 @@
# Settings that the LAMMPS build will import when this package library is used
meam_SYSINC =
-meam_SYSLIB = -lifcore -lsvml -lompstub -limf
+meam_SYSLIB = -lifcore -lsvml -limf
meam_SYSPATH = -L/opt/intel/fce/10.0.023/lib

View File

@ -29,10 +29,11 @@ builddependencies = [
('CMake', '3.13.1', '', True),
]
commands = "cd src && make yes-kokkos && "
# deprecated MEAM, REAX
commands = "cd src && "
commands += "make yes-kokkos && make yes-user-meamc && "
commands += "make yes-user-phonon && make yes-misc && "
commands += "make lib-reax args='-m ifort' && make yes-reax && "
commands += "make lib-meam args='-m ifort' && "
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 && "