mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-18 12:40:58 +01:00

deleted: c/CASTEP/CASTEP-25.12-foss-2023b.eb new file: c/CASTEP/CASTEP-25.12-intel-2024a.eb new file: n/NCCL/NCCL-2.21.5-GCCcore-14.2.0-CUDA-12.8.0.eb modified: n/NVHPC/NVHPC-24.9-CUDA-12.6.0.eb new file: n/NVHPC/NVHPC-25.3-CUDA-12.8.0.eb new file: o/OpenMPI/OpenMPI-5.0.7-25.3-CUDA-12.8.0.eb new file: o/OpenMPI/OpenMPI-5.0.7-GCC-14.2.0.eb new file: u/UCC-CUDA/UCC-CUDA-1.3.0-GCCcore-14.2.0-CUDA-12.8.0.eb deleted: u/UCC/UCC-1.3.0-GCCcore-14.2.0.eb new file: v/VASP/VASP-6.5.1-NVHPC-24.3-CUDA-12.3.0-adjust-makefile.patch new file: v/VASP/VASP-6.5.1-NVHPC-24.3-CUDA-12.3.0.eb new file: v/VASP/VASP-6.5.1-intel-2024a.eb new file: v/VASP/VASP-6.5.1-intel-hdf5.patch
66 lines
2.4 KiB
Plaintext
66 lines
2.4 KiB
Plaintext
# IT4Innovations
|
|
# LK 2025
|
|
|
|
easyblock = 'MakeCp'
|
|
|
|
name = 'VASP'
|
|
version = '6.5.1'
|
|
|
|
homepage = 'http://www.vasp.at'
|
|
docurls = 'https://www.vasp.at/wiki/index.php/The_VASP_Manual'
|
|
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 an academic license from University of Vienna. Follow the instructions at https://www.vasp.at/index.php/faqs.
|
|
|
|
Please send us a list of authorized users and their IDs for which you need access (use only http://support.it4i.cz/rt). We are responsible for verifying your licenses."""
|
|
|
|
toolchain = {'name': 'intel', 'version': '2024a'}
|
|
|
|
# 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']
|
|
patches = ['VASP-%(version)s-intel-hdf5.patch']
|
|
checksums = [
|
|
{'vasp.%(version)s.tgz': 'a53fd9dd2a66472a4aa30074dbda44634fc663ea2628377fc01d870e37136f61'},
|
|
{'VASP-%(version)s-intel-hdf5.patch': '1289ed84508c9e655ba00da623231e48cd773edda1344bdf3ea13e08ae910d9b'},
|
|
]
|
|
|
|
# use serial compilation of W90, see https://www.vasp.at/wiki/index.php/Makefile.include#Wannier90_.28optional.29
|
|
# Important: In case of Wannier90 3.x, you should compile a serial version by removing COMMS=mpi in the make.inc of Wannier90.
|
|
dependencies = [
|
|
('HDF5', '1.14.3'),
|
|
('Wannier90', '3.1.0', '-serial'),
|
|
]
|
|
|
|
prebuildopts = 'cp arch/makefile.include.intel ./makefile.include && '
|
|
|
|
# AMD/Intel CPU switch - We set xHost by default; change it to -march=core-avx2 when necessary
|
|
import os
|
|
if os.environ.get("CLUSTERNAME") in ["KAROLINA"]:
|
|
prebuildopts += 'sed -i "s|-xHOST|-march=core-avx2|" makefile.include && '
|
|
prebuildopts += 'sed -i "s|-march=xHost|-march=core-avx2|" makefile.include && '
|
|
|
|
# Fix icc vs icx
|
|
prebuildopts += 'sed -i "s|CC_LIB = icc|CC_LIB = icx|" makefile.include && '
|
|
|
|
# Fix icpc vs icpx
|
|
prebuildopts += 'sed -i "s|CXX_PARS = icpc|CXX_PARS = icpx|" makefile.include && '
|
|
|
|
# VASP uses LIBS as a list of folders
|
|
prebuildopts += 'unset LIBS && '
|
|
|
|
buildopts = 'std gam ncl '
|
|
|
|
max_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 = 'chem'
|