mirror of
https://code.it4i.cz/sccs/easyconfigs-it4i.git
synced 2025-04-07 23:42:12 +01:00

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
59 lines
1.8 KiB
Plaintext
59 lines
1.8 KiB
Plaintext
# IT$innovations
|
|
# LK 2021
|
|
|
|
easyblock = 'CMakeMake'
|
|
|
|
name = 'hipify-clang'
|
|
version = '4.2.0'
|
|
|
|
homepage = 'https://github.com/ROCm-Developer-Tools/HIPIFY'
|
|
description = """Hipify-clang is a clang-based tool for translating CUDA
|
|
sources into HIP sources. It translates CUDA source into an abstract syntax
|
|
tree, which is traversed by transformation matchers. After applying all the
|
|
matchers, the output HIP source is produced."""
|
|
|
|
toolchain = {'name': 'gcccuda', 'version': '2020b'}
|
|
import os
|
|
if os.environ.get("CLUSTERNAME") in ["KAROLINA"]:
|
|
toolchainopts = {'optarch': 'march=core-avx2', 'opt': '03'}
|
|
|
|
|
|
source_urls = ['https://github.com/ROCm-Developer-Tools/HIPIFY/archive/refs/tags/']
|
|
sources = ['rocm-%(version)s.tar.gz']
|
|
checksums = ['afdc82ae00e14e8e742be6cd47d8fb120d18fc52fe96cba8d8ac4c56176a432e']
|
|
|
|
builddependencies = [
|
|
('CMake', '3.18.4'),
|
|
('zlib', '1.2.11'),
|
|
]
|
|
|
|
dependencies = [
|
|
('Clang', '11.0.1'),
|
|
('cuDNN', '8.2.1.32', '-CUDA-11.3.1', True),
|
|
# ('Python', '3.8.6'),
|
|
]
|
|
|
|
# NOTE: The following configuration options are needed if building with tests
|
|
# (as activated by 'runtest' below), for these to work the above commented
|
|
# dependencies need to be uncommented. Currently testing is disabled due to a
|
|
# lack of 'llvm-lit'.
|
|
#configopts = '-DHIPIFY_CLANG_TESTS=1'
|
|
#configopts += ' -DCUDA_TOOLKIT_ROOT_DIR=$EBROOTCUDA'
|
|
#configopts += ' -DCUDA_DNN_ROOT_DIR=$EBROOTCUDNN'
|
|
#configopts += ' -DPYTHON_EXECUTABLE=$EBROOTPYTHON/bin/python'
|
|
|
|
# runtest = 'test-hipify'
|
|
|
|
# For some reason the executable is not placed in 'bin'
|
|
postinstallcmds = [
|
|
'mv %(installdir)s/%(namelower)s %(installdir)s/bin/.'
|
|
]
|
|
|
|
sanity_check_commands = [('hipify-clang', '--version')]
|
|
sanity_check_paths = {
|
|
'files': ['bin/%(namelower)s'],
|
|
'dirs': ['include'],
|
|
}
|
|
|
|
moduleclass = 'devel'
|