mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-07 23:42:12 +01:00

new file: g/GDAL/GDAL-2.1.3-Python-2.7.13-without-intel.eb new file: i/ispc/ispc-1.9.1.eb new file: o/OSPRay/OSPRay-1.3.0.eb new file: p/ParaView/ParaView-5.1.2-intel-2017a-mpi-OSPRay.eb new file: p/ParaView/Paraview-5.1.2-intel-2017a-OSPRay.eb new file: s/Sen2Cor/Sen2Cor-2.3.1-Python-2.7.13.eb new file: s/Sen2Cor/Sen2Cor-2.3.1-Python-2.7.13.patch new file: v/VASP/VASP-5.4.4-intel-2017a-03.eb modified: v/VASP/VASP-5.4.4-intel-2017a.eb
49 lines
1.5 KiB
Plaintext
49 lines
1.5 KiB
Plaintext
easyblock = 'MakeCp'
|
|
|
|
name = 'VASP'
|
|
version = '5.4.4'
|
|
versionsuffix = '-O3'
|
|
|
|
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': 'intel', 'version': '2017a'}
|
|
toolchainopts = {'pic': True, 'usempi': True}
|
|
|
|
# Vasp is proprietary software, see http://www.vasp.at/index.php/faqs on how to get access to the code
|
|
sources = ['%s.%s.tar.gz' % (name.lower(), version)]
|
|
|
|
dependencies = [
|
|
('FFTW', '3.3.6'),
|
|
('zlib', '1.2.11', '', True),
|
|
]
|
|
|
|
prebuildopts = 'cp arch/makefile.include.linux_intel ./makefile.include && '
|
|
|
|
# path to libfftw3xf_intel.a is hardcoded in makefile.include
|
|
prebuildopts += 'sed -i "s|\$(MKLROOT)/interfaces/fftw3xf|\$(FFTW_LIB_DIR)|" makefile.include && '
|
|
|
|
# remove mkl flag to prevent mixing dynamic libs with the static libs in LIBBLACS/SCALAPACK
|
|
prebuildopts += 'sed -i "s|-mkl=sequential||" makefile.include && '
|
|
|
|
# change -O2 to -O3
|
|
prebuildopts += 'sed -i "s|-O2|-O3|" makefile.include && '
|
|
|
|
# VASP uses LIBS as a list of folders
|
|
prebuildopts += 'unset LIBS && '
|
|
|
|
buildopts = 'all BLACS="$LIBBLACS" SCALAPACK="$LIBSCALAPACK"'
|
|
|
|
parallel = 1
|
|
|
|
files_to_copy = [(['bin/vasp_std', 'bin/vasp_gam', 'bin/vasp_ncl'], 'bin')]
|
|
|
|
sanity_check_paths = {
|
|
'files': ['bin/vasp_std', 'bin/vasp_gam', 'bin/vasp_ncl'],
|
|
'dirs': []
|
|
}
|
|
|
|
moduleclass = 'phys'
|