/
VASP-5.4.4.pl2-cpeGNU-21.08.eb
39 lines (26 loc) · 1.32 KB
/
VASP-5.4.4.pl2-cpeGNU-21.08.eb
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
32
33
34
35
36
37
38
# Based on CSCS VASP easyconfig by Luca Marsella
# Adapted for LUMI by Peter Larsson
easyblock = 'MakeCp'
name = 'VASP'
version = '5.4.4.pl2'
homepage = 'http://www.vasp.at'
description = 'The Vienna Ab initio Simulation Package (VASP) is a computer program for atomic scale materials modelling, e.g. electronic structure calculations and quantum-mechanical molecular dynamics, from first principles.'
toolchain = { 'name': 'cpeGNU', 'version': '21.08' }
toolchainopts = {'usempi': True, 'openmp' : True }
sources = ['vasp.5.4.4.pl2.tgz']
dependencies = [
('Wannier90','3.1.0')
]
# Just copy in fully patched makefile.include
patches = [('makefile.include.%(name)s-%(version)s-%(toolchain_name)s-%(toolchain_version)s','%(builddir)s/%(namelower)s.%(version)s')]
# No checksum for makefile.include to simplify editing and recompiling
checksums = [
'98f75fd75399a23d76d060a6155f4416b340a1704f256a00146f89024035bc8e', # vasp.5.4.4.pl2.tgz
]
prebuildopts = 'mv makefile.include.%(name)s-%(version)s-%(toolchain_name)s-%(toolchain_version)s makefile.include && module load cray-fftw && unset LIBS && '
buildopts = "std gam ncl"
# Parallel building is still not working
parallel = 1
files_to_copy = [(['bin/vasp_std','bin/vasp_gam','bin/vasp_ncl'],'bin')]
sanity_check_paths = { 'files': ['bin/vasp_std'], 'dirs': [] }
moduleclass = 'phys'