easyconfigs-it4i/q/QMCPACK/QMCPACK-3.11.0-AOCC-3.1.0-OpenMPI-4.1.1-Python-3.8.6.eb
Jakub Kropacek d94880541d new file: a/OAMD/OAMD-2021a.eb
new file:   d/DFTB+/DFTB+-21.1-intel-2020b-Python-3.8.6-karolina.eb
	new file:   h/HDF5/HDF5-1.10.6-OAMD-2021a-parallel.eb
	new file:   h/h5py/h5py-3.1.0-intel-2020b.eb
	modified:   m/MATLAB/MATLAB-2021a.eb
	new file:   o/OpenMPI/OpenMPI-4.0.6-NVHPC-21.9-CUDA-11.4.1-v2.eb
	new file:   q/QMCPACK/QMCPACK-3.11.0-AOCC-3.1.0-OpenMPI-4.1.1-Python-3.8.6.eb
	new file:   s/SciPy-bundle/SciPy-bundle-2020.11-AOCC-3.1.0.eb
	new file:   s/Szip/Szip-2.1.1-OAMD-2021a.eb
	new file:   z/zlib/zlib-1.2.11-OAMD-2021a.eb
2021-10-19 15:45:45 +02:00

60 lines
2.2 KiB
Plaintext

# IT4Innovations 2021
# JK2021
easyblock = 'CMakeMake'
name = 'QMCPACK'
version = '3.11.0'
versionsuffix = "-AOCC-3.1.0-OpenMPI-4.1.1-Python-%(pyver)s"
homepage = "https://qmcpack.org/"
description = """QMCPACK, is a modern high-performance open-source Quantum Monte Carlo (QMC) simulation code. Its main applications are electronic structure calculations of molecular, quasi-2D and solid-state systems. Variational Monte Carlo (VMC), diffusion Monte Carlo (DMC) and a number of other advanced QMC algorithms are implemented. Orbital space auxiliary field QMC (AFQMC) has recently been added. By directly solving the Schrodinger equation, QMC methods offer greater accuracy than methods such as density functional theory, but at a trade-off of much greater local_computational expense.
"""
toolchain = {'name': 'GCC', 'version': '10.2.0'}
import os
if os.environ.get("CLUSTERNAME") in ["KAROLINA"]:
toolchainopts = {'opt': True, 'pic': True, 'optarch': 'march=core-avx2'}
# prebuildopts = "echo %(builddir)s && while read i; do echo $i; sed 's|-xHost|-march=core-avx2|g' -i $i; done < <(grep xHost %(builddir)s -R | cut -d ':' -f 1 | sort -u) &&"
else:
toolchainopts = {'opt': True, 'pic': True, }
source_urls = ['https://github.com/QMCPACK/qmcpack/archive/']
sources = ['v%(version)s.tar.gz']
builddependencies = [('CMake', '3.20.1', '', True)]
dependencies = [
('AOCC', '3.1.0'),
('AOCL', '3.0.1', '-AOCC-3.1.0', True),
('OpenMPI', '4.1.1', '-AOCL-3.0.1-AOCC-3.1.0'),
('libxml2', '2.9.10'),
('Boost', '1.74.0'),
('HDF5', '1.10.6', '-AOCC-3.1.0-parallel'),
('Python', '3.8.6'),
('h5py', '3.1.0', '-AOCC-3.1.0-OpenMPI-4.1.1', True),
('SciPy-bundle', '2020.11', '-AOCC-3.1.0', True),
# ('GCC', '9.3.0', '', True), # obejití podmínky GCC 9.3.0
]
separate_build_dir = True
configopts = ' -DENABLE_SOA=1 '
# prekopiruje nexus knihovny o kterych install file tvrdi, ze nejsou potreba
# ale evidentne to bez nich nejede
preinstallopts = [
' mkdir -p %(installdir)s/nexus && ',
' cp -r %(builddir)s/qmcpack-%(version)s/nexus/lib %(installdir)s/nexus/lib && ',
]
# prida nexus knihovny do PYTHONPATH
modextrapaths = {'PYTHONPATH': 'nexus/lib'}
sanity_check_paths = {
'files': ['bin/qmcpack'],
'dirs': ['bin'],
}
moduleclass = 'phys'