Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{lib}[GCCcore/13.3.0] pmt v1.3.1 w/ CUDA 12.6.0 #21711

Merged
merged 2 commits into from
Nov 17, 2024

Conversation

benczaja
Copy link
Contributor

(created using eb --new-pr)

@smoors smoors added the update label Nov 17, 2024
Copy link

Updated software pmt-1.3.1-GCCcore-13.3.0-CUDA-12.6.0.eb

Diff against pmt-1.2.0-GCCcore-12.3.0-CUDA-12.1.1.eb

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.3.1-GCCcore-13.3.0-CUDA-12.6.0.eb
index 4d46849355..695a90190e 100644
--- 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.3.1-GCCcore-13.3.0-CUDA-12.6.0.eb
@@ -1,32 +1,32 @@
 easyblock = 'CMakeMake'
 
 name = 'pmt'
-version = '1.2.0'
+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': '12.3.0'}
+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 = ['98faf305c60cc4d39d3b8ada1dcb7c87c49bf6f01a3cd2800b413d21d5df1a38']
+checksums = ['cf8c669ffb0fda4cb594550fb233f9654252db50671b59147826eadc0a3d5565']
 
 builddependencies = [
-    ('CMake', '3.26.3'),
-    ('binutils', '2.40'),
+    ('CMake', '3.29.3'),
+    ('binutils', '2.42'),
 ]
 
 dependencies = [
-    ('CUDA', '12.1.1', '', SYSTEM)
+    ('CUDA', '12.6.0', '', SYSTEM)
 ]
 
-configopts = '-DBUILD_NVML_PMT=1'
+configopts = '-DPMT_BUILD_RAPL=1 -DPMT_BUILD_NVML=1 -DPMT_BUILD_NVIDIA=1'
 
 sanity_check_paths = {
-    'files': ["bin/Rapl-test", "bin/NVML-test"],
+    'files': ["lib/libpmt.%s" % SHLIB_EXT, "include/pmt/NVIDIA.h", "include/pmt/Rapl.h", "include/pmt/NVML.h"],
     'dirs': ["lib", "include"],
 }
 
Diff against pmt-1.2.0-GCCcore-11.3.0-CUDA-11.7.0.eb

easybuild/easyconfigs/p/pmt/pmt-1.2.0-GCCcore-11.3.0-CUDA-11.7.0.eb

diff --git a/easybuild/easyconfigs/p/pmt/pmt-1.2.0-GCCcore-11.3.0-CUDA-11.7.0.eb b/easybuild/easyconfigs/p/pmt/pmt-1.3.1-GCCcore-13.3.0-CUDA-12.6.0.eb
index d486de9b7b..695a90190e 100644
--- a/easybuild/easyconfigs/p/pmt/pmt-1.2.0-GCCcore-11.3.0-CUDA-11.7.0.eb
+++ b/easybuild/easyconfigs/p/pmt/pmt-1.3.1-GCCcore-13.3.0-CUDA-12.6.0.eb
@@ -1,32 +1,32 @@
 easyblock = 'CMakeMake'
 
 name = 'pmt'
-version = '1.2.0'
+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': '11.3.0'}
+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 = ['98faf305c60cc4d39d3b8ada1dcb7c87c49bf6f01a3cd2800b413d21d5df1a38']
+checksums = ['cf8c669ffb0fda4cb594550fb233f9654252db50671b59147826eadc0a3d5565']
 
 builddependencies = [
-    ('CMake', '3.23.1'),
-    ('binutils', '2.38'),
+    ('CMake', '3.29.3'),
+    ('binutils', '2.42'),
 ]
 
 dependencies = [
-    ('CUDA', '11.7.0', '', SYSTEM),
+    ('CUDA', '12.6.0', '', SYSTEM)
 ]
 
-configopts = '-DBUILD_NVML_PMT=1'
+configopts = '-DPMT_BUILD_RAPL=1 -DPMT_BUILD_NVML=1 -DPMT_BUILD_NVIDIA=1'
 
 sanity_check_paths = {
-    'files': ["bin/Rapl-test", "bin/NVML-test"],
+    'files': ["lib/libpmt.%s" % SHLIB_EXT, "include/pmt/NVIDIA.h", "include/pmt/Rapl.h", "include/pmt/NVML.h"],
     'dirs': ["lib", "include"],
 }
 
Diff against pmt-1.2.0-GCCcore-12.3.0.eb

easybuild/easyconfigs/p/pmt/pmt-1.2.0-GCCcore-12.3.0.eb

diff --git a/easybuild/easyconfigs/p/pmt/pmt-1.2.0-GCCcore-12.3.0.eb b/easybuild/easyconfigs/p/pmt/pmt-1.3.1-GCCcore-13.3.0-CUDA-12.6.0.eb
index cd1fc004ff..695a90190e 100644
--- a/easybuild/easyconfigs/p/pmt/pmt-1.2.0-GCCcore-12.3.0.eb
+++ b/easybuild/easyconfigs/p/pmt/pmt-1.3.1-GCCcore-13.3.0-CUDA-12.6.0.eb
@@ -1,25 +1,32 @@
 easyblock = 'CMakeMake'
 
 name = 'pmt'
-version = '1.2.0'
+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': '12.3.0'}
+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.26.3'),
-    ('binutils', '2.40')
+    ('CMake', '3.29.3'),
+    ('binutils', '2.42'),
 ]
 
-source_urls = ['https://git.astron.nl/RD/pmt/-/archive/%(version)s']
-sources = ['pmt-%(version)s.tar.gz']
-checksums = ['98faf305c60cc4d39d3b8ada1dcb7c87c49bf6f01a3cd2800b413d21d5df1a38']
+dependencies = [
+    ('CUDA', '12.6.0', '', SYSTEM)
+]
+
+configopts = '-DPMT_BUILD_RAPL=1 -DPMT_BUILD_NVML=1 -DPMT_BUILD_NVIDIA=1'
 
 sanity_check_paths = {
-    'files': ["bin/Rapl-test"],
+    'files': ["lib/libpmt.%s" % SHLIB_EXT, "include/pmt/NVIDIA.h", "include/pmt/Rapl.h", "include/pmt/NVML.h"],
     'dirs': ["lib", "include"],
 }
 

@smoors
Copy link
Contributor

smoors commented Nov 17, 2024

@boegelbot please test @ jsc-zen3-a100

@boegelbot
Copy link
Collaborator

@smoors: Request for testing this PR well received on jsczen3l1.int.jsc-zen3.fz-juelich.de

PR test command 'if [[ develop != 'develop' ]]; then EB_BRANCH=develop ./easybuild_develop.sh 2> /dev/null 1>&2; EB_PREFIX=/home/boegelbot/easybuild/develop source init_env_easybuild_develop.sh; fi; EB_PR=21711 EB_ARGS= EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_21711 --ntasks=8 --partition=jsczen3g --gres=gpu:1 ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 5287

Test results coming soon (I hope)...

- notification for comment with ID 2481367627 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@boegelbot
Copy link
Collaborator

Test report by @boegelbot
SUCCESS
Build succeeded for 1 out of 1 (1 easyconfigs in total)
jsczen3g1.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.4, x86_64, AMD EPYC-Milan Processor (zen3), 1 x NVIDIA NVIDIA A100 80GB PCIe, 555.42.06, Python 3.9.18
See https://gist.github.com/boegelbot/6ce8da6fe11a774e3f6382a301abe1a7 for a full test report.

@smoors
Copy link
Contributor

smoors commented Nov 17, 2024

@boegelbot: please test @ generoso

@boegelbot
Copy link
Collaborator

@smoors: Request for testing this PR well received on login1

PR test command 'EB_PR=21711 EB_ARGS= EB_CONTAINER= EB_REPO=easybuild-easyconfigs /opt/software/slurm/bin/sbatch --job-name test_PR_21711 --ntasks=4 ~/boegelbot/eb_from_pr_upload_generoso.sh' executed!

  • exit code: 0
  • output:
Submitted batch job 14725

Test results coming soon (I hope)...

- notification for comment with ID 2481387892 processed

Message to humans: this is just bookkeeping information for me,
it is of no use to you (unless you think I have a bug, which I don't).

@boegelbot
Copy link
Collaborator

Test report by @boegelbot
SUCCESS
Build succeeded for 1 out of 1 (1 easyconfigs in total)
cns1 - Linux Rocky Linux 8.9, x86_64, Intel(R) Xeon(R) CPU E5-2667 v3 @ 3.20GHz (haswell), Python 3.6.8
See https://gist.github.com/boegelbot/540baca22a33ed2daf74abbed965f5f1 for a full test report.

@smoors smoors added this to the release after 4.9.4 milestone Nov 17, 2024
Copy link
Contributor

@smoors smoors left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@smoors
Copy link
Contributor

smoors commented Nov 17, 2024

Going in, thanks @benczaja!

@smoors smoors merged commit 9dbad71 into easybuilders:develop Nov 17, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants