From 1f73421fc31e95c6426f0dad3c162dfa9862f923 Mon Sep 17 00:00:00 2001 From: benjamic Date: Wed, 31 Jan 2024 14:25:14 +0100 Subject: [PATCH] adding easyconfigs: pmt-1.2.0-GCCcore-12.3.0-CUDA-12.1.1.eb --- .../pmt-1.2.0-GCCcore-12.3.0-CUDA-12.1.1.eb | 35 +++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 easybuild/easyconfigs/p/pmt/pmt-1.2.0-GCCcore-12.3.0-CUDA-12.1.1.eb diff --git a/easybuild/easyconfigs/p/pmt/pmt-1.2.0-GCCcore-12.3.0-CUDA-12.1.1.eb b/easybuild/easyconfigs/p/pmt/pmt-1.2.0-GCCcore-12.3.0-CUDA-12.1.1.eb new file mode 100644 index 00000000000..74892696975 --- /dev/null +++ b/easybuild/easyconfigs/p/pmt/pmt-1.2.0-GCCcore-12.3.0-CUDA-12.1.1.eb @@ -0,0 +1,35 @@ +easyblock = 'CMakeMake' + +name = 'pmt' +version = '1.2.0' +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': '12.3.0'} + +builddependencies = [ + ('CMake', '3.26.3'), + ('binutils', '2.40'), +] + +dependencies = [ + ('CUDA', '12.1.1', '', SYSTEM) +] + + +source_urls = ['https://git.astron.nl/RD/pmt/-/archive/%(version)s'] +sources = ['pmt-%(version)s.tar.gz'] +checksums = ['98faf305c60cc4d39d3b8ada1dcb7c87c49bf6f01a3cd2800b413d21d5df1a38'] + +configopts = '-DBUILD_NVML_PMT=1' + +sanity_check_paths = { + 'files': ["bin/Rapl-test"], + 'files': ["bin/NVML-test"], + 'dirs': ["lib", "include"], +} + +moduleclass = 'lib'