new file: a/ANSYS/ANSYS-22.2-intel-2022a-test.eb

new file:   a/awscli/awscli-1.27.75-GCCcore-12.2.0-Python-3.10.8.eb
	new file:   i/iompi/iompi-2020b-test.eb
	modified:   l/libnsl/libnsl-1.3.0-GCCcore-10.3.0.eb
	new file:   l/libnsl/libnsl-2.0.0-GCCcore-11.3.0.eb
	new file:   o/OSU-Micro-Benchmarks/OSU-Micro-Benchmarks-5.7.1-iompi-2020b.eb
	new file:   o/OpenMPI/OpenMPI-4.0.5-iccifort-2020.4.304-test.eb
	new file:   p/PyYAML/PyYAML-5.4.1.1-GCCcore-12.2.0.eb
	new file:   r/rclone/rclone-1.61.1.eb
	new file:   s/s3cmd/s3cmd-2.3.0-GCCcore-12.2.0-Python-3.10.8.eb
	new file:   v/VirtualGL/VirtualGL-3.0-GCC-11.3.0.eb
	modified:   x/XALT/XALT-2.10.45-eb.eb
This commit is contained in:
Lukas Krupcik 2023-02-21 14:48:08 +01:00
parent 8a38c7c737
commit df0af48ed0
12 changed files with 419 additions and 1 deletions

View File

@ -0,0 +1,29 @@
# IT4Innovations 2023
# JK LK
name = 'ANSYS'
version = '22.2'
versionsuffix = '-test'
homepage = 'http://www.ansys.com'
description = """ANSYS simulation software enables organizations to confidently predict
how their products will operate in the real world. We believe that every product is
a promise of something greater. """
toolchain = {'name': 'intel', 'version': '2022a'}
# create a zip file from the 3 install iso files.
# make sure all files of the iso's are in the same directory.
sources = ['ANSYS-22.2.tar.gz']
checksums = ['51bf1ef35347b00d61675911095c0d65c1571d8d30782c14e320ec545e9cf0a7']
dependencies = [
('libGLU', '9.0.2'),
('libnsl', '2.0.0'),
]
import os
license_server = os.getenv('EB_ANSYS_LICENSE_SERVER', '10.5.8.13')
license_server_port = os.getenv('EB_ANSYS_LICENSE_SERVER_PORT', '2325:1055')
moduleclass = 'tools'

View File

@ -0,0 +1,59 @@
# IT4Innovations
# LK 2023
easyblock = 'PythonBundle'
name = 'awscli'
version = '1.27.75'
versionsuffix = '-Python-%(pyver)s'
homepage = 'https://pypi.python.org/pypi/awscli'
description = 'Universal Command Line Environment for AWS'
toolchain = {'name': 'GCCcore', 'version': '12.2.0'}
builddependencies = [
('binutils', '2.39'),
]
dependencies = [
('Python', '3.10.8'),
('PyYAML', '5.4.1.1'),
]
use_pip = True
exts_list = [
('colorama', '0.4.4', {
'checksums': ['5941b2b48a20143d2267e95b1c2a7603ce057ee39fd88e7329b0c292aa16869b'],
}),
('s3transfer', '0.6.0', {
'checksums': ['2ed07d3866f523cc561bf4a00fc5535827981b117dd7876f036b0c1aca42c947'],
}),
('rsa', '4.7', {
'checksums': ['69805d6b69f56eb05b62daea3a7dbd7aa44324ad1306445e05da8060232d00f4'],
}),
('docutils', '0.16', {
'checksums': ['c2de3a60e9e7d07be26b7f2b00ca0309c207e06c100f9cc2a94931fc75a478fc'],
}),
('botocore', '1.29.75', {
'checksums': ['eef47ca90d02dbc92296208e24ac5e02bdf5cfa45f10d160fdc19612e141bce2'],
}),
('jmespath', '1.0.1', {
'checksums': ['90261b206d6defd58fdd5e85f478bf633a2901798906be2ad389150c5c60edbe'],
}),
(name, version, {
'checksums': ['4ddceb061e6dbdc313cf2c9ff36e16324605f8a94c30fb334aef81a7a0766482'],
}),
]
sanity_pip_check = True
sanity_check_commands = ["aws help"]
sanity_check_paths = {
'files': ['bin/aws'],
'dirs': ['lib/python%(pyshortver)s/site-packages/'],
}
moduleclass = 'tools'

View File

@ -0,0 +1,22 @@
# IT4Innovations 2023
# JK
easyblock = "Toolchain"
name = 'iompi'
version = '2020b'
versionsuffix = '-test'
homepage = 'https://software.intel.com/en-us/intel-cluster-toolkit-compiler/'
description = """Intel C/C++ and Fortran compilers, alongside Open MPI."""
toolchain = SYSTEM
local_compver = '2020.4.304'
dependencies = [
('iccifort', local_compver),
('OpenMPI', '4.0.5', versionsuffix, ('iccifort', local_compver)),
]
moduleclass = 'toolchain'

View File

@ -1,3 +1,6 @@
# IT4Innovations 2023
# JK
easyblock = 'ConfigureMake'
name = 'libnsl'

View File

@ -0,0 +1,36 @@
# IT4Innovations 2023
# JK
easyblock = 'ConfigureMake'
name = 'libnsl'
version = '2.0.0'
homepage = 'https://github.com/thkukuk/libnsl'
description = """The libnsl package contains the public client interface for NIS(YP)."""
toolchain = {'name': 'GCCcore', 'version': '11.3.0'}
source_urls = ['https://github.com/thkukuk/%(name)s/releases/download/v%(version)s/']
sources = [SOURCE_TAR_XZ]
checksums = ['2da075ef1893ebdfc5f074f83ac811873dc06fd5c62bc9a4729fd2e27a40341a']
builddependencies = [
('binutils', '2.38'),
]
dependencies = [
('libtirpc', '1.3.2'),
]
# Provide a symlink for libnsl.so.1, which used to be part of glibc.
# This new version of libnsl should be backwards compatible.
postinstallcmds = ['ln -s libnsl.so %(installdir)s/lib/libnsl.so.1']
sanity_check_paths = {
'files': ['include/rpcsvc/yp.h', 'lib/libnsl.a',
'lib/libnsl.%s' % SHLIB_EXT, 'lib/libnsl.%s.1' % SHLIB_EXT],
'dirs': ['include']
}
moduleclass = 'devel'

View File

@ -0,0 +1,29 @@
# IT4Innovations 2023
# JK
easyblock = 'ConfigureMake'
name = 'OSU-Micro-Benchmarks'
version = '5.7.1'
homepage = 'https://mvapich.cse.ohio-state.edu/benchmarks/'
description = """OSU Micro-Benchmarks"""
toolchain = {'name': 'iompi', 'version': '2020b-test'}
toolchainopts = {'usempi': True}
source_urls = ['https://mvapich.cse.ohio-state.edu/download/mvapich/']
sources = [SOURCELOWER_TGZ]
checksums = ['cb5ce4e2e68ed012d9952e96ef880a802058c87a1d840a2093b19bddc7faa165']
local_benchmark_dirs = [
'libexec/osu-micro-benchmarks/mpi/%s' % x for x in ['collective', 'one-sided', 'pt2pt', 'startup']
]
modextrapaths = {'PATH': local_benchmark_dirs}
sanity_check_paths = {
'files': [],
'dirs': local_benchmark_dirs,
}
moduleclass = 'perf'

View File

@ -0,0 +1,87 @@
# IT4Innovations 2023
# JK
name = 'OpenMPI'
version = '4.0.5'
versionsuffix = '-test'
homepage = 'https://www.open-mpi.org/'
description = """The Open MPI Project is an open source MPI-3 implementation."""
toolchain = {'name': 'iccifort', 'version': '2020.4.304'}
source_urls = ['https://www.open-mpi.org/software/ompi/v%(version_major_minor)s/downloads']
sources = [SOURCELOWER_TAR_GZ]
patches = [
'OpenMPI-4.0.1_remove-pmix-check-in-pmi-switch.patch',
'OpenMPI-4.x_fix_pmix_discovery.patch',
'OpenMPI-4.0.5-6-pml-ucx-datatype-memleak.patch',
]
checksums = [
'572e777441fd47d7f06f1b8a166e7f44b8ea01b8b2e79d1e299d509725d1bd05', # openmpi-4.0.5.tar.gz
# OpenMPI-4.0.1_remove-pmix-check-in-pmi-switch.patch
'a5737061eb9006e862f30019776adf092d800f681272be7f1575e74b4bfa20fb',
'547641fff884c917237d158b0b13bdf387977cf0dddfd7e49e78d5f759a6a31b', # OpenMPI-4.x_fix_pmix_discovery.patch
# OpenMPI-4.0.5-6-pml-ucx-datatype-memleak.patch
'7d8695f0d23453c82638ad33b18e41690274d5c7784291213e98335b42c54578',
]
builddependencies = [
('pkg-config', '0.29.2'),
]
dependencies = [
('zlib', '1.2.11'),
('hwloc', '2.2.0'),
('libevent', '2.1.12'),
('UCX', '1.9.0'),
('libfabric', '1.11.0'),
('PMIx', '3.1.5'),
]
configopts = '--enable-shared --enable-mpi-thread-multiple --with-verbs '
configopts += '--enable-mpirun-prefix-by-default '
configopts += '--with-hwloc=$EBROOTHWLOC ' # hwloc support
configopts += '--with-tm=/opt/pbs ' # Enable PBS
configopts += '--enable-mpi-cxx ' # Enable building the C++ MPI bindings
configopts += '--with-ucx=$EBROOTUCX '
postinstallcmds = [
'echo "# By default, for Open MPI 4.0 and later, infiniband ports on a device are not used by default." >> %(installdir)s/etc/openmpi-mca-params.conf',
'echo "btl_openib_allow_ib = true" >> %(installdir)s/etc/openmpi-mca-params.conf',
]
local_libs = ["mpi_mpifh", "mpi", "ompitrace", "open-pal", "open-rte"]
sanity_check_paths = {
'files': [
"bin/%s" %
binfile for binfile in [
"ompi_info", "opal_wrapper", "orterun"]] + [
"lib/lib%s.%s" %
(libfile, SHLIB_EXT) for libfile in local_libs] + [
"include/%s.h" %
x for x in [
"mpi-ext", "mpif-config", "mpif", "mpi", "mpi_portable_platform"]], 'dirs': [], }
import os
if os.environ.get("CLUSTERNAME") in ["BARBORA"]:
modextravars = {'OMPI_MCA_btl_openib_if_include': 'mlx5_0',
'OMPI_MCA_btl_tcp_if_include': '10.33.4.0/24',
'OMPI_MCA_orte_base_help_aggregate': '0',
}
elif os.environ.get("CLUSTERNAME") in ["KAROLINA"]:
modextravars = {'OMPI_MCA_btl_openib_if_include': 'mlx5_0',
'OMPI_MCA_orte_base_help_aggregate': '0',
}
else:
modextravars = {'OMPI_MCA_btl_openib_if_include': 'mlx4_0',
'OMPI_MCA_oob_tcp_if_include': '10.0.0.0/8',
}
# disable MPI1 compatibility for now, see what breaks...
# configopts = '--enable-mpi1-compatibility '
# to enable SLURM integration (site-specific)
# configopts += '--with-slurm --with-pmi=/usr/include/slurm --with-pmi-libdir=/usr'
moduleclass = 'mpi'

View File

@ -0,0 +1,30 @@
# IT4Innovations
# LK 2023
easyblock = 'PythonPackage'
name = 'PyYAML'
version = '5.4.1.1'
homepage = 'https://github.com/yaml/pyyaml'
description = "PyYAML is a YAML parser and emitter for the Python programming language."
toolchain = {'name': 'GCCcore', 'version': '12.2.0'}
sources = ['https://github.com/yaml/pyyaml/archive/refs/tags/%(version)s.tar.gz']
checksums = ['e79dbaae8d9253aad313ca68cf65193f810260fb44fe0508625c7e9561eb57f2']
builddependencies = [
('binutils', '2.39'),
]
dependencies = [
('Python', '3.10.8'),
('libyaml', '0.2.5'),
]
download_dep_fail = True
sanity_pip_check = True
use_pip = True
options = {'modulename': 'yaml'}
moduleclass = 'lib'

38
r/rclone/rclone-1.61.1.eb Normal file
View File

@ -0,0 +1,38 @@
# IT4Innovations
# LK 2023
easyblock = 'GoPackage'
name = 'rclone'
version = '1.61.1'
homepage = 'https://rclone.org'
description = """
Rclone is a command line program to sync files and directories to and from
a variety of online storage services
"""
toolchain = SYSTEM
source_urls = [GITHUB_SOURCE]
sources = ['v%(version)s.tar.gz']
checksums = ['f9fb7bae1f19896351db64e3713b67bfd151c49b2b28e6c6233adf67dbc2c899']
# rclone 1.61.1 needs at least Go 1.17
builddependencies = [('Go', '1.17.3')]
postinstallcmds = [
"mkdir -p %(installdir)s/share/{doc,man/man1}",
"cp README.* MANUAL.* %(installdir)s/share/doc/",
"cp rclone.1 %(installdir)s/share/man/man1/",
]
sanity_check_paths = {
'files': ['bin/rclone', 'share/doc/README.md', 'share/man/man1/rclone.1'],
'dirs': []
}
sanity_check_commands = ['rclone --version']
moduleclass = 'tools'

View File

@ -0,0 +1,42 @@
# IT4Innovations
# LK 2023
# Je to kravina, ale postup je spustit, pockat az to spadne, spustit s -x, zkopirovat modulefile, pridat do nej
# prepend_path("PYTHONPATH", pathJoin(root, "lib/python3.10/site-packages")), udelat odkaz do tools/s3cmd a je to
easyblock = 'PythonBundle'
name = 's3cmd'
version = '2.3.0'
versionsuffix = '-Python-%(pyver)s'
homepage = 'https://pypi.python.org/pypi/s3cmd'
description = """S3cmd is a free command line tool and client for uploading, retrieving and managing data in Amazon S3 and other cloud storage service providers that use the S3 protocol, such as Google Cloud Storage or DreamHost DreamObjects. It is best suited for power users who are familiar with command line programs. It is also ideal for batch scripts and automated backup to S3, triggered from cron, etc."""
toolchain = {'name': 'GCCcore', 'version': '12.2.0'}
builddependencies = [
('binutils', '2.39'),
]
dependencies = [
('Python', '3.10.8'),
]
use_pip = True
download_dep_fail = True
exts_list = [
('python-magic', '0.4.27', {
'checksums': ['c1ba14b08e4a5f5c31a302b7721239695b2f0f058d125bd5ce1ee36b9d9d3c3b'],
}),
(name, version, {
'checksums': ['15330776e7ff993d8ae0ac213bf896f210719e9b91445f5f7626a8fa7e74e30b'],
}),
]
sanity_check_paths = {
'files': ['bin/s3cmd'],
'dirs': ['lib/python%(pyshortver)s/site-packages/'],
}
moduleclass = 'tools'

View File

@ -0,0 +1,43 @@
# IT4Innovations 2023
# JK
easyblock = 'CMakeMake'
name = 'VirtualGL'
version = '3.0'
homepage = 'https://virtualgl.org/'
description = """VirtualGL is an open source toolkit that gives any Linux or
Unix remote display software the ability to run OpenGL applications with full
hardware acceleration."""
toolchain = {'name': 'GCC', 'version': '11.3.0'}
source_urls = ['https://github.com/VirtualGL/virtualgl/archive/']
sources = ['%(version)s.tar.gz']
checksums = ['d6e00a8d0596cafa67955d6211e0dab6c8aa8239bd718f7eca6eb0b032711f9b']
builddependencies = [
('CMake', '3.20.1', '', True),
('binutils', '2.38'),
]
dependencies = [
('libjpeg-turbo', '2.1.3'),
('Mesa', '22.0.3'),
('libGLU', '9.0.2'),
('pocl', '1.8'),
]
local_binaries = [
'cpustat', 'glreadtest', 'glxinfo', 'glxspheres64', 'nettest', 'tcbench',
'vglclient', 'vglconfig', 'vglconnect', 'vglgenkey', 'vgllogin', 'vglrun',
'vglserver_config'
]
sanity_check_paths = {
'files': ['bin/%s' % x for x in local_binaries],
'dirs': ['lib64', 'share', 'include'],
}
moduleclass = 'vis'

View File

@ -34,7 +34,7 @@ syshost = "env_var:CLUSTERNAME"
# file, or use 'eb --try-amend=transmission=<string>'. See
# https://xalt.readthedocs.io/en/latest/020_site_configuration.html
# for more information.
transmission = "file"
transmission = "syslog"
# Additional options
executable_tracking = True