Skip to content
Snippets Groups Projects
Commit 0b943a21 authored by Sebastian Achilles's avatar Sebastian Achilles
Browse files

Merge branch 'sa-Nsight-Compute_Nsight-Systems' into '2023'

{tools}[GCCcore/11.3.0] Nsight-Compute v2023.1.0, Nsight-Systems v2023.2.1

See merge request software-team/easybuild!1856
parents b4b2a0f2 c62ae201
Branches
No related tags found
No related merge requests found
# jg (CSCS)
# AH (JSC)
easyblock = 'Binary'
name = 'Nsight-Compute'
version = '2023.1.0'
homepage = 'https://developer.nvidia.com/nsight-compute'
description = 'NVIDIA Nsight Compute is an interactive kernel profiler for CUDA applications'
toolchain = {'name': 'GCCcore', 'version': '11.3.0'}
# Download source binary package manually, requires Nvidia Developer Account
# source_urls = 'https://developer.nvidia.com/nsight-compute'
sources = [{
'filename': 'nsight-compute-linux-%(version)s.16-32451174.run',
'extract_cmd': '/bin/sh %s'
}]
checksums = ['3daa4906f8d878590a462839b3f9dc642ebe6070e6ac145bd36198b7c6309c99']
# Not really necessary, but useful if we use this as a template for another package
builddependencies = [
('binutils', '2.38'),
]
dependencies = [
('X11', '20220504')
]
extract_sources = True
unpack_options = '--nochown --noexec --nox11 --target %(builddir)s'
install_cmd = 'cp -r %(builddir)s/pkg/* %(installdir)s/'
# Workaround due to wrong permissions once the files are extracted from the .run file
postinstallcmds = [
'find %(installdir)s -type f -and -executable -and ! -name "lib*" -exec chmod go+x {} \;']
sanity_check_paths = {
'files': ['ncu-ui', 'ncu'],
'dirs': ['docs', 'extras', 'host', 'sections', 'target']
}
modluafooter = """
add_property("arch","gpu")
"""
moduleclass = 'tools'
# jg (CSCS)
# AH (JSC)
easyblock = 'Binary'
name = 'Nsight-Systems'
version = '2023.2.1'
homepage = 'https://developer.nvidia.com/nsight-systems'
description = 'NVIDIA Nsight Systems is a system-wide performance analysis tool'
# GCCcore toolchain is not strictly necessary, but used to bring it to same level as Nsight Compute
toolchain = {'name': 'GCCcore', 'version': '11.3.0'}
# Download source binary package manually, requires Nvidia Developer Account
# source_urls = 'https://developer.nvidia.com/nsight-systems'
sources = [{
'filename': 'NsightSystems-linux-public-%(version)s.122-3259852.run',
'extract_cmd': '/bin/sh %s'
}]
checksums = ['894a8a6bb08b1314eec41309a3c56386a4929ba58914278e49fa9a5fd2724f89']
dependencies = [
('X11', '20220504')
]
extract_sources = True
unpack_options = '--accept --nochown --noexec --nox11 --target %(builddir)s'
install_cmd = 'cp -r %(builddir)s/pkg/* %(installdir)s/'
sanity_check_paths = {
'files': ['bin/nsys'],
'dirs': ['target-linux-x64', 'host-linux-x64']
}
modextravars = {
'NSIGHT_DOC': '%(installdir)s/documentation/nsys-exporter'
}
modluafooter = """
add_property("arch","gpu")
"""
moduleclass = 'tools'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment