diff --git a/easybuild/easyconfigs/p/pmt/pmt-1.3.1-GCCcore-13.3.0-CUDA-12.6.0.eb b/easybuild/easyconfigs/p/pmt/pmt-1.3.1-GCCcore-13.3.0-CUDA-12.6.0.eb new file mode 100644 index 00000000000..695a90190e0 --- /dev/null +++ b/easybuild/easyconfigs/p/pmt/pmt-1.3.1-GCCcore-13.3.0-CUDA-12.6.0.eb @@ -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'