From eb401433885820da4f97311615ee84788cee27e6 Mon Sep 17 00:00:00 2001 From: Lukas Krupcik Date: Mon, 13 Jan 2025 08:28:25 +0100 Subject: [PATCH] new file: a/AOCC/AOCC-5.0.0-GCCcore-14.2.0.eb new file: a/AOCL/AOCL-5.0.0-CCcore-14.2.0.eb new file: m/mayavi/mayavi-4.8.2-foss-2023b.eb new file: p/PyQt5/PyQt5-5.15.11-GCCcore-13.2.0-Python-3.11.5.eb modified: t/TotalView/TotalView-2022.1.11.eb --- a/AOCC/AOCC-5.0.0-GCCcore-14.2.0.eb | 28 ++++++ a/AOCL/AOCL-5.0.0-CCcore-14.2.0.eb | 27 ++++++ m/mayavi/mayavi-4.8.2-foss-2023b.eb | 56 +++++++++++ ...t5-5.15.11-GCCcore-13.2.0-Python-3.11.5.eb | 92 +++++++++++++++++++ t/TotalView/TotalView-2022.1.11.eb | 1 + 5 files changed, 204 insertions(+) create mode 100644 a/AOCC/AOCC-5.0.0-GCCcore-14.2.0.eb create mode 100644 a/AOCL/AOCL-5.0.0-CCcore-14.2.0.eb create mode 100644 m/mayavi/mayavi-4.8.2-foss-2023b.eb create mode 100644 p/PyQt5/PyQt5-5.15.11-GCCcore-13.2.0-Python-3.11.5.eb diff --git a/a/AOCC/AOCC-5.0.0-GCCcore-14.2.0.eb b/a/AOCC/AOCC-5.0.0-GCCcore-14.2.0.eb new file mode 100644 index 00000000..84d06ec7 --- /dev/null +++ b/a/AOCC/AOCC-5.0.0-GCCcore-14.2.0.eb @@ -0,0 +1,28 @@ +# IT4Innovations +# LK 2025 + +name = 'AOCC' +version = '5.0.0' + +homepage = 'https://developer.amd.com/amd-aocc/' +description = "AMD Optimized C/C++ & Fortran compilers (AOCC) based on LLVM 13.0" + +# Clang also depends on libstdc++ during runtime, but this dependency is +# already specified as the toolchain. +toolchain = {'name': 'GCCcore', 'version': '14.2.0'} + +source_urls = ['https://download.amd.com/developer/eula/aocc/aocc-5-0/'] +sources = ['aocc-compiler-%(version)s.tar'] +checksums = ['966fac2d2c759e9de6e969c10ada7a7b306c113f7f1e07ea376829ec86380daa'] + +#clangversion = '17.0.6' +clangversion = '17' + +dependencies = [ + ('binutils', '2.42'), + ('ncurses', '6.5'), + ('zlib', '1.3.1'), + ('libxml2', '2.13.4'), +] + +moduleclass = 'compiler' diff --git a/a/AOCL/AOCL-5.0.0-CCcore-14.2.0.eb b/a/AOCL/AOCL-5.0.0-CCcore-14.2.0.eb new file mode 100644 index 00000000..96b2eaa8 --- /dev/null +++ b/a/AOCL/AOCL-5.0.0-CCcore-14.2.0.eb @@ -0,0 +1,27 @@ +# IT4Innovations +# LK 2025 +# --include-easyblocks=/apps/easybuild/it4i-easyblocks/easyblocks/a/aocl.py + +name = 'AOCL' +version = '5.0.0' + +homepage = 'https://developer.amd.com/amd-aocc/' +description = """AMD provides a free set of thoroughly optimized and threaded math routines for HPC, + scientific, engineering and related compute-intensive applications. ACML is ideal for weather modeling, + computational fluid dynamics, financial analysis, oil and gas applications and more. """ + +toolchain = {'name': 'GCCcore', 'version': '14.2.0'} + +source_urls = ['https://download.amd.com/developer/eula/aocl/aocl-5-0/'] +sources = ['aocl-linux-aocc-%(version)s.tar.gz'] +checksums = ['604ae6c34ef2648504ba08d2f33e42b5a9cf4032eaefaa9253560747ebaeb1ca'] + +dependencies = [ + ('binutils', '2.42'), + ('ncurses', '6.5'), + ('zlib', '1.3.1'), + ('libxml2', '2.13.4'), + ('AOCC', '5.0.0'), +] + +moduleclass = 'numlib' diff --git a/m/mayavi/mayavi-4.8.2-foss-2023b.eb b/m/mayavi/mayavi-4.8.2-foss-2023b.eb new file mode 100644 index 00000000..883bcb3f --- /dev/null +++ b/m/mayavi/mayavi-4.8.2-foss-2023b.eb @@ -0,0 +1,56 @@ +# IT4Innovations +# LK 2025 + +easyblock = 'PythonBundle' + +name = 'mayavi' +version = '4.8.2' + +homepage = 'http://code.enthought.com/projects/mayavi/' +description = """The Mayavi scientific data 3-dimensional visualizer""" + +toolchain = {'name': 'foss', 'version': '2023b'} + +dependencies = [ + ('Python', '3.11.5'), + ('SciPy-bundle', '2023.11'), + ('VTK', '9.3.0'), + ('PyQt5', '5.15.11', '-Python-3.11.5'), +] + +use_pip = True + +sanity_pip_check = True + +exts_list = [ + ('configobj', '5.0.9', { + 'checksums': ['03c881bbf23aa07bccf1b837005975993c4ab4427ba57f959afdd9d1a2386848'], + }), + ('traits', '6.4.3', { + 'checksums': ['a9bbfd9e0c08b7de07e86ef64e69cb96a29c2105a43bf832cd8b162fa1e22f44'], + }), + ('pyface', '8.0.0', { + 'checksums': ['7e13618347b7a648ed20cdbd4fd1a51648f5010291f35e4e0ff1bf70a720cbf8'], + }), + ('traitsui', '8.0.0', { + 'checksums': ['901b9d1cbc45513e00a7397677b098441b28774b688f30a159bad4801bf40364'], + }), + ('apptools', '5.3.0', { + 'checksums': ['30580bf62a0d5dd616edd5e2b9958227633f35cb557c6860452a56809e6bd567'], + }), + ('envisage', '7.0.3', { + 'checksums': ['f7b1af88bf3a8fff2a9ac6e36bb48dea9929e3f612204cfe94aed62b0316c9e3'], + }), + (name, version, { + 'preinstallopts': "export QT_QPA_PLATFORM=offscreen && ", + 'source_tmpl': 'mayavi-%(version)s.tar.gz', + 'checksums': ['b10fe9145f21c48e4902f0e746b3603b3cb694d11456515a46820f21a0a74229'], + }), +] + +sanity_check_paths = { + 'files': ['bin/mayavi2'], + 'dirs': ['lib/python%(pyshortver)s/site-packages'], +} + +moduleclass = 'vis' diff --git a/p/PyQt5/PyQt5-5.15.11-GCCcore-13.2.0-Python-3.11.5.eb b/p/PyQt5/PyQt5-5.15.11-GCCcore-13.2.0-Python-3.11.5.eb new file mode 100644 index 00000000..350a1d85 --- /dev/null +++ b/p/PyQt5/PyQt5-5.15.11-GCCcore-13.2.0-Python-3.11.5.eb @@ -0,0 +1,92 @@ +# IT4Innovations +# LK 2025 + +easyblock = 'Bundle' + +name = 'PyQt5' +version = '5.15.11' +versionsuffix = '-Python-3.11.5' + +homepage = 'https://www.riverbankcomputing.com/software/pyqt' +description = """PyQt5 is a set of Python bindings for v5 of the Qt application framework from The Qt Company. +This bundle includes PyQtWebEngine, a set of Python bindings for The Qt Company’s Qt WebEngine framework.""" + +toolchain = {'name': 'GCCcore', 'version': '13.2.0'} +toolchainopts = {'cstd': 'c++11'} + +builddependencies = [('binutils', '2.40')] +dependencies = [ + ('Python', '3.11.5'), + ('Qt5', '5.15.13'), +] + +default_easyblock = 'PythonPackage' + +local_pylibdir = '%(installdir)s/lib/python%(pyshortver)s/site-packages' + +local_pyqt5_sip_install = "sip-install --verbose --target-dir " + local_pylibdir + " " +local_pyqt5_sip_install += "--confirm-license --no-designer-plugin --no-qml-plugin --no-tools" + +local_pyqtweb_configopts = "configure.py --verbose --destdir=%s/PyQt5 " % local_pylibdir +local_pyqtweb_configopts += "--apidir=%(installdir)s/qsci --pyqt-sipdir=%(builddir)s/PyQt5-%(version)s/sip " +local_pyqtweb_configopts += "--no-stubs --no-dist-info" + +local_setup_env = "export PATH=%(installdir)s/bin:$PATH && " +local_setup_env += "export PYTHONPATH=%(installdir)s/lib/python%(pyshortver)s/site-packages:$PYTHONPATH && " +local_sipver = '6.9.1' +components = [ + ('SIP', local_sipver, { + 'source_urls': [PYPI_SOURCE], + 'sources': [SOURCELOWER_TAR_GZ], + 'checksums': ['7904be5190d7879952563b78a3af0e58fa27d9525af7f53f93eac7a83b433e7b'], + 'start_dir': 'sip-%s' % local_sipver, + 'use_pip': True, + 'options': {'modulename': 'PyQt5.sip'}, + }), + ('PyQt-builder', '1.17.1', { + 'source_urls': [PYPI_SOURCE], + 'sources': ['pyqt_builder-%(version)s.tar.gz'], + 'checksums': ['457dcd6a1408ea4bf1264e3511c734d53451ae8a3905e98982d50f7b3fdab724'], + 'start_dir': 'pyqt_builder-%(version)s', + 'use_pip': True, + }), + ('PyQt5_sip', '12.16.1', { + 'source_urls': [PYPI_SOURCE], + 'sources': [SOURCELOWER_TAR_GZ], + 'checksums': ['8c831f8b619811a32369d72339faa50ae53a963f5fdfa4d71f845c63e9673125'], + 'start_dir': 'pyqt5_sip-%(version)s', + 'use_pip': True, + }), + (name, version, { + 'source_urls': [PYPI_SOURCE], + 'sources': [SOURCE_TAR_GZ], + 'checksums': ['fda45743ebb4a27b4b1a51c6d8ef455c4c1b5d610c90d2934c7802b5c1557c52'], + 'easyblock': 'Binary', + 'start_dir': '%(name)s-%(version)s', + 'skipsteps': ['configure', 'build'], + 'install_cmd': local_setup_env + local_pyqt5_sip_install, + }), + #('PyQtWebEngine', '5.15.7', { + # 'source_urls': [PYPI_SOURCE], + # 'sources': [SOURCE_TAR_GZ], + # 'checksums': ['f121ac6e4a2f96ac289619bcfc37f64e68362f24a346553f5d6c42efa4228a4d'], + # 'start_dir': 'PyQtWebEngine-%(version)s', + # 'use_pip': True, + #}), +] + +sanity_check_paths = { + 'files': ['bin/pyqt-bundle', 'bin/sip-build', 'bin/sip-install'], + 'dirs': ['lib/python%(pyshortver)s/site-packages'], +} + +sanity_check_commands = [ + "python -c 'import PyQt5.QtCore'", +] + +modextrapaths = { + 'PYTHONPATH': 'lib/python%(pyshortver)s/site-packages', + 'QT_INSTALL_DATA': 'qsci', +} + +moduleclass = 'vis' diff --git a/t/TotalView/TotalView-2022.1.11.eb b/t/TotalView/TotalView-2022.1.11.eb index 05470c12..806f8c64 100644 --- a/t/TotalView/TotalView-2022.1.11.eb +++ b/t/TotalView/TotalView-2022.1.11.eb @@ -19,6 +19,7 @@ sources = [ '%(namelower)s_%(version)s_linux_x86-64.tar', # '%(namelower)s_%(version)s-doc.tar', ] +checksums = ['3ec9a7d702572dbbafa41726a036c94b549f9a5911ed6fd6aa55f7b377554bac'] # licensepath license_file = '/apps/licenses/totalview/license.lic'