easyconfigs-it4i/n/NWChem/NWChem-7.0.2-intel-2020a-Python-3.8.2-karolina.eb
Jakub Kropacek 21b441f484 new file: c/CheMPS2/CheMPS2-1.8.9-intel-2020b.eb
new file:   f/FFTW/FFTW-3.3.8-iccifort-2020.4.304.eb
	new file:   g/GSL/GSL-2.6-iccifort-2020.4.304.eb
	new file:   g/GlobalArrays/GlobalArrays-5.8-intel-2020b.eb
	new file:   h/hipify-clang/hipify-clang-4.2.0-gcccuda-2020b.eb
	new file:   n/NWChem/NWChem-7.0.2-intel-2020a-Python-3.8.2-karolina.eb
	modified:   n/NWChem/NWChem-7.0.2-intel-2020a-Python-3.8.2.eb
	new file:   o/OpenMolcas/OpenMolcas-21.06-intel-2020b-Python-3.8.6.eb
	new file:   p/pymatgen/pymatgen-2022.0.12-foss-2020b.eb
	new file:   q/QMCPACK/QMCPACK-3.11.0-intel-2020a-Python-3.8.2.eb
	new file:   v/VASP/VASP-5.4.4-intel-2020a-mkl=sequential-VASPsol-karolina.eb
2021-09-14 09:53:23 +02:00

64 lines
2.6 KiB
Plaintext

# IT4Innovations 2021
# JK
# rucni kompilace - viz https://github.com/nwchemgit/nwchem/blob/master/INSTALL
# src/:
# sed -i "s|-xHost|-core-avx2|g" config/makefile-legacy.h
# sed -i "s|-xHost|-core-avx2|g" config/makefile.h
# make nwchem_config NWCHEM_MODULES="all python"
# make USE_INTERNALBLAS=y USE_MPI=y
#
# zkopirovat data:
# cp bin/nwchem -> bin slozka
# cp -r src/basis/libraries -> data slozka
# cp -r src/data/* -> data slozka
# cp -r src/nwpw/libraryps -> data slozka
# eb NWChem-7.0.2-intel-2020a-Python-3.8.2-karolina.eb --module-only
name = 'NWChem'
version = '7.0.2'
versionsuffix = '-Python-%(pyver)s-karolina'
homepage = 'http://www.nwchem-sw.org'
description = """NWChem aims to provide its users with computational chemistry tools that are scalable both in
their ability to treat large scientific computational chemistry problems efficiently, and in their use of available
parallel computing resources from high-performance parallel supercomputers to conventional workstation clusters.
NWChem software can handle: biomolecules, nanostructures, and solid-state; from quantum to classical, and all
combinations; Gaussian basis functions or plane-waves; scaling from one to thousands of processors; properties
and relativity."""
toolchain = {'name': 'intel', 'version': '2020a'}
toolchainopts = {'i8': True, 'optarch':'march=core-avx2'}
source_urls = ['https://github.com/nwchemgit/nwchem/releases/download/v%(version)s-release/']
sources = ['v%(version)s-release.tar.gz']
patches = [
'NWChem_fix-date.patch',
# 'NWChem-7.0.0_external-ga-peigs-flag.patch',
]
dependencies = [
# ('GlobalArrays', '5.7.2'),
('Python', '3.8.2', '-GCCcore-9.3.0', True),
('OpenMPI', '4.1.1', '-GCC-10.3.0', True)
]
preconfigopts = ' export NWCHEM_TOP=%(builddir)s/nwchem-%(version)s-release && '
preconfigopts += ' touch $NWCHEM_TOP/src/config/nwchem_config.h && '
preconfigopts += ' sed -i "s|-xHost|-core-avx2|g" $NWCHEM_TOP/src/config/makefile-legacy.h && '
preconfigopts += 'sed -i "s|-xHost|-core-avx2|g" $NWCHEM_TOP/src/config/makefile.h && '
preconfigopts += ' make -C "/home/opr0019/.local/easybuild/build/NWChem/7.0.2/intel-2020a-Python-3.8.2/nwchem-7.0.2-release/src" nwchem_config NWCHEM_MODULES="all python" && '
configopts = ' USE_INTERNALBLAS=yes USE_MPI=yes '
buildopts = ' USE_INTERNALBLAS=yes USE_MPI=yes '
modules = 'all python'
moduleclass = 'chem'
# rucni kompilace
# src/:
# sed -i "s|-xHost|-core-avx2|g" config/makefile-legacy.h
# sed -i "s|-xHost|-core-avx2|g" config/makefile.h
# make nwchem_config NWCHEM_MODULES="all python"
# make USE_INTERNALBLAS=y USE_MPI=y