easyconfigs-it4i/v/VASP/VASP-5.4.4-intel-2017a-mkl=paralel.eb
Lukáš Krupčík 2ff45ecc5d new file: e/Embree/Embree-intel-2017a.eb
modified:   o/OSPRay/OSPRay-1.3.0.eb
	modified:   s/Sen2Cor/Sen2Cor-2.3.1-Python-2.7.13.eb
	new file:   t/tbb/tbb-2017.6.196.eb
	new file:   v/VASP/VASP-5.4.4-intel-2017a-mkl=cluster.eb
	new file:   v/VASP/VASP-5.4.4-intel-2017a-mkl=paralel.eb
	new file:   v/VASP/VASP-5.4.4-intel-2017a-mkl=sequential.eb
	deleted:    e/Embree/Embree-2.16.2.eb
	deleted:    g/GDAL/GDAL-2.1.3-Python-2.7.13-without-intel.eb
2017-06-19 17:16:41 +02:00

55 lines
1.8 KiB
Plaintext

easyblock = 'MakeCp'
name = 'VASP'
version = '5.4.4'
versionsuffix = '-mkl=paralel'
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 = ['%(namelower)s.%(version)s.tar.gz']
checksums = ['8ac646b108f974371eef398973373bf6']
dependencies = [
('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|-mkl=paralel|" makefile.include && '
# OFLAG = -O2 -xAVX
prebuildopts += 'sed -i "s|OFLAG = -O2|OFLAG = -O3 -xAVX|" makefile.include && '
# objects add MKLROOT
prebuildopts += 'sed -i "s|OBJECTS = fftmpiw.o fftmpi_map.o fft3dlib.o fftw3d.o|OBJECTS = fftmpiw.o fftmpi_map.o fft3dlib.o fftw3d.o \$\(MKLROOT\)/lib/intel64_lin/libfftw3xf_intel.a|" makefile.include && '
# VASP uses LIBS as a list of folders
prebuildopts += 'unset LIBS && '
#prebuildopts += 'exit 1'
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'