easyconfigs-it4i/q/QMCPACK/QMCPACK-3.13.0-intel-2021a-Python-3.9.5.eb
Lukas Krupcik 46ede8169c new file: a/apex/apex-20210420-fosscuda-2020b.eb
new file:   g/git-lfs/git-lfs-3.1.2.eb
	new file:   h/h5py/h5py-3.2.1-intel-2021a.eb
	new file:   l/libcint/libcint-4.4.0-intel-2020b.eb
	new file:   m/mpi4py/mpi4py-3.1.3-foss-2020b-Python-3.8.6.eb
	new file:   m/mpi4py/mpi4py-3.1.3-foss-2021a-Python-3.9.5.eb
	new file:   m/mpi4pyscf/mpi4pyscf-0.3.1-foss-2021a-Python-3.9.5.eb
	new file:   m/mpi4pyscf/mpi4pyscf-0.3.1.tar.gz
	new file:   o/obspy/obspy-1.3.0-fosscuda-2020b.eb
	new file:   p/PROJ/PROJ-8.0.1-GCCcore-10.2.0.eb
	new file:   p/PillowSIMD/Pillow-SIMD-7.1.2-GCCcore-10.2.0.eb
	new file:   p/PySCF/PySCF-2.0.1-foss-2021a.eb
	new file:   p/PySCF/PySCF-2.0.1-intel-2020b.eb.broken
	new file:   p/pyproj/pyproj-3.0.1-GCCcore-10.2.0.eb
	new file:   q/QMCPACK/QMCPACK-3.12.0-intel-2020b-Python-3.8.6.eb.old
	new file:   q/QMCPACK/QMCPACK-3.13.0-foss-2021a-Python-3.9.5.eb.broken
	modified:   q/QMCPACK/QMCPACK-3.13.0-intel-2020b-Python-3.8.6.eb
	new file:   q/QMCPACK/QMCPACK-3.13.0-intel-2021a-Python-3.9.5.eb
	new file:   s/scikit-learn/scikit-learn-0.23.2-fosscuda-2020b.eb
	new file:   t/TotalView/TotalView-2022.1.11.eb
	new file:   t/torchaudio/torchaudio-0.10.0-fosscuda-2020b-Python-3.8.6-PyTorch-1.10.0.eb
	new file:   t/torchvision/torchvision-0.11.3-fosscuda-2020b-PyTorch-1.10.0.eb
	new file:   v/VASP/VASP-6.3.0-VTST-fix.patch
	new file:   v/VASP/VASP-6.3.0-intel-2021b-mkl=sequential-march=znver3-karolina.eb
	new file:   v/VASP/VASP-6.3.1-intel-2020b-mkl=sequential-vtst-karolina.eb
	deleted:    q/QMCPACK/QMCPACK-3.12.0-intel-2020b-Python-3.8.6.eb
	deleted:    v/VASP/VASP-6.3.0-intel-2020b-mkl=sequential-march=znver3-karolina.eb
2022-04-14 15:20:32 +02:00

71 lines
2.7 KiB
Plaintext

# IT4Innovations 2022
# JK
easyblock = 'CMakeMake'
name = 'QMCPACK'
version = '3.13.0'
versionsuffix = "-Python-%(pyver)s-test"
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': 'intel', 'version': '2021a'}
import os
if os.environ.get("CLUSTERNAME") in ["KAROLINA"]:
toolchainopts = {'opt': True, 'pic': True, 'usempi': 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, 'usempi': True}
source_urls = ['https://github.com/QMCPACK/qmcpack/archive/']
sources = ['v%(version)s.tar.gz']
builddependencies = [('CMake', '3.20.1', '', True),]
# odstran z module file GCC 9.3.0 - rovnak na intel
dependencies = [
('libxml2', '2.9.10'),
('Boost', '1.76.0', '', ('GCC','10.3.0')),
('HDF5', '1.10.7', '', ('iimpi', '2021a')),
('Python', '3.9.5'),
('h5py', '3.2.1'),
('SciPy-bundle', '2021.05'),
('FFTW', '3.3.8', '', True),
('PySCF', '2.0.1'),
# ('GCC', '9.3.0', '', True),
]
separate_build_dir = True
configopts = ' -DENABLE_SOA=1 '
configopts += ' -DCMAKE_C_COMPILER=mpicc -DCMAKE_CXX_COMPILER=mpicxx '
configopts += ' -DHDF5_PREFER_PARALLEL=1 -DENABLE_PHDF5=1 '
configopts += ' -DQMC_SYMLINK_TEST_FILES=0 '
configopts += ' -DCMAKE_BUILD_TYPE=Release '
configopts += ' -DQMC_OMP=ON '
configopts += ' -DCMAKE_INSTALL_PREFIX=%(installdir)s'
configopts += ' -DINSTALL_NEXUS=ON '
configopts += ' -DBUILD_UNIT_TESTS=ON -DBUILD_MICRO_BENCHMARKS=ON '
configopts += ' -DBUILD_AFQMC=ON ' # FCIQMC fails
# prekopiruje nexus knihovny o kterych install file tvrdi, ze nejsou potreba
# ale evidentne to bez nich nejede
preinstallopts = [
' mkdir -p %(installdir)s/nexus && ',
' mkdir -p %(installdir)s/QMCTools && ',
' cp -r %(builddir)s/qmcpack-%(version)s/nexus %(installdir)s/ && ',
' cp %(builddir)s/qmcpack-%(version)s/src/QMCTools/*.py %(installdir)s/QMCTools/ && ',
]
modextrapaths = {'PYTHONPATH': ['nexus/lib', 'QMCTools']}
sanity_check_paths = {
'files': ['bin/qmcpack'],
'dirs': ['bin'],
}
moduleclass = 'phys'