Skip to content

Commit

Permalink
Merge pull request easybuilders#21711 from sara-nl/20241021161750_new…
Browse files Browse the repository at this point in the history
…_pr_pmt131

{lib}[GCCcore/13.3.0] pmt v1.3.1 w/ CUDA 12.6.0
  • Loading branch information
smoors authored Nov 17, 2024
2 parents bd23505 + fdd8fbe commit 9dbad71
Showing 1 changed file with 33 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
easyblock = 'CMakeMake'

name = 'pmt'
version = '1.3.1'
versionsuffix = '-CUDA-%(cudaver)s'

homepage = 'https://git.astron.nl/RD/pmt'
description = """PMT is a high-level software library capable of
collecting power consumption measurements on various hardware."""

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

source_urls = ['https://git.astron.nl/RD/pmt/-/archive/%(version)s']
sources = ['pmt-%(version)s.tar.gz']
checksums = ['cf8c669ffb0fda4cb594550fb233f9654252db50671b59147826eadc0a3d5565']

builddependencies = [
('CMake', '3.29.3'),
('binutils', '2.42'),
]

dependencies = [
('CUDA', '12.6.0', '', SYSTEM)
]

configopts = '-DPMT_BUILD_RAPL=1 -DPMT_BUILD_NVML=1 -DPMT_BUILD_NVIDIA=1'

sanity_check_paths = {
'files': ["lib/libpmt.%s" % SHLIB_EXT, "include/pmt/NVIDIA.h", "include/pmt/Rapl.h", "include/pmt/NVML.h"],
'dirs': ["lib", "include"],
}

moduleclass = 'lib'

0 comments on commit 9dbad71

Please sign in to comment.