mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-08 07:52:11 +01:00

new file: c/cURL/cURL-7.76.0.eb new file: e/expat/expat-2.2.9.eb new file: f/fontconfig/fontconfig-2.13.93.eb new file: f/freetype/freetype-2.10.4.eb modified: g/gnuplot/gnuplot-5.2.3.eb modified: g/gnuplot/gnuplot-5.2.8.eb new file: h/HDF5/HDF5-1.10.6-foss-2020b-parallel.eb new file: h/HDF5/HDF5-1.10.6-intel-2020b-parallel.eb new file: i/iomkl/iomkl-2020b.eb new file: l/libarchive/libarchive-3.5.1.eb new file: l/libgd/libgd-2.3.1.eb new file: l/libjpeg-turbo/libjpeg-turbo-2.0.6.eb modified: l/libsndfile/libsndfile-1.0.28.eb modified: m/mkl/mkl-2020.0.166.eb new file: m/mkl/mkl-2020.4.304.eb new file: n/NASM/NASM-2.15.05.eb new file: o/Octave/Octave-6.3.0-intel-2020b-without-X11.eb new file: p/ParMETIS/ParMETIS-4.0.3-foss-2020b.eb new file: p/ParMETIS/ParMETIS-4.0.3-intel-2020b.eb new file: u/util-linux/util-linux-2.36.eb modified: v/VASP/VASP-6.2.1-intel-2020b-mkl=sequential-karolina.eb new file: v/VirtualGL/VirtualGL-2.6.5-GCC-10.3.0.eb new file: x/XZ/XZ-5.2.5.eb
68 lines
2.5 KiB
Plaintext
68 lines
2.5 KiB
Plaintext
# IT4Innovations 2021
|
|
# LK
|
|
|
|
easyblock = 'MakeCp'
|
|
|
|
name = 'VASP'
|
|
version = '6.2.1'
|
|
versionsuffix = '-mkl=sequential'
|
|
|
|
homepage = 'http://www.vasp.at'
|
|
description = """The Vienna Ab initio Simulation Package (VASP) is a local_computer program for atomic scale
|
|
materials modelling, e.g. electronic structure calculations and quantum-mechanical molecular dynamics,
|
|
from first principles.
|
|
|
|
To use VASP, You need academic licenses from University of Wiena. Follow the instructions https://www.vasp.at/index.php/faqs.
|
|
|
|
Then send us please a list of authorized users and their ID for which you need this access. Please use only http://support.it4i.cz/rt. We are responsible to verify your licenses. After succesfull verification You will be granted to use VASP in our enviroment."""
|
|
|
|
toolchain = {'name': 'intel', 'version': '2020b'}
|
|
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.tgz']
|
|
|
|
prebuildopts = 'cp arch/makefile.include.linux_intel ./makefile.include && '
|
|
|
|
# AMD/intel cpu
|
|
import os
|
|
if os.environ.get("CLUSTERNAME") in ["KAROLINA"]:
|
|
prebuildopts += 'sed -i "s|-xHOST|-march=core-avx2|" 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 && '
|
|
|
|
# OFLAG = -O2 -xAVX
|
|
prebuildopts += 'sed -i "s|OFLAG = -O2|OFLAG = -O3 -ip -march=znver2|" 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 && '
|
|
|
|
prebuildopts += 'sed -i "s|FFLAGS = -assume byterecl -w|FFLAGS = -FR -assume byterecl|" makefile.include && '
|
|
prebuildopts += 'sed -i "s|BLAS =|BLAS = -mkl=sequential|" makefile.include && '
|
|
|
|
# VASP uses LIBS as a list of folders
|
|
prebuildopts += 'unset LIBS && '
|
|
|
|
#prebuildopts += 'exit 1'
|
|
|
|
buildopts = 'std gam ncl ' #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': []
|
|
}
|
|
|
|
modluafooter = 'add_property("state","license")'
|
|
|
|
moduleclass = 'phys'
|