Skip to content
Open
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
easyblock = 'PythonBundle'

name = 'PyCUDA'
version = '2025.1.1'
versionsuffix = '-CUDA-%(cudaver)s'

homepage = 'https://mathema.tician.de/software/pycuda'
description = 'PyCUDA lets you access Nvidia’s CUDA parallel computation API from Python.'

toolchain = {'name': 'gfbf', 'version': '2025a'}

builddependencies = [
('Cython', '3.1.1'),
('hatchling', '1.27.0'),
('meson-python', '0.18.0')
]

dependencies = [
('CUDA', '12.8.0', '', SYSTEM),
('Python', '3.13.1'),
('SciPy-bundle', '2025.06'),
('Mako', '1.3.10'),
('PyOpenGL', '3.1.10'),
]


exts_list = [
('pyproject_metadata', '0.9.1', {
'checksums': ['b8b2253dd1b7062b78cf949a115f02ba7fa4114aabe63fa10528e9e1a954a816'],
}),
('siphash24', '1.8', {
'checksums': ['aa932f0af4a7335caef772fdaf73a433a32580405c41eb17ff24077944b0aa97'],
}),
('pytools', '2025.2.2', {
'checksums': ['88ec51d9233b0a2b0935ed7f153457ee70dfd31a5a0ae400f3fc6cdcaf2d43dd'],
}),
(name, version, {
'preinstallopts': './configure.py --cuda-root="$EBROOTCUDA" --cuda-enable-gl && ',
'source_tmpl': '%(namelower)s-%(version)s.tar.gz',
'checksums': ['bab0678d43f469c865f5fe6024f481c781ec51fefe6686acd66c672bfabea34f'],
}),
]

sanity_check_commands = [
'python -c "import pycuda.gl"'
]

moduleclass = 'lang'
34 changes: 34 additions & 0 deletions easybuild/easyconfigs/p/PyOpenGL/PyOpenGL-3.1.10-GCCcore-14.2.0.eb
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
easyblock = 'PythonBundle'

name = 'PyOpenGL'
version = '3.1.10'

homepage = 'http://pyopengl.sourceforge.net'
description = """PyOpenGL is the most common cross platform Python binding to OpenGL and related APIs."""

toolchain = {'name': 'GCCcore', 'version': '14.2.0'}

builddependencies = [
('binutils', '2.42'),
('Cython', '3.1.1'),
]

dependencies = [
('Python', '3.13.1'),
('Mesa', '25.1.3'),
]

exts_list = [
(name, version, {
'modulename': 'OpenGL',
'source_tmpl': '%(namelower)s-%(version)s.tar.gz',
'checksums': ['c4a02d6866b54eb119c8e9b3fb04fa835a95ab802dd96607ab4cdb0012df8335'],
}),
('PyOpenGL-accelerate', version, {
'modulename': 'OpenGL_accelerate',
'source_tmpl': 'pyopengl_accelerate-%(version)s.tar.gz',
'checksums': ['82751c83f0a6f732b8b5923990edc2441d38176a98756b1718e8d6c4379f5a71'],
}),
]

moduleclass = 'vis'