Skip to content

{quantum}[foss/2024a] qsimcirq v0.22.0 w/ and wo/ CUDA 12.6.0 #23538

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

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

migueldiascosta
Copy link
Member

(created using eb --new-pr)

Copy link

github-actions bot commented Jul 30, 2025

Updated software CMake-3.31.3-GCCcore-13.3.0.eb

Diff against CMake-4.0.3-GCCcore-14.3.0.eb

easybuild/easyconfigs/c/CMake/CMake-4.0.3-GCCcore-14.3.0.eb

diff --git a/easybuild/easyconfigs/c/CMake/CMake-4.0.3-GCCcore-14.3.0.eb b/easybuild/easyconfigs/c/CMake/CMake-3.31.3-GCCcore-13.3.0.eb
index 936222366e..87117c9540 100644
--- a/easybuild/easyconfigs/c/CMake/CMake-4.0.3-GCCcore-14.3.0.eb
+++ b/easybuild/easyconfigs/c/CMake/CMake-3.31.3-GCCcore-13.3.0.eb
@@ -1,5 +1,5 @@
 name = 'CMake'
-version = '4.0.3'
+version = '3.31.3'
 
 homepage = 'https://www.cmake.org'
 
@@ -8,22 +8,22 @@ description = """
  tools designed to build, test and package software.
 """
 
-toolchain = {'name': 'GCCcore', 'version': '14.3.0'}
+toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
 
 source_urls = ['https://www.cmake.org/files/v%(version_major_minor)s']
 sources = [SOURCELOWER_TAR_GZ]
-checksums = ['8d3537b7b7732660ea247398f166be892fe6131d63cc291944b45b91279f3ffb']
+checksums = ['fac45bc6d410b49b3113ab866074888d6c9e9dc81a141874446eb239ac38cb87']
 
 builddependencies = [
-    ('binutils', '2.44'),
+    ('binutils', '2.42'),
 ]
 
 dependencies = [
     ('ncurses', '6.5'),
     ('zlib', '1.3.1'),
     ('bzip2', '1.0.8'),
-    ('cURL', '8.14.1'),
-    ('libarchive', '3.8.1'),
+    ('cURL', '8.7.1'),
+    ('libarchive', '3.7.4'),
     ('OpenSSL', '3', '', SYSTEM),
 ]
 
Diff against CMake-3.31.8.eb

easybuild/easyconfigs/c/CMake/CMake-3.31.8.eb

diff --git a/easybuild/easyconfigs/c/CMake/CMake-3.31.8.eb b/easybuild/easyconfigs/c/CMake/CMake-3.31.3-GCCcore-13.3.0.eb
index b950e91dbe..87117c9540 100644
--- a/easybuild/easyconfigs/c/CMake/CMake-3.31.8.eb
+++ b/easybuild/easyconfigs/c/CMake/CMake-3.31.3-GCCcore-13.3.0.eb
@@ -1,5 +1,5 @@
 name = 'CMake'
-version = '3.31.8'
+version = '3.31.3'
 
 homepage = 'https://www.cmake.org'
 
@@ -8,23 +8,23 @@ description = """
  tools designed to build, test and package software.
 """
 
-toolchain = SYSTEM
+toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
 
 source_urls = ['https://www.cmake.org/files/v%(version_major_minor)s']
 sources = [SOURCELOWER_TAR_GZ]
-checksums = ['e3cde3ca83dc2d3212105326b8f1b565116be808394384007e7ef1c253af6caa']
+checksums = ['fac45bc6d410b49b3113ab866074888d6c9e9dc81a141874446eb239ac38cb87']
 
 builddependencies = [
-    ('ncurses', '6.5'),
+    ('binutils', '2.42'),
 ]
 
 dependencies = [
-    ('OpenSSL', '3'),
+    ('ncurses', '6.5'),
+    ('zlib', '1.3.1'),
+    ('bzip2', '1.0.8'),
+    ('cURL', '8.7.1'),
+    ('libarchive', '3.7.4'),
+    ('OpenSSL', '3', '', SYSTEM),
 ]
 
-configopts = "-- "
-configopts += "-DCURSES_CURSES_LIBRARY=$EBROOTNCURSES/lib/libcurses.a "
-configopts += "-DCURSES_FORM_LIBRARY=$EBROOTNCURSES/lib/libform.a "
-configopts += "-DCURSES_NCURSES_LIBRARY=$EBROOTNCURSES/lib/libncurses.a "
-
 moduleclass = 'devel'
Diff against CMake-3.31.3-GCCcore-14.2.0.eb

easybuild/easyconfigs/c/CMake/CMake-3.31.3-GCCcore-14.2.0.eb

diff --git a/easybuild/easyconfigs/c/CMake/CMake-3.31.3-GCCcore-14.2.0.eb b/easybuild/easyconfigs/c/CMake/CMake-3.31.3-GCCcore-13.3.0.eb
index 85d409561a..87117c9540 100644
--- a/easybuild/easyconfigs/c/CMake/CMake-3.31.3-GCCcore-14.2.0.eb
+++ b/easybuild/easyconfigs/c/CMake/CMake-3.31.3-GCCcore-13.3.0.eb
@@ -8,7 +8,7 @@ description = """
  tools designed to build, test and package software.
 """
 
-toolchain = {'name': 'GCCcore', 'version': '14.2.0'}
+toolchain = {'name': 'GCCcore', 'version': '13.3.0'}
 
 source_urls = ['https://www.cmake.org/files/v%(version_major_minor)s']
 sources = [SOURCELOWER_TAR_GZ]
@@ -22,8 +22,8 @@ dependencies = [
     ('ncurses', '6.5'),
     ('zlib', '1.3.1'),
     ('bzip2', '1.0.8'),
-    ('cURL', '8.11.1'),
-    ('libarchive', '3.7.7'),
+    ('cURL', '8.7.1'),
+    ('libarchive', '3.7.4'),
     ('OpenSSL', '3', '', SYSTEM),
 ]
 

Updated software qsimcirq-0.22.0-foss-2024a-CUDA-12.6.0.eb

Diff against qsimcirq-0.22.0-foss-2024a.eb

easybuild/easyconfigs/q/qsimcirq/qsimcirq-0.22.0-foss-2024a.eb

diff --git a/easybuild/easyconfigs/q/qsimcirq/qsimcirq-0.22.0-foss-2024a.eb b/easybuild/easyconfigs/q/qsimcirq/qsimcirq-0.22.0-foss-2024a-CUDA-12.6.0.eb
index 4848b869f5..81e8d9d311 100644
--- a/easybuild/easyconfigs/q/qsimcirq/qsimcirq-0.22.0-foss-2024a.eb
+++ b/easybuild/easyconfigs/q/qsimcirq/qsimcirq-0.22.0-foss-2024a-CUDA-12.6.0.eb
@@ -2,6 +2,7 @@ easyblock = 'PythonBundle'
 
 name = 'qsimcirq'
 version = '0.22.0'
+versionsuffix = '-CUDA-%(cudaver)s'
 
 homepage = 'https://github.com/quantumlib/qsim'
 description = """
@@ -19,6 +20,9 @@ builddependencies = [
 ]
 
 dependencies = [
+    ('cuQuantum', '25.03.0.11-CUDA-%(cudaver)s', '', SYSTEM),
+    ('CUDA', '12.6.0', '', SYSTEM),
+    ('UCX-CUDA', '1.16.0', '-CUDA-%(cudaver)s'),
     ('Cython', '3.0.10'),
     ('Python', '3.12.3'),
     ('SciPy-bundle', '2024.05'),
@@ -82,6 +86,7 @@ exts_list = [
         'checksums': ['d2aaa0b13c78c61cb3f4282c464c046e45fbd75755683c9c525e6e8f7ed0a5e8'],
     }),
     ('cirq', '1.6.0', {
+        'prebuildopts': "export CUQUANTUM_ROOT=${EBROOTCUQUANTUM} && ",
         'buildcmd': '%s %s' % (local_build_cmd, local_cirq_modules),
         'source_tmpl': 'v%(version)s.tar.gz',
         'source_urls': ['https://github.com/quantumlib/Cirq/archive/refs/tags/'],
@@ -91,10 +96,11 @@ exts_list = [
         'checksums': ['753bb6ebf1f465a1912e19ed1d41f403a79173a9acf66a42e7e6aec45c3c16ec'],
     }),
     (name, version, {
+        'preinstallopts': "export CUQUANTUM_ROOT=${EBROOTCUQUANTUM} && ",
         'checksums': ['90326abcfdfacd840cff61ca6c559ffc06ccf3bf6e631a5e44118894ff3109cb'],
     }),
 ]
 
-sanity_check_commands = ['python -c "import qsimcirq; print(qsimcirq.qsim)"']
+sanity_check_commands = ['python -c "import qsimcirq; print(qsimcirq.qsim_gpu)" | grep cuda']
 
 moduleclass = 'quantum'

Updated software qsimcirq-0.22.0-foss-2024a.eb

Diff against qsimcirq-0.22.0-foss-2024a-CUDA-12.6.0.eb

easybuild/easyconfigs/q/qsimcirq/qsimcirq-0.22.0-foss-2024a-CUDA-12.6.0.eb

diff --git a/easybuild/easyconfigs/q/qsimcirq/qsimcirq-0.22.0-foss-2024a-CUDA-12.6.0.eb b/easybuild/easyconfigs/q/qsimcirq/qsimcirq-0.22.0-foss-2024a.eb
index 81e8d9d311..4848b869f5 100644
--- a/easybuild/easyconfigs/q/qsimcirq/qsimcirq-0.22.0-foss-2024a-CUDA-12.6.0.eb
+++ b/easybuild/easyconfigs/q/qsimcirq/qsimcirq-0.22.0-foss-2024a.eb
@@ -2,7 +2,6 @@ easyblock = 'PythonBundle'
 
 name = 'qsimcirq'
 version = '0.22.0'
-versionsuffix = '-CUDA-%(cudaver)s'
 
 homepage = 'https://github.com/quantumlib/qsim'
 description = """
@@ -20,9 +19,6 @@ builddependencies = [
 ]
 
 dependencies = [
-    ('cuQuantum', '25.03.0.11-CUDA-%(cudaver)s', '', SYSTEM),
-    ('CUDA', '12.6.0', '', SYSTEM),
-    ('UCX-CUDA', '1.16.0', '-CUDA-%(cudaver)s'),
     ('Cython', '3.0.10'),
     ('Python', '3.12.3'),
     ('SciPy-bundle', '2024.05'),
@@ -86,7 +82,6 @@ exts_list = [
         'checksums': ['d2aaa0b13c78c61cb3f4282c464c046e45fbd75755683c9c525e6e8f7ed0a5e8'],
     }),
     ('cirq', '1.6.0', {
-        'prebuildopts': "export CUQUANTUM_ROOT=${EBROOTCUQUANTUM} && ",
         'buildcmd': '%s %s' % (local_build_cmd, local_cirq_modules),
         'source_tmpl': 'v%(version)s.tar.gz',
         'source_urls': ['https://github.com/quantumlib/Cirq/archive/refs/tags/'],
@@ -96,11 +91,10 @@ exts_list = [
         'checksums': ['753bb6ebf1f465a1912e19ed1d41f403a79173a9acf66a42e7e6aec45c3c16ec'],
     }),
     (name, version, {
-        'preinstallopts': "export CUQUANTUM_ROOT=${EBROOTCUQUANTUM} && ",
         'checksums': ['90326abcfdfacd840cff61ca6c559ffc06ccf3bf6e631a5e44118894ff3109cb'],
     }),
 ]
 
-sanity_check_commands = ['python -c "import qsimcirq; print(qsimcirq.qsim_gpu)" | grep cuda']
+sanity_check_commands = ['python -c "import qsimcirq; print(qsimcirq.qsim)"']
 
 moduleclass = 'quantum'

@migueldiascosta
Copy link
Member Author

@boegelbot please test @ jsc-zen3

@boegelbot
Copy link
Collaborator

@migueldiascosta: 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=23538 EB_ARGS= EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_23538 --ntasks=8 ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

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

Test results coming soon (I hope)...

- notification for comment with ID 3137754355 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 2 out of 2 (2 easyconfigs in total)
jsczen3c1.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.6, x86_64, AMD EPYC-Milan Processor (zen3), Python 3.9.21
See https://gist.github.com/boegelbot/a9c710c9d1349cc83acc6e7c182fc36c for a full test report.

@migueldiascosta migueldiascosta changed the title {quantum}[foss/2024a] qsimcirq v0.22.0 w/ CUDA 12.6.0 {quantum}[foss/2024a] qsimcirq v0.22.0 w/ and wo/ CUDA 12.6.0 Jul 30, 2025
@github-actions github-actions bot removed the new label Jul 30, 2025
@migueldiascosta
Copy link
Member Author

@boegelbot please test @ jsc-zen3

@boegelbot
Copy link
Collaborator

@migueldiascosta: 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=23538 EB_ARGS= EB_CONTAINER= EB_REPO=easybuild-easyconfigs EB_BRANCH=develop /opt/software/slurm/bin/sbatch --job-name test_PR_23538 --ntasks=8 ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

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

Test results coming soon (I hope)...

- notification for comment with ID 3137816574 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 3 out of 3 (3 easyconfigs in total)
jsczen3c1.int.jsc-zen3.fz-juelich.de - Linux Rocky Linux 9.6, x86_64, AMD EPYC-Milan Processor (zen3), Python 3.9.21
See https://gist.github.com/boegelbot/7e33ae1671aa661f6f7488ed8f7cbfdd for a full test report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants