forked from easybuilders/easybuild-easyconfigs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request easybuilders#21711 from sara-nl/20241021161750_new…
…_pr_pmt131 {lib}[GCCcore/13.3.0] pmt v1.3.1 w/ CUDA 12.6.0
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
33 changes: 33 additions & 0 deletions
33
easybuild/easyconfigs/p/pmt/pmt-1.3.1-GCCcore-13.3.0-CUDA-12.6.0.eb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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' |