Skip to content

{phys}[foss/2022a] WarpX v24.01 w/ CUDA 12.2.0#19784

Merged
akesandgren merged 9 commits intoeasybuilders:developfrom
sassy-crick:20240202215335_new_pr_WarpX2401
Jun 25, 2025
Merged

{phys}[foss/2022a] WarpX v24.01 w/ CUDA 12.2.0#19784
akesandgren merged 9 commits intoeasybuilders:developfrom
sassy-crick:20240202215335_new_pr_WarpX2401

Conversation

@sassy-crick
Copy link
Copy Markdown
Collaborator

@sassy-crick sassy-crick commented Feb 2, 2024

(created using eb --new-pr)

Requires:

@sassy-crick sassy-crick added the new label Feb 2, 2024
@sassy-crick
Copy link
Copy Markdown
Collaborator Author

@boegelbot please test @ generoso

@boegelbot
Copy link
Copy Markdown
Collaborator

@sassy-crick: Request for testing this PR well received on login1

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

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

Test results coming soon (I hope)...

Details

- notification for comment with ID 1924819350 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)
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/ed0e24c2fdd6f3076a8211f5764db145 for a full test report.

jfgrimm
jfgrimm previously requested changes Feb 9, 2024
Comment thread easybuild/easyconfigs/w/WarpX/WarpX-24.01-foss-2022a-CUDA-12.2.0.eb Outdated
Comment thread easybuild/easyconfigs/w/WarpX/WarpX-24.01-foss-2022a-CUDA-12.2.0.eb Outdated
@jfgrimm
Copy link
Copy Markdown
Member

jfgrimm commented Feb 9, 2024

Test report by @jfgrimm
SUCCESS
Build succeeded for 8 out of 8 (2 easyconfigs in total)
gpu22.viking2.yor.alces.network - Linux Rocky Linux 8.8, x86_64, AMD EPYC 7413 24-Core Processor, 2 x NVIDIA NVIDIA H100 PCIe, 535.86.10, Python 3.6.8
See https://gist.github.com/jfgrimm/363f8ebb7bae88c6560820348b0d2249 for a full test report.

@sassy-crick
Copy link
Copy Markdown
Collaborator Author

@boegelbot please test @ generoso

@boegelbot
Copy link
Copy Markdown
Collaborator

@sassy-crick: Request for testing this PR well received on login1

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

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

Test results coming soon (I hope)...

Details

- notification for comment with ID 1939642474 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)
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/6267da58086185681fc233797d89881e for a full test report.

@github-actions github-actions Bot added update and removed new labels Jun 16, 2025
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 16, 2025

Updated software WarpX-24.01-foss-2022a-CUDA-12.2.0.eb

Diff against WarpX-24.01-foss-2022a.eb

easybuild/easyconfigs/w/WarpX/WarpX-24.01-foss-2022a.eb

diff --git a/easybuild/easyconfigs/w/WarpX/WarpX-24.01-foss-2022a.eb b/easybuild/easyconfigs/w/WarpX/WarpX-24.01-foss-2022a-CUDA-12.2.0.eb
index bd3bd7f071..926fa7493e 100644
--- a/easybuild/easyconfigs/w/WarpX/WarpX-24.01-foss-2022a.eb
+++ b/easybuild/easyconfigs/w/WarpX/WarpX-24.01-foss-2022a-CUDA-12.2.0.eb
@@ -4,6 +4,7 @@ easyblock = 'CMakeMake'
 
 name = 'WarpX'
 version = '24.01'
+versionsuffix = '-CUDA-%(cudaver)s'
 
 homepage = 'https://github.com/ECP-WarpX/WarpX'
 description = """WarpX is an advanced electromagnetic & electrostatic Particle-In-Cell code.
@@ -24,6 +25,7 @@ builddependencies = [
 ]
 
 dependencies = [
+    ('CUDA', '12.2.0', '', SYSTEM),
     ('Python', '3.10.4'),
     ('matplotlib', '3.5.2'),
     ('HDF5', '1.12.2'),
@@ -50,8 +52,10 @@ exts_list = [
     }),
 ]
 
-configopts = '-DWarpX_PYTHON=ON -DWarpX_COMPUTE=OMP '
-configopts += '-DWarpX_DIMS="1;2;RZ;3" '
+cuda_compute_capabilities = ['5.0', '6.0', '7.0', '7.5', '8.0', '8.6', '8.9', '9.0']
+configopts = '-DWarpX_PYTHON=ON -DWarpX_COMPUTE=CUDA '
+configopts += '-DAMReX_CUDA_ARCH=%(cuda_cc_space_sep)s '
+configopts += '-DAMReX_GPU_BACKEND=CUDA -DWarpX_DIMS="1;2;RZ;3" '
 configopts += '-DPYBIND11_INSTALL=ON -DWarpX_LIB=ON -DWarpX_QED_TABLE_GEN=ON '
 
 postinstallcmds = [
@@ -65,7 +69,7 @@ postinstallcmds = [
 ]
 
 sanity_check_paths = {
-    'files': ['bin/warpx.rz.MPI.OMP.DP.PDP.OPMD.QED.GENQEDTABLES',
+    'files': ['bin/warpx.rz.MPI.CUDA.DP.PDP.OPMD.QED.GENQEDTABLES',
               'lib/libamrex_3d.so', 'lib/libamrex_2d.so', 'lib/libamrex_1d.so'],
     'dirs': ['include', 'share'],
 }

Updated software WarpX-24.01-foss-2022a.eb

Diff against WarpX-24.01-foss-2022a-CUDA-12.2.0.eb

easybuild/easyconfigs/w/WarpX/WarpX-24.01-foss-2022a-CUDA-12.2.0.eb

diff --git a/easybuild/easyconfigs/w/WarpX/WarpX-24.01-foss-2022a-CUDA-12.2.0.eb b/easybuild/easyconfigs/w/WarpX/WarpX-24.01-foss-2022a.eb
index 926fa7493e..bd3bd7f071 100644
--- a/easybuild/easyconfigs/w/WarpX/WarpX-24.01-foss-2022a-CUDA-12.2.0.eb
+++ b/easybuild/easyconfigs/w/WarpX/WarpX-24.01-foss-2022a.eb
@@ -4,7 +4,6 @@ easyblock = 'CMakeMake'
 
 name = 'WarpX'
 version = '24.01'
-versionsuffix = '-CUDA-%(cudaver)s'
 
 homepage = 'https://github.com/ECP-WarpX/WarpX'
 description = """WarpX is an advanced electromagnetic & electrostatic Particle-In-Cell code.
@@ -25,7 +24,6 @@ builddependencies = [
 ]
 
 dependencies = [
-    ('CUDA', '12.2.0', '', SYSTEM),
     ('Python', '3.10.4'),
     ('matplotlib', '3.5.2'),
     ('HDF5', '1.12.2'),
@@ -52,10 +50,8 @@ exts_list = [
     }),
 ]
 
-cuda_compute_capabilities = ['5.0', '6.0', '7.0', '7.5', '8.0', '8.6', '8.9', '9.0']
-configopts = '-DWarpX_PYTHON=ON -DWarpX_COMPUTE=CUDA '
-configopts += '-DAMReX_CUDA_ARCH=%(cuda_cc_space_sep)s '
-configopts += '-DAMReX_GPU_BACKEND=CUDA -DWarpX_DIMS="1;2;RZ;3" '
+configopts = '-DWarpX_PYTHON=ON -DWarpX_COMPUTE=OMP '
+configopts += '-DWarpX_DIMS="1;2;RZ;3" '
 configopts += '-DPYBIND11_INSTALL=ON -DWarpX_LIB=ON -DWarpX_QED_TABLE_GEN=ON '
 
 postinstallcmds = [
@@ -69,7 +65,7 @@ postinstallcmds = [
 ]
 
 sanity_check_paths = {
-    'files': ['bin/warpx.rz.MPI.CUDA.DP.PDP.OPMD.QED.GENQEDTABLES',
+    'files': ['bin/warpx.rz.MPI.OMP.DP.PDP.OPMD.QED.GENQEDTABLES',
               'lib/libamrex_3d.so', 'lib/libamrex_2d.so', 'lib/libamrex_1d.so'],
     'dirs': ['include', 'share'],
 }

Comment thread easybuild/easyconfigs/w/WarpX/WarpX-24.01-foss-2022a-CUDA-12.2.0.eb Outdated
Comment thread easybuild/easyconfigs/w/WarpX/WarpX-24.01-foss-2022a.eb Outdated
@akesandgren akesandgren self-assigned this Jun 16, 2025
@sassy-crick
Copy link
Copy Markdown
Collaborator Author

@boegelbot please test @ jsc-zen3

@boegelbot
Copy link
Copy Markdown
Collaborator

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

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

Test results coming soon (I hope)...

Details

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

@sassy-crick
Copy link
Copy Markdown
Collaborator Author

@boegelbot please test @ jsc-zen3

@boegelbot
Copy link
Copy Markdown
Collaborator

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

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

Test results coming soon (I hope)...

Details

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

@akesandgren
Copy link
Copy Markdown
Contributor

Test report by @akesandgren
SUCCESS
Build succeeded for 8 out of 8 (2 easyconfigs in total)
b-cn1611.hpc2n.umu.se - Linux Ubuntu 22.04, x86_64, AMD EPYC 7313 16-Core Processor, 1 x NVIDIA NVIDIA A100 80GB PCIe, 555.58.02, Python 3.10.12
See https://gist.github.com/akesandgren/cd17df15a513359268971d9f1d17be8e for a full test report.

@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.5, x86_64, AMD EPYC-Milan Processor (zen3), Python 3.9.21
See https://gist.github.com/boegelbot/358341f9d628ccfdfb6d152ae9bb4961 for a full test report.

@akesandgren akesandgren dismissed jfgrimm’s stale review June 25, 2025 05:12

Requested changes done

Copy link
Copy Markdown
Contributor

@akesandgren akesandgren left a comment

Choose a reason for hiding this comment

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

LGTM

@akesandgren
Copy link
Copy Markdown
Contributor

Going in, thanks @sassy-crick!

@akesandgren akesandgren merged commit a6ae24f into easybuilders:develop Jun 25, 2025
8 checks passed
@sassy-crick sassy-crick deleted the 20240202215335_new_pr_WarpX2401 branch June 25, 2025 11:36
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.

4 participants