Skip to content

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

Merged
smoors merged 5 commits intoeasybuilders:developfrom
migueldiascosta:20250730154858_new_pr_qsimcirq0220
Oct 13, 2025
Merged

{quantum}[foss/2024a] qsimcirq v0.22.0 w/ and wo/ CUDA 12.6.0#23538
smoors merged 5 commits intoeasybuilders:developfrom
migueldiascosta:20250730154858_new_pr_qsimcirq0220

Conversation

@migueldiascosta
Copy link
Copy Markdown
Member

(created using eb --new-pr)

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jul 30, 2025

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 689743d5f3..b97b641530 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 b97b641530..689743d5f3 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
Copy Markdown
Member Author

@boegelbot please test @ jsc-zen3

@boegelbot
Copy link
Copy Markdown
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)...

Details

- 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
Copy Markdown
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
Copy Markdown
Member Author

@boegelbot please test @ jsc-zen3

@boegelbot
Copy link
Copy Markdown
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)...

Details

- 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
Copy Markdown
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.

@Thyre Thyre added the 2024a issues & PRs related to 2024a common toolchains label Aug 1, 2025
@@ -0,0 +1,30 @@
name = 'CMake'
version = '3.31.3'
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Is there any reason for an additional CMake version in 2024a?
Shouldn't hurt, as this is most often just a build dependency. Just curious.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

3.29.3 wouldn't do, but I see that now there is 3.31.8 for this toolchain version, I'll update this PR to use it instead, thanks

@github-actions github-actions Bot removed the new label Oct 9, 2025
@migueldiascosta
Copy link
Copy Markdown
Member Author

@boegelbot please test @ jsc-zen3-a100

@boegelbot
Copy link
Copy Markdown
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 --partition=jsczen3g --gres=gpu:1 ~/boegelbot/eb_from_pr_upload_jsc-zen3.sh' executed!

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

Test results coming soon (I hope)...

Details

- notification for comment with ID 3386059751 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).

@migueldiascosta
Copy link
Copy Markdown
Member Author

@boegelbot please test @ jsc-zen3

@boegelbot
Copy link
Copy Markdown
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 8260

Test results coming soon (I hope)...

Details

- notification for comment with ID 3388953682 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
Copy Markdown
Collaborator

Test report by @boegelbot
SUCCESS
Build succeeded for 2 out of 2 (2 easyconfigs in total)
jsczen3c3.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/4544b04009f1f36a4204657350b2a1f9 for a full test report.

@smoors smoors added this to the next release (5.2.0?) milestone Oct 13, 2025
Copy link
Copy Markdown
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
Copy Markdown
Contributor

smoors commented Oct 13, 2025

Going in, thanks @migueldiascosta!

@smoors smoors merged commit a777a02 into easybuilders:develop Oct 13, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2024a issues & PRs related to 2024a common toolchains new ready-to-review update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants