Jordan Heraud , Marc Vincendon , Paul-Gerhard Reinhard , Eric Suraud , Phuong Mai Dinh
{"title":"一个新的CUDA改进和优化版本的量子耗散动力学包的公告","authors":"Jordan Heraud , Marc Vincendon , Paul-Gerhard Reinhard , Eric Suraud , Phuong Mai Dinh","doi":"10.1016/j.cpc.2025.109677","DOIUrl":null,"url":null,"abstract":"<div><div>The third release of the Quantum Dissipative Dynamics (QDD) package follows the second release [P. M. Dinh, et al., <em>Comp. Phys. Comm.</em> 295 (2024) 108947] in which the focus was mainly made on the optimization of the electronic dynamics, in particular with a CUDA fortran coding to allow the use of a GPU. In this new release, we pursued the exportation of other parts of QDD on CUDA-capable GPUs, as the ionic motion, the coupling of the electrons with a laser field and/or with the ions (via pseudopotentials), and all electronic observables, including the involved photo-electron spectra, energy- and/or angle-resolved. Several specific CUDA optimisations have also been implemented, to improve the performance and the memory usage while keeping the accuracy of the results.</div></div><div><h3>NEW VERSION PROGRAM SUMMARY</h3><div><em>Program Title:</em> QDD</div><div><em>CPC Library link to program files:</em> <span><span>https://doi.org/10.17632/2fg47zm4mz.1</span><svg><path></path></svg></span></div><div><em>Licensing provisions:</em> GPLv3</div><div><em>Programming language:</em> Fortran 90, CudaFortran</div><div><em>Journal reference of previous version:</em> P. M. Dinh, et al., Comp. Phys. Comm. 295 (2024) 108947</div><div><em>Does the new version supersede the previous version?:</em> No</div><div><em>Reasons for the new version:</em> The QDD package was not fully ported on a CUDA-capable GPU in the second release.</div><div><em>Summary of revisions:</em> The changes in QDD are twofold. One concerns the exportation on the GPU of the computation of the ionic motion and of the computation to all observables (electronic and ionic), and some changes at the side of the calculation of the pseudopotentials. A major numerical improvement has been therefore achieved 85% of speedup. The second change consists in some pure CUDA optimization with a more modest speedup: some %, depending on the type of GPU. See Supplementary Material for more details.</div><div><em>Nature of problem:</em> Possible numerical optimizations were to be tested, at the side of the ionic motion, the coupling of the quantal electrons with external field (ions, laser), but also at the level of pure GPU usage.</div><div><em>Solution method:</em> This new version completes the exportation to a GPU by a CUDA coding of the ionic motion, the coupling of the quantal electrons with external fields (ions, laser field) and all electronic observables.</div><div><em>Additional comments including restrictions and unusual features:</em> The overall speedup can strongly depend on the type of GPU available (from an HPC centre or a workstation).</div></div>","PeriodicalId":285,"journal":{"name":"Computer Physics Communications","volume":"314 ","pages":"Article 109677"},"PeriodicalIF":3.4000,"publicationDate":"2025-05-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"A new CUDA improved and optimised version announcement of the quantum dissipative dynamics package\",\"authors\":\"Jordan Heraud , Marc Vincendon , Paul-Gerhard Reinhard , Eric Suraud , Phuong Mai Dinh\",\"doi\":\"10.1016/j.cpc.2025.109677\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>The third release of the Quantum Dissipative Dynamics (QDD) package follows the second release [P. M. Dinh, et al., <em>Comp. Phys. Comm.</em> 295 (2024) 108947] in which the focus was mainly made on the optimization of the electronic dynamics, in particular with a CUDA fortran coding to allow the use of a GPU. In this new release, we pursued the exportation of other parts of QDD on CUDA-capable GPUs, as the ionic motion, the coupling of the electrons with a laser field and/or with the ions (via pseudopotentials), and all electronic observables, including the involved photo-electron spectra, energy- and/or angle-resolved. Several specific CUDA optimisations have also been implemented, to improve the performance and the memory usage while keeping the accuracy of the results.</div></div><div><h3>NEW VERSION PROGRAM SUMMARY</h3><div><em>Program Title:</em> QDD</div><div><em>CPC Library link to program files:</em> <span><span>https://doi.org/10.17632/2fg47zm4mz.1</span><svg><path></path></svg></span></div><div><em>Licensing provisions:</em> GPLv3</div><div><em>Programming language:</em> Fortran 90, CudaFortran</div><div><em>Journal reference of previous version:</em> P. M. Dinh, et al., Comp. Phys. Comm. 295 (2024) 108947</div><div><em>Does the new version supersede the previous version?:</em> No</div><div><em>Reasons for the new version:</em> The QDD package was not fully ported on a CUDA-capable GPU in the second release.</div><div><em>Summary of revisions:</em> The changes in QDD are twofold. One concerns the exportation on the GPU of the computation of the ionic motion and of the computation to all observables (electronic and ionic), and some changes at the side of the calculation of the pseudopotentials. A major numerical improvement has been therefore achieved 85% of speedup. The second change consists in some pure CUDA optimization with a more modest speedup: some %, depending on the type of GPU. See Supplementary Material for more details.</div><div><em>Nature of problem:</em> Possible numerical optimizations were to be tested, at the side of the ionic motion, the coupling of the quantal electrons with external field (ions, laser), but also at the level of pure GPU usage.</div><div><em>Solution method:</em> This new version completes the exportation to a GPU by a CUDA coding of the ionic motion, the coupling of the quantal electrons with external fields (ions, laser field) and all electronic observables.</div><div><em>Additional comments including restrictions and unusual features:</em> The overall speedup can strongly depend on the type of GPU available (from an HPC centre or a workstation).</div></div>\",\"PeriodicalId\":285,\"journal\":{\"name\":\"Computer Physics Communications\",\"volume\":\"314 \",\"pages\":\"Article 109677\"},\"PeriodicalIF\":3.4000,\"publicationDate\":\"2025-05-15\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Computer Physics Communications\",\"FirstCategoryId\":\"101\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0010465525001791\",\"RegionNum\":2,\"RegionCategory\":\"物理与天体物理\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q1\",\"JCRName\":\"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computer Physics Communications","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0010465525001791","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
A new CUDA improved and optimised version announcement of the quantum dissipative dynamics package
The third release of the Quantum Dissipative Dynamics (QDD) package follows the second release [P. M. Dinh, et al., Comp. Phys. Comm. 295 (2024) 108947] in which the focus was mainly made on the optimization of the electronic dynamics, in particular with a CUDA fortran coding to allow the use of a GPU. In this new release, we pursued the exportation of other parts of QDD on CUDA-capable GPUs, as the ionic motion, the coupling of the electrons with a laser field and/or with the ions (via pseudopotentials), and all electronic observables, including the involved photo-electron spectra, energy- and/or angle-resolved. Several specific CUDA optimisations have also been implemented, to improve the performance and the memory usage while keeping the accuracy of the results.
NEW VERSION PROGRAM SUMMARY
Program Title: QDD
CPC Library link to program files:https://doi.org/10.17632/2fg47zm4mz.1
Licensing provisions: GPLv3
Programming language: Fortran 90, CudaFortran
Journal reference of previous version: P. M. Dinh, et al., Comp. Phys. Comm. 295 (2024) 108947
Does the new version supersede the previous version?: No
Reasons for the new version: The QDD package was not fully ported on a CUDA-capable GPU in the second release.
Summary of revisions: The changes in QDD are twofold. One concerns the exportation on the GPU of the computation of the ionic motion and of the computation to all observables (electronic and ionic), and some changes at the side of the calculation of the pseudopotentials. A major numerical improvement has been therefore achieved 85% of speedup. The second change consists in some pure CUDA optimization with a more modest speedup: some %, depending on the type of GPU. See Supplementary Material for more details.
Nature of problem: Possible numerical optimizations were to be tested, at the side of the ionic motion, the coupling of the quantal electrons with external field (ions, laser), but also at the level of pure GPU usage.
Solution method: This new version completes the exportation to a GPU by a CUDA coding of the ionic motion, the coupling of the quantal electrons with external fields (ions, laser field) and all electronic observables.
Additional comments including restrictions and unusual features: The overall speedup can strongly depend on the type of GPU available (from an HPC centre or a workstation).
期刊介绍:
The focus of CPC is on contemporary computational methods and techniques and their implementation, the effectiveness of which will normally be evidenced by the author(s) within the context of a substantive problem in physics. Within this setting CPC publishes two types of paper.
Computer Programs in Physics (CPiP)
These papers describe significant computer programs to be archived in the CPC Program Library which is held in the Mendeley Data repository. The submitted software must be covered by an approved open source licence. Papers and associated computer programs that address a problem of contemporary interest in physics that cannot be solved by current software are particularly encouraged.
Computational Physics Papers (CP)
These are research papers in, but are not limited to, the following themes across computational physics and related disciplines.
mathematical and numerical methods and algorithms;
computational models including those associated with the design, control and analysis of experiments; and
algebraic computation.
Each will normally include software implementation and performance details. The software implementation should, ideally, be available via GitHub, Zenodo or an institutional repository.In addition, research papers on the impact of advanced computer architecture and special purpose computers on computing in the physical sciences and software topics related to, and of importance in, the physical sciences may be considered.