Article(id=1327013344072020686, tenantId=1146029695717560320, journalId=1324759914146529478, issueId=1327013054811845282, articleNumber=null, orderNo=null, doi=10.7544/issn1000-1239.202330872, pmid=null, cstr=null, oa=null, hot=null, price=null, onlineType=0, articleFormat=0, articleType=null, articleTypeStr=research-article, receivedDate=1698681600000, receivedDateStr=2023-10-31, revisedDate=1742313600000, revisedDateStr=2025-03-19, acceptedDate=1743696000000, acceptedDateStr=2025-04-04, onlineDate=1794314235942, onlineDateStr=2026-11-10, pubDate=1751299200000, pubDateStr=2025-07-01, doiRegisterDate=null, doiRegisterDateStr=null, onlineIssueDate=1794314235942, onlineIssueDateStr=2026-11-10, onlineJustAcceptDate=null, onlineJustAcceptDateStr=null, onlineFirstDate=null, onlineFirstDateStr=null, sourceXml=null, magXml=null, createTime=1794314235942, creator=13701087609, updateTime=1794314235942, updator=13701087609, issue=Issue{id=1327013054811845282, tenantId=1146029695717560320, journalId=1324759914146529478, year='2025', volume='62', issue='7', pageStart='1595', pageEnd='1832', issueExtLink='null', onlineDate='null', pubDate='1751299200000', pubDateStr='2025-07-01', beforeIssueId=null, nextIssueId=null, price=null, status=1, issueComplete=1, articleOrder=1, issueType=-1, specialIssue=null, createTime=1794314166977, creator='13701087609', updateTime=1794376853183, updator='13701087609', preIssue=null, nextIssue=null, articleTotal=null, ext={EN=IssueExt(id=1327275980453950013, tenantId=1146029695717560320, journalId=1324759914146529478, issueId=1327013054811845282, language=EN, specialIssueTitle=, coverIllustrator=null, specialIssueEditor=, specialIssueAbout=), CN=IssueExt(id=1327275980453950014, tenantId=1146029695717560320, journalId=1324759914146529478, issueId=1327013054811845282, language=CN, specialIssueTitle=, coverIllustrator=null, specialIssueEditor=, specialIssueAbout=)}, issueFiles=null, downloadFileDto=null}, startPage=1797, endPage=1804, ext={EN=ArticleExt(id=1327013344457896655, articleId=1327013344072020686, tenantId=1146029695717560320, journalId=1324759914146529478, language=EN, title=Heterogeneous Programming and Optimization of Gyrokinetic Simulation Code on Tianhe Supercomputer, columnId=1325493593498059289, journalTitle=Journal of Computer Research and Development, columnName=High Performance Computing, runingTitle=null, highlight=null, articleAbstract=

The magnetic confinement fusion particle in cell (PIC) gyrokinetic simulation code, VirtEx, has been capable of studying the confinement and transport of the fusion product Alpha, which is the key to fusion energy realization. Alpha particle simulation relies heavily on the computational code of the kinetic ion, which has more complex memory access than the electron, and contains both non-regular accesses and atomic write-back operations, belong to memory-intensive application. MT-3000 as a new heterogeneous acceleration device provided by Tianhe’s new-generation supercomputing platform, has powerful computational performance with its extremely high computational density. Heterogeneous porting of Alpha particle simulations for this device is a great challenge. In order to fully exploit the computational power of the acceleration array in MT-3000, we combine application characteristics and propose some optimization methods, such as recalculation of intermediate variables, customized software cache design, memory locality optimization, and hotspot function merging, which are designed and implemented to reduce the total amount of memory accesses in the program. The medium scale benchmark with gyrokinetic ion shows an overall speedup of 4.2 times, with 10.9, 13.3 and 16.2 times of speedup on hotspot functions Push, Locate and Charge, respectively, meanwhile it shows a good scaling of scalability with 88.4% efficiency with 5 898 240 accelerator cores in 3 840 nodes.

, authors=Qingfeng Li1, Yueyan Li1, Zhongzhi Luan2, Wenlu Zhang3, Chunye Gong1, 4, Gang Zheng1, Bo Kang1, Xiangfei Meng1, *, authorsList=Qingfeng Li, Yueyan Li, Zhongzhi Luan, Wenlu Zhang, Chunye Gong, Gang Zheng, Bo Kang, Xiangfei Meng, authorCompany=null, correspAuthors=Xiangfei Meng, authorNote=

born in 1993. Master, engineer. His main research interest includes heterogeneous high performance computing

born in 1993. PhD, engineer. His main research interest includes heterogeneous high performance computing

born in 1971. PhD, associate professor. His main research interests include distributed computing, high performance computing, parallel computing, computer architecture, cloud computing, and big data

born in 1975. PhD, professor. His main research interest includes theory and numerical simulation of plasma physics

born in 1982. PhD, associate professor. His main research interests include parallel algorithms and automatic performance optimization

born in 1988. Master, senior engineer. His main research interests include high performance computing, parallel computing, and large-scale parallel programs

born in 1986. PhD, senior engineer. His main research interests include intelligent computing and high performance computing applications

born in 1979. PhD, senior engineer. His main research interests include heterogeneous high performance computing and generative artificial intelligence, responsible for the research and development of the “Tianhe” series of supercomputers

, correspAuthorsNote=null, copyrightStatement=Copyright © 2025 Journal of Computer Research and Development. All rights reserved., copyrightOwner=null, extLink=null, articleAbsUrl=null, sourceXml=null, magXml=null, pdfUrl=null, pdf=null, pdfFileSize=null, pdfExtLink=null, richHtmlUrl=null, mobilePdfUrl=null, reviewReport=null, pdfFirstPage=null, abstractGraph=null, abstractGraphContent=null, abstractVideo=null, citation=null, cebUrl=null, magXmlContent=null, mapNumber=null, fund=null), CN=ArticleExt(id=1327013347100308203, articleId=1327013344072020686, tenantId=1146029695717560320, journalId=1324759914146529478, language=CN, title=面向天河超算的回旋动理学模拟代码异构开发及优化, columnId=1325493595259666971, journalTitle=计算机研究与发展, columnName=高性能计算, runingTitle=null, highlight=null, articleAbstract=

磁约束核聚变粒子网格法(particle in cell,PIC)回旋动理学模拟代码VirtEx具备研究聚变产物Alpha粒子约束及输运的能力,是聚变能实现的关键. Alpha粒子回旋动理学模拟相比电子模拟,访存量更大、更复杂,同时包含非规则访问和原子写操作,对访存性能依赖较高,在面向高计算密度特征的天河新一代超算平台异构处理器MT-3000进行移植及性能优化时具有巨大挑战. 考虑到异构加速器架构和PIC算法特性,设计并实施了一些优化方法,如中间变量的即时计算、定制化的软件缓存设计、缓存空间局部性优化、热点函数合并,显著地提高了热点函数的计算访存比. 通过中等规模的回旋动理学离子基准算例测试显示了在热点函数Push,Locate,Charge上分别有10.9,13.3,16.2倍的速度提升,同时在扩展性测试中的3840个节点的5898240个加速核上显示了良好的扩展性,并行效率为88.4%.

, authors=李青峰1, 李跃岩1, 栾钟治2, 张文禄3, 龚春叶1, 4, 郑刚1, 康波1, 孟祥飞1, *, authorsList=李青峰, 李跃岩, 栾钟治, 张文禄, 龚春叶, 郑刚, 康波, 孟祥飞, authorCompany=null, correspAuthors=孟祥飞, authorNote=

1993年生. 硕士,工程师. 主要研究方向为异构高性能计算

1993年生. 博士,工程师. 主要研究方向为异构高性能计算

1971年生. 博士,副教授. 主要研究方向为分布式计算、高性能计算、并行计算、计算机系统结构、云计算、大数据

1975年生. 博士,教授. 主要研究方向为等离子体物理理论和数值模拟

1982年生. 博士,副研究员. 主要研究方向为并行算法、自动性能优化

1988年生. 硕士,高级工程师. 主要研究方向为高性能计算、并行计算、大规模并行程序

1986年生. 博士,正高级工程师. 主要研究方向为智能计算、高性能计算应用

1979年生. 博士,正高级工程师. 主要研究方向为异构高性能计算与生成式人工智能,长期负责我国重大自主创新成果“天河”系列超级计算机应用技术研发与开拓

, correspAuthorsNote=
孟祥飞()
, copyrightStatement=版权所有 © 2025 计算机研究与发展编辑部, copyrightOwner=null, extLink=null, articleAbsUrl=null, sourceXml=R+ggmIwySrKGjpA0C+oipg==, magXml=05Y6K+aEGM1S4Mdaeyru2A==, pdfUrl=null, pdf=u01uHIlP58FatjZVQVGI6g==, pdfFileSize=1062154, pdfExtLink=null, richHtmlUrl=null, mobilePdfUrl=null, reviewReport=null, pdfFirstPage=null, abstractGraph=LbGRKpKOsWLvDiv6d3qN/A==, abstractGraphContent=null, abstractVideo=null, citation=null, cebUrl=null, magXmlContent=kmTXJWNuYabl1x9DJVeQAA==, mapNumber=null, fund=null)}, authors=[Author(id=1327013347674927865, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, orderNo=0, firstName=null, middleName=null, lastName=null, nameCn=null, orcid=null, stid=null, country=null, authorPic=null, dead=0, email=liqf@nscc-tj.cn, emailSecond=null, emailThird=null, correspondingAuthor=0, authorType=1, ext={EN=AuthorExt(id=1327013347758813947, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013347674927865, language=EN, stringName=Qingfeng Li, firstName=Qingfeng, middleName=null, lastName=Li, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, address=1National Supercomputer Center in Tianjin, Tianjin 300457, bio={"content":"

born in 1993. Master, engineer. His main research interest includes heterogeneous high performance computing

"}, bioImg=null, bioContent=

born in 1993. Master, engineer. His main research interest includes heterogeneous high performance computing

, aboutCorrespAuthor=null), CN=AuthorExt(id=1327013347926586108, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013347674927865, language=CN, stringName=李青峰, firstName=null, middleName=null, lastName=null, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, address=1国家超级计算天津中心 天津 300457, bio={"img":"QpAyen7/vyE4V+4kQxVSNQ==","content":"

1993年生. 硕士,工程师. 主要研究方向为异构高性能计算

"}, bioImg=QpAyen7/vyE4V+4kQxVSNQ==, bioContent=

1993年生. 硕士,工程师. 主要研究方向为异构高性能计算

, aboutCorrespAuthor=null)}, companyList=[AuthorCompany(id=1327013347314217708, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, xref=1, ext=[AuthorCompanyExt(id=1327013347322606317, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347314217708, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1National Supercomputer Center in Tianjin, Tianjin 300457), AuthorCompanyExt(id=1327013347330994926, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347314217708, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1国家超级计算天津中心 天津 300457)])]), Author(id=1327013348002083582, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, orderNo=1, firstName=null, middleName=null, lastName=null, nameCn=null, orcid=null, stid=null, country=null, authorPic=null, dead=0, email=null, emailSecond=null, emailThird=null, correspondingAuthor=0, authorType=1, ext={EN=AuthorExt(id=1327013348081775360, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013348002083582, language=EN, stringName=Yueyan Li, firstName=Yueyan, middleName=null, lastName=Li, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, address=1National Supercomputer Center in Tianjin, Tianjin 300457, bio={"content":"

born in 1993. PhD, engineer. His main research interest includes heterogeneous high performance computing

"}, bioImg=null, bioContent=

born in 1993. PhD, engineer. His main research interest includes heterogeneous high performance computing

, aboutCorrespAuthor=null), CN=AuthorExt(id=1327013348186632961, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013348002083582, language=CN, stringName=李跃岩, firstName=null, middleName=null, lastName=null, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, address=1国家超级计算天津中心 天津 300457, bio={"img":"cZx4lFF1SkZMprGy9/DoIA==","content":"

1993年生. 博士,工程师. 主要研究方向为异构高性能计算

"}, bioImg=cZx4lFF1SkZMprGy9/DoIA==, bioContent=

1993年生. 博士,工程师. 主要研究方向为异构高性能计算

, aboutCorrespAuthor=null)}, companyList=[AuthorCompany(id=1327013347314217708, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, xref=1, ext=[AuthorCompanyExt(id=1327013347322606317, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347314217708, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1National Supercomputer Center in Tianjin, Tianjin 300457), AuthorCompanyExt(id=1327013347330994926, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347314217708, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1国家超级计算天津中心 天津 300457)])]), Author(id=1327013348266324739, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, orderNo=2, firstName=null, middleName=null, lastName=null, nameCn=null, orcid=null, stid=null, country=null, authorPic=null, dead=0, email=null, emailSecond=null, emailThird=null, correspondingAuthor=0, authorType=1, ext={EN=AuthorExt(id=1327013348429902598, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013348266324739, language=EN, stringName=Zhongzhi Luan, firstName=Zhongzhi, middleName=null, lastName=Luan, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=2, address=2Sino-German Joint Software Institute (Beihang University), Beijing 100191, bio={"content":"

born in 1971. PhD, associate professor. His main research interests include distributed computing, high performance computing, parallel computing, computer architecture, cloud computing, and big data

"}, bioImg=null, bioContent=

born in 1971. PhD, associate professor. His main research interests include distributed computing, high performance computing, parallel computing, computer architecture, cloud computing, and big data

, aboutCorrespAuthor=null), CN=AuthorExt(id=1327013348517982983, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013348266324739, language=CN, stringName=栾钟治, firstName=null, middleName=null, lastName=null, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=2, address=2中德软件技术联合研究院(北京航空航天大学) 北京 100191, bio={"img":"STWWj3hG8ZKj52WP2Fz/MA==","content":"

1971年生. 博士,副教授. 主要研究方向为分布式计算、高性能计算、并行计算、计算机系统结构、云计算、大数据

"}, bioImg=STWWj3hG8ZKj52WP2Fz/MA==, bioContent=

1971年生. 博士,副教授. 主要研究方向为分布式计算、高性能计算、并行计算、计算机系统结构、云计算、大数据

, aboutCorrespAuthor=null)}, companyList=[AuthorCompany(id=1327013347402298095, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, xref=2, ext=[AuthorCompanyExt(id=1327013347406492400, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347402298095, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=2Sino-German Joint Software Institute (Beihang University), Beijing 100191), AuthorCompanyExt(id=1327013347414881009, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347402298095, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=2中德软件技术联合研究院(北京航空航天大学) 北京 100191)])]), Author(id=1327013348568314633, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, orderNo=3, firstName=null, middleName=null, lastName=null, nameCn=null, orcid=null, stid=null, country=null, authorPic=null, dead=0, email=null, emailSecond=null, emailThird=null, correspondingAuthor=0, authorType=1, ext={EN=AuthorExt(id=1327013348652200715, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013348568314633, language=EN, stringName=Wenlu Zhang, firstName=Wenlu, middleName=null, lastName=Zhang, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=3, address=3Institute of Physics, Chinese Academy of Sciences, Beijing 100086, bio={"content":"

born in 1975. PhD, professor. His main research interest includes theory and numerical simulation of plasma physics

"}, bioImg=null, bioContent=

born in 1975. PhD, professor. His main research interest includes theory and numerical simulation of plasma physics

, aboutCorrespAuthor=null), CN=AuthorExt(id=1327013348731892492, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013348568314633, language=CN, stringName=张文禄, firstName=null, middleName=null, lastName=null, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=3, address=3中国科学院物理研究所 北京 100086, bio={"img":"UiilKo2XMR2YlUhvoZcisg==","content":"

1975年生. 博士,教授. 主要研究方向为等离子体物理理论和数值模拟

"}, bioImg=UiilKo2XMR2YlUhvoZcisg==, bioContent=

1975年生. 博士,教授. 主要研究方向为等离子体物理理论和数值模拟

, aboutCorrespAuthor=null)}, companyList=[AuthorCompany(id=1327013347498767090, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, xref=3, ext=[AuthorCompanyExt(id=1327013347507155699, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347498767090, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=3Institute of Physics, Chinese Academy of Sciences, Beijing 100086), AuthorCompanyExt(id=1327013347515544308, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347498767090, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=3中国科学院物理研究所 北京 100086)])]), Author(id=1327013348799001358, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, orderNo=4, firstName=null, middleName=null, lastName=null, nameCn=null, orcid=null, stid=null, country=null, authorPic=null, dead=0, email=null, emailSecond=null, emailThird=null, correspondingAuthor=0, authorType=1, ext={EN=AuthorExt(id=1327013348887081745, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013348799001358, language=EN, stringName=Chunye Gong, firstName=Chunye, middleName=null, lastName=Gong, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, 4, address=1National Supercomputer Center in Tianjin, Tianjin 300457
4College of Computing Science and Technology, National University of Defense Technology, Changsha 410073, bio={"content":"

born in 1982. PhD, associate professor. His main research interests include parallel algorithms and automatic performance optimization

"}, bioImg=null, bioContent=

born in 1982. PhD, associate professor. His main research interests include parallel algorithms and automatic performance optimization

, aboutCorrespAuthor=null), CN=AuthorExt(id=1327013348966773522, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013348799001358, language=CN, stringName=龚春叶, firstName=null, middleName=null, lastName=null, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, 4, address=1国家超级计算天津中心 天津 300457
4国防科技大学计算机学院 长沙 410073, bio={"img":"pKPGxgaYdKrOaTS9NI7YOA==","content":"

1982年生. 博士,副研究员. 主要研究方向为并行算法、自动性能优化

"}, bioImg=pKPGxgaYdKrOaTS9NI7YOA==, bioContent=

1982年生. 博士,副研究员. 主要研究方向为并行算法、自动性能优化

, aboutCorrespAuthor=null)}, companyList=[AuthorCompany(id=1327013347314217708, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, xref=1, ext=[AuthorCompanyExt(id=1327013347322606317, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347314217708, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1National Supercomputer Center in Tianjin, Tianjin 300457), AuthorCompanyExt(id=1327013347330994926, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347314217708, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1国家超级计算天津中心 天津 300457)]), AuthorCompany(id=1327013347574264565, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, xref=4, ext=[AuthorCompanyExt(id=1327013347586847478, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347574264565, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=4College of Computing Science and Technology, National University of Defense Technology, Changsha 410073), AuthorCompanyExt(id=1327013347599430391, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347574264565, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=4国防科技大学计算机学院 长沙 410073)])]), Author(id=1327013349054853908, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, orderNo=5, firstName=null, middleName=null, lastName=null, nameCn=null, orcid=null, stid=null, country=null, authorPic=null, dead=0, email=null, emailSecond=null, emailThird=null, correspondingAuthor=0, authorType=1, ext={EN=AuthorExt(id=1327013349176488726, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013349054853908, language=EN, stringName=Gang Zheng, firstName=Gang, middleName=null, lastName=Zheng, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, address=1National Supercomputer Center in Tianjin, Tianjin 300457, bio={"content":"

born in 1988. Master, senior engineer. His main research interests include high performance computing, parallel computing, and large-scale parallel programs

"}, bioImg=null, bioContent=

born in 1988. Master, senior engineer. His main research interests include high performance computing, parallel computing, and large-scale parallel programs

, aboutCorrespAuthor=null), CN=AuthorExt(id=1327013349256180503, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013349054853908, language=CN, stringName=郑刚, firstName=null, middleName=null, lastName=null, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, address=1国家超级计算天津中心 天津 300457, bio={"img":"rOSTlfzXqr4RVGz5gGkwog==","content":"

1988年生. 硕士,高级工程师. 主要研究方向为高性能计算、并行计算、大规模并行程序

"}, bioImg=rOSTlfzXqr4RVGz5gGkwog==, bioContent=

1988年生. 硕士,高级工程师. 主要研究方向为高性能计算、并行计算、大规模并行程序

, aboutCorrespAuthor=null)}, companyList=[AuthorCompany(id=1327013347314217708, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, xref=1, ext=[AuthorCompanyExt(id=1327013347322606317, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347314217708, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1National Supercomputer Center in Tianjin, Tianjin 300457), AuthorCompanyExt(id=1327013347330994926, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347314217708, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1国家超级计算天津中心 天津 300457)])]), Author(id=1327013349323289369, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, orderNo=6, firstName=null, middleName=null, lastName=null, nameCn=null, orcid=null, stid=null, country=null, authorPic=null, dead=0, email=null, emailSecond=null, emailThird=null, correspondingAuthor=0, authorType=1, ext={EN=AuthorExt(id=1327013349415564059, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013349323289369, language=EN, stringName=Bo Kang, firstName=Bo, middleName=null, lastName=Kang, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, address=1National Supercomputer Center in Tianjin, Tianjin 300457, bio={"content":"

born in 1986. PhD, senior engineer. His main research interests include intelligent computing and high performance computing applications

"}, bioImg=null, bioContent=

born in 1986. PhD, senior engineer. His main research interests include intelligent computing and high performance computing applications

, aboutCorrespAuthor=null), CN=AuthorExt(id=1327013349482672924, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013349323289369, language=CN, stringName=康波, firstName=null, middleName=null, lastName=null, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, address=1国家超级计算天津中心 天津 300457, bio={"img":"7iKEfZv1KqAu+IJ9TqETyQ==","content":"

1986年生. 博士,正高级工程师. 主要研究方向为智能计算、高性能计算应用

"}, bioImg=7iKEfZv1KqAu+IJ9TqETyQ==, bioContent=

1986年生. 博士,正高级工程师. 主要研究方向为智能计算、高性能计算应用

, aboutCorrespAuthor=null)}, companyList=[AuthorCompany(id=1327013347314217708, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, xref=1, ext=[AuthorCompanyExt(id=1327013347322606317, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347314217708, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1National Supercomputer Center in Tianjin, Tianjin 300457), AuthorCompanyExt(id=1327013347330994926, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347314217708, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1国家超级计算天津中心 天津 300457)])]), Author(id=1327013349541393182, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, orderNo=7, firstName=null, middleName=null, lastName=null, nameCn=null, orcid=null, stid=null, country=null, authorPic=null, dead=0, email=mengxf@nscc-tj.cn, emailSecond=null, emailThird=null, correspondingAuthor=1, authorType=1, ext={EN=AuthorExt(id=1327013349637862176, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013349541393182, language=EN, stringName=Xiangfei Meng, firstName=Xiangfei, middleName=null, lastName=Meng, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, *, address=1National Supercomputer Center in Tianjin, Tianjin 300457, bio={"content":"

born in 1979. PhD, senior engineer. His main research interests include heterogeneous high performance computing and generative artificial intelligence, responsible for the research and development of the “Tianhe” series of supercomputers

"}, bioImg=null, bioContent=

born in 1979. PhD, senior engineer. His main research interests include heterogeneous high performance computing and generative artificial intelligence, responsible for the research and development of the “Tianhe” series of supercomputers

, aboutCorrespAuthor=null), CN=AuthorExt(id=1327013349709165346, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013349541393182, language=CN, stringName=孟祥飞, firstName=null, middleName=null, lastName=null, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, *, address=1国家超级计算天津中心 天津 300457, bio={"img":"5E6AQ1nusdu6wSjm337z5w==","content":"

1979年生. 博士,正高级工程师. 主要研究方向为异构高性能计算与生成式人工智能,长期负责我国重大自主创新成果“天河”系列超级计算机应用技术研发与开拓

"}, bioImg=5E6AQ1nusdu6wSjm337z5w==, bioContent=

1979年生. 博士,正高级工程师. 主要研究方向为异构高性能计算与生成式人工智能,长期负责我国重大自主创新成果“天河”系列超级计算机应用技术研发与开拓

, aboutCorrespAuthor=null)}, companyList=[AuthorCompany(id=1327013347314217708, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, xref=1, ext=[AuthorCompanyExt(id=1327013347322606317, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347314217708, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1National Supercomputer Center in Tianjin, Tianjin 300457), AuthorCompanyExt(id=1327013347330994926, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347314217708, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1国家超级计算天津中心 天津 300457)])])], keywords=[Keyword(id=1327013349843383075, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, language=EN, orderNo=1, keyword=particle in cell (PIC)), Keyword(id=1327013349918880548, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, language=EN, orderNo=2, keyword=gyrokinetic simulation), Keyword(id=1327013350044709669, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, language=EN, orderNo=3, keyword=memory intensive), Keyword(id=1327013350124401446, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, language=EN, orderNo=4, keyword=high arithmetic intensity system), Keyword(id=1327013350220870439, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, language=EN, orderNo=5, keyword=heterogeneous programming), Keyword(id=1327013350300562216, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, language=CN, orderNo=1, keyword=粒子网格法), Keyword(id=1327013350392836905, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, language=CN, orderNo=2, keyword=回旋动理学模拟), Keyword(id=1327013350661272362, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, language=CN, orderNo=3, keyword=访存密集型), Keyword(id=1327013350757741355, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, language=CN, orderNo=4, keyword=高计算密度系统), Keyword(id=1327013350841627436, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, language=CN, orderNo=5, keyword=异构开发)], refs=[Reference(id=1327013353031054144, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, doi=null, pmid=null, pmcid=null, year=null, volume=null, issue=null, pageStart=null, pageEnd=null, url=null, language=null, rfNumber=1, rfOrder=0, authorNames=null, journalName=null, refType=null, unstructuredReference=Sheffield J. The physics of magnetic fusion reactors[J]. Review of Modern Physics, 1994, 66(3): 1015−1103, articleTitle=null, refAbstract=null), Reference(id=1327013353110745921, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, doi=null, pmid=null, pmcid=null, year=null, volume=null, issue=null, pageStart=null, pageEnd=null, url=null, language=null, rfNumber=2, rfOrder=1, authorNames=null, journalName=null, refType=null, unstructuredReference=Lawson J D. Some criteria for a power producing thermonuclear reactor[J]. Proceedings of the Physical Society: Section B, 1957, 70(1): 6−10, articleTitle=null, refAbstract=null), Reference(id=1327013353186243394, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, doi=null, pmid=null, pmcid=null, year=null, volume=null, issue=null, pageStart=null, pageEnd=null, url=null, language=null, rfNumber=3, rfOrder=2, authorNames=null, journalName=null, refType=null, unstructuredReference=Catto P J, Tang W M, Baldwin D E. Generalized gyrokinetics[J]. Plasma Physics, 1981, 23(7): No. 639, articleTitle=null, refAbstract=null), Reference(id=1327013353270129475, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, doi=null, pmid=null, pmcid=null, year=null, volume=null, issue=null, pageStart=null, pageEnd=null, url=null, language=null, rfNumber=4, rfOrder=3, authorNames=null, journalName=null, refType=null, unstructuredReference=Frieman E A, Chen Liu. Nonlinear gyrokinetic equations for low-frequency electromagnetic waves in general plasma equilibria[J]. The Physics of Fluids, 1982, 25(3): 502-508, articleTitle=null, refAbstract=null), Reference(id=1327013353404347204, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, doi=null, pmid=null, pmcid=null, year=null, volume=null, issue=null, pageStart=null, pageEnd=null, url=null, language=null, rfNumber=5, rfOrder=4, authorNames=null, journalName=null, refType=null, unstructuredReference=Brizard A J, Hahm T S. Foundations of nonlinear gyrokinetic theory[J]. Review of Modern Physics, 2007, 79(2): 421−468, articleTitle=null, refAbstract=null), Reference(id=1327013353479844677, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, doi=null, pmid=null, pmcid=null, year=null, volume=null, issue=null, pageStart=null, pageEnd=null, url=null, language=null, rfNumber=6, rfOrder=5, authorNames=null, journalName=null, refType=null, unstructuredReference=Lee W W, Tang W M. Gyrokinetic particle simulation of ion temperature gradient drift instabilities[J]. The Physics of Fluids, 1988, 31(3): 612−624, articleTitle=null, refAbstract=null), Reference(id=1327013353563730758, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, doi=null, pmid=null, pmcid=null, year=null, volume=null, issue=null, pageStart=null, pageEnd=null, url=null, language=null, rfNumber=7, rfOrder=6, authorNames=null, journalName=null, refType=null, unstructuredReference=Parker S E, Lee W W. A fully nonlinear characteristic method for gyrokinetic simulation[J]. Physics of Fluids B Plasma Physics, 1993, 5(1): 77−86, articleTitle=null, refAbstract=null), Reference(id=1327013353639228231, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, doi=null, pmid=null, pmcid=null, year=null, volume=null, issue=null, pageStart=null, pageEnd=null, url=null, language=null, rfNumber=8, rfOrder=7, authorNames=null, journalName=null, refType=null, unstructuredReference=Lin Zhihong, Tang W M, Lee W W. Gyrokinetic particle simulation of neoclassical transport[J]. Physics of Plasmas, 1995, 2(8): 2975−2988, articleTitle=null, refAbstract=null), Reference(id=1327013353781834568, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, doi=null, pmid=null, pmcid=null, year=null, volume=null, issue=null, pageStart=null, pageEnd=null, url=null, language=null, rfNumber=9, rfOrder=8, authorNames=null, journalName=null, refType=null, unstructuredReference=Meng Xiangfei, Zhu Xiaoqian, Wang Peng, et al. Heterogeneous programming and optimization of gyrokinetic toroidal code and large-scale performance test on th−1a [C] //Proc of the ISC 2013. Berlin: Springer, 2013: 81−96, articleTitle=null, refAbstract=null), Reference(id=1327013353878303561, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, doi=null, pmid=null, pmcid=null, year=null, volume=null, issue=null, pageStart=null, pageEnd=null, url=null, language=null, rfNumber=10, rfOrder=9, authorNames=null, journalName=null, refType=null, unstructuredReference=Zhang Wenlu, Joubert W, Wang Peng, et al. Heterogeneous programming and optimization of gyrokinetic toroidal code using directives[C]//Proc of the 5th Int Workshop on Accelerator Programming Using Directives. Cham: Springer, 2019: 3−21, articleTitle=null, refAbstract=null), Reference(id=1327013353978966858, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, doi=null, pmid=null, pmcid=null, year=null, volume=null, issue=null, pageStart=null, pageEnd=null, url=null, language=null, rfNumber=11, rfOrder=10, authorNames=null, journalName=null, refType=null, unstructuredReference=Noé O, Gheller C, Lanti E, et al. Gyrokinetic simulations on many- and multi-core architectures with the global electromagnetic particle-in-cell code ORB5[J]. Computer Physics Communications, 2021, 262: 107208, articleTitle=null, refAbstract=null), Reference(id=1327013354046075723, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, doi=null, pmid=null, pmcid=null, year=null, volume=null, issue=null, pageStart=null, pageEnd=null, url=null, language=null, rfNumber=12, rfOrder=11, authorNames=null, journalName=null, refType=null, unstructuredReference=Wang Endong, Wu Shaohua, Zhang Qing, et al. The gyrokinetic particle simulation of fusion plasmas on TIANHE−2 supercomputer[C]// Proc of the 7th Workshop on Latest Advances in Scalable Algorithms for Large-Scale Systems. Piscataway, NJ: IEEE, 2016: 25−32, articleTitle=null, refAbstract=null), Reference(id=1327013354125767500, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, doi=null, pmid=null, pmcid=null, year=null, volume=null, issue=null, pageStart=null, pageEnd=null, url=null, language=null, rfNumber=13, rfOrder=12, authorNames=null, journalName=null, refType=null, unstructuredReference=Dannert T, Marek A, Rampp M. Porting large HPC applications to GPU clusters: The codes gene and vertex[J]. Advances in Parallel Computing, 2013, 25: 305−314, articleTitle=null, refAbstract=null), Reference(id=1327013354201264973, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, doi=null, pmid=null, pmcid=null, year=null, volume=null, issue=null, pageStart=null, pageEnd=null, url=null, language=null, rfNumber=14, rfOrder=13, authorNames=null, journalName=null, refType=null, unstructuredReference=Lu Kai, Wang Yaohua, Guo Yang. et al. MT-3000: A heterogeneous multi-zone processor for HPC[J]. CCF Transactions on High Performance Computing. 2022, 4(2): 150–164, articleTitle=null, refAbstract=null), Reference(id=1327013354293539662, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, doi=null, pmid=null, pmcid=null, year=null, volume=null, issue=null, pageStart=null, pageEnd=null, url=null, language=null, rfNumber=15, rfOrder=14, authorNames=null, journalName=null, refType=null, unstructuredReference=Madduri K, Ibrahim K Z, Williams S, et al. Gyrokinetic toroidal simulations on leading multi- and manycore HPC systems[C/OL]// Proc of the 11th SC. Piscataway, NJ: IEEE, 2011[2024-02-25]. https://xplorestaging.ieee.org/document/6114454/metrics#citations, articleTitle=null, refAbstract=null), Reference(id=1327013354360648527, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, doi=null, pmid=null, pmcid=null, year=null, volume=null, issue=null, pageStart=null, pageEnd=null, url=null, language=null, rfNumber=16, rfOrder=15, authorNames=null, journalName=null, refType=null, unstructuredReference=Feng Hongying, Zhang Wenlu, Dong Chao, et al. Verification of linear resistive tearing instability with gyrokinetic particle code virtex[J]. Physics of Plasmas, 2017, 24(10): 1−9, articleTitle=null, refAbstract=null)], funds=null, companyList=[AuthorCompany(id=1327013347314217708, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, xref=1, ext=[AuthorCompanyExt(id=1327013347322606317, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347314217708, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1National Supercomputer Center in Tianjin, Tianjin 300457), AuthorCompanyExt(id=1327013347330994926, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347314217708, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1国家超级计算天津中心 天津 300457)]), AuthorCompany(id=1327013347402298095, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, xref=2, ext=[AuthorCompanyExt(id=1327013347406492400, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347402298095, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=2Sino-German Joint Software Institute (Beihang University), Beijing 100191), AuthorCompanyExt(id=1327013347414881009, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347402298095, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=2中德软件技术联合研究院(北京航空航天大学) 北京 100191)]), AuthorCompany(id=1327013347498767090, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, xref=3, ext=[AuthorCompanyExt(id=1327013347507155699, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347498767090, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=3Institute of Physics, Chinese Academy of Sciences, Beijing 100086), AuthorCompanyExt(id=1327013347515544308, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347498767090, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=3中国科学院物理研究所 北京 100086)]), AuthorCompany(id=1327013347574264565, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, xref=4, ext=[AuthorCompanyExt(id=1327013347586847478, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347574264565, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=4College of Computing Science and Technology, National University of Defense Technology, Changsha 410073), AuthorCompanyExt(id=1327013347599430391, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347574264565, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=4国防科技大学计算机学院 长沙 410073)])], figs=[ArticleFig(id=1327013351080702765, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, language=EN, label=Figure 1, caption=Architecture of MT-3000, figureFileSmall=/84KLY3VrVb/viKzCfUKDA==, figureFileBig=LbGRKpKOsWLvDiv6d3qN/A==, tableContent=null), ArticleFig(id=1327013351181366062, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, language=CN, label=图1, caption=MT-3000架构, figureFileSmall=/84KLY3VrVb/viKzCfUKDA==, figureFileBig=LbGRKpKOsWLvDiv6d3qN/A==, tableContent=null), ArticleFig(id=1327013351445607215, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, language=EN, label=Figure 2, caption=Main structure and hotspot distribution of VirtEx code, figureFileSmall=/6SWJOIw//vVBOum4nHKOw==, figureFileBig=OzlYp1MSzSk6y3urWnz5kQ==, tableContent=null), ArticleFig(id=1327013351512716080, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, language=CN, label=图2, caption=VirtEx代码的主要结构及热点分布, figureFileSmall=/6SWJOIw//vVBOum4nHKOw==, figureFileBig=OzlYp1MSzSk6y3urWnz5kQ==, tableContent=null), ArticleFig(id=1327013351617573681, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, language=EN, label=Figure 3, caption=Comparison of the real value and numerical fitting of the location index variable igrid, figureFileSmall=OgyPvqFxok33pSNs9NfCPA==, figureFileBig=Uj0pNQ5d045o37xpesjenQ==, tableContent=null), ArticleFig(id=1327013351714042674, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, language=CN, label=图3, caption=位置索引变量igrid真实值与数值拟合的对比, figureFileSmall=OgyPvqFxok33pSNs9NfCPA==, figureFileBig=Uj0pNQ5d045o37xpesjenQ==, tableContent=null), ArticleFig(id=1327013351781151539, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, language=EN, label=Figure 4, caption=Comparison of particle lattice numbers under different sorting algorithms, figureFileSmall=A7FPGKf28+9NobFtAkZWdA==, figureFileBig=S8QVLzg3LzUAAUwMma1iBw==, tableContent=null), ArticleFig(id=1327013351869231924, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, language=CN, label=图4, caption=不同排序算法下的粒子格点编号对比, figureFileSmall=A7FPGKf28+9NobFtAkZWdA==, figureFileBig=S8QVLzg3LzUAAUwMma1iBw==, tableContent=null), ArticleFig(id=1327013352020226869, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, language=EN, label=Figure 5, caption=Weak scalability test results from 120 to 3 840 nodes, figureFileSmall=xEov7JsW5ttWn9Qb/gDu9g==, figureFileBig=IEyecguLn4CP6PvMHn8w9Q==, tableContent=null), ArticleFig(id=1327013352187999030, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, language=CN, label=图5, caption=120个节点到3 840个节点的弱扩展性测试结果, figureFileSmall=xEov7JsW5ttWn9Qb/gDu9g==, figureFileBig=IEyecguLn4CP6PvMHn8w9Q==, tableContent=null), ArticleFig(id=1327013352343188279, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, language=EN, label=Table 1, caption=Initial Calculated Density Statistics of VirtEx Hot Spot Function, figureFileSmall=null, figureFileBig=null, tableContent=
函数浮点计算量/FLO访存量/B计算密度/FLOPB
注:变量mp表示粒子数量,变量前系数为热点函数中每个粒子计算访存量的统计值.
PG269mp232mp1.15
PI462mp224mp1.98
Locate238mp200mp1.17
Charge158mp200mp0.75
), ArticleFig(id=1327013352427074360, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, language=CN, label=表1, caption=

VirtEx热点函数的初始计算密度统计

, figureFileSmall=null, figureFileBig=null, tableContent=
函数浮点计算量/FLO访存量/B计算密度/FLOPB
注:变量mp表示粒子数量,变量前系数为热点函数中每个粒子计算访存量的统计值.
PG269mp232mp1.15
PI462mp224mp1.98
Locate238mp200mp1.17
Charge158mp200mp0.75
), ArticleFig(id=1327013352515154745, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, language=EN, label=Table 2, caption=Cache Hit Rate for Disturbance Field Variable gradphi Under Different Sorting Algorithms, figureFileSmall=null, figureFileBig=null, tableContent=
排序算法缓存命中率/%
不排序77.99
psi排序84.47
igrid排序99.15
), ArticleFig(id=1327013352603235130, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, language=CN, label=表2, caption=

不同排序算法下针对扰动场变量gradphi的缓存命中率

, figureFileSmall=null, figureFileBig=null, tableContent=
排序算法缓存命中率/%
不排序77.99
psi排序84.47
igrid排序99.15
), ArticleFig(id=1327013352670343995, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, language=EN, label=Table 3, caption=Hot Spot Function is Merged and Optimized to Calculate the Density Statistics, figureFileSmall=null, figureFileBig=null, tableContent=
函数浮点计算量/FLO访存量/B计算密度/FLOPB
注:变量mp表示粒子数量,变量前系数为热点函数中每个粒子计算访存量的统计值;PushOpt是函数Push的优化.
PG277mp198.64mp1.39
PI1 888mp152mp12.4
Locate12 161mp216mp56.3
PushOpt14 326mp134.64mp106.4
), ArticleFig(id=1327013352758424380, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, language=CN, label=表3, caption=

热点函数合并优化后计算密度统计

, figureFileSmall=null, figureFileBig=null, tableContent=
函数浮点计算量/FLO访存量/B计算密度/FLOPB
注:变量mp表示粒子数量,变量前系数为热点函数中每个粒子计算访存量的统计值;PushOpt是函数Push的优化.
PG277mp198.64mp1.39
PI1 888mp152mp12.4
Locate12 161mp216mp56.3
PushOpt14 326mp134.64mp106.4
), ArticleFig(id=1327013352842310461, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, language=EN, label=Table 4, caption=Performance of Benchmark Examples, figureFileSmall=null, figureFileBig=null, tableContent=
热点函数CPU版本优化后版本加速比
计算时间/s占比/%计算时间/s占比/%
注:“占比”指各个函数在主循环中的时间占比.
主循环845.63100201.461004.2
Push323.8638.3029.6414.7110.9
Locate128.6915.229.674.8013.3
Charge275.1932.5416.988.4316.2
), ArticleFig(id=1327013352926196543, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, language=CN, label=表4, caption=

基准算例的性能表现

, figureFileSmall=null, figureFileBig=null, tableContent=
热点函数CPU版本优化后版本加速比
计算时间/s占比/%计算时间/s占比/%
注:“占比”指各个函数在主循环中的时间占比.
主循环845.63100201.461004.2
Push323.8638.3029.6414.7110.9
Locate128.6915.229.674.8013.3
Charge275.1932.5416.988.4316.2
)], attaches=null, journal=Journal(id=1324759606947315908, delFlag=0, nameCn=计算机研究与发展, nameEn=Journal of Computer Research and Development, nameHistory1=null, nameHistory2=null, issn=1000-1239, eissn=null, cn=11-1777/TP, coden=null, periodic=0, language=CN, oaType=null, ccby=null, superviseOffice=null, ownerOffice=null, pubOffice=null, editorOffice=null, officeType=null, aims=null, clcCode=null, officeProv=null, officeCity=null, officeAddr=null, officeZip=null, officeEmail=null, officePhone=null, editDirector=null, officeDirector=null, officeDirectorPhone=null, officeStaffNum=null, officeEmpNum=null, coverPicUrl=k2l8zgqwstuxxevFX2qxVA==, journalPrice=null, startedYear=null, abbrevIsoEn=Journal of Computer Research and Development, journalRemark=null, publicationField=null, createdTime=1793776903141, updatedTime=1793850698612, createdBy=18614031015, updatedBy=13701087609, firstLetterCn=J, firstLetterEn=J, subjectCode=Electronic Information, subjectName=null, subjectCodeEn=Electronic Information, subjectNameEn=null, picCn=k2l8zgqwstuxxevFX2qxVA==, picEn=r6k0Ry+RD+c/VXj5QarmDw==, jcr=null, cjcr=null, exts=[JournalExt(id=1325069127710286688, language=CN, name=计算机研究与发展, nameHistory1=null, nameHistory2=null, managedBy=, sponsoredBy=, publishedBy=, editorOffice=, officeProv=null, officeCity=null, officeAddr=, officeZip=, editDirector=, officeDirector=null, officePhone=null, coverPicUrl=null, journalRemark=, submitArticleUrl=null, websiteUrl=, createdTime=1793850698640, updatedTime=1793850698640, createdBy=13701087609, updatedBy=13701087609, submissionGuidelinesUrl=, submissionAuthorUrl=https://crad.ict.ac.cn/journalx/authorLogOn.action, submissionEditorUrl=https://crad.ict.ac.cn/journalx/editorLogOn.action, submissionReviewUrl=https://crad.ict.ac.cn/journalx/expertLogOn.action, submissionCeEditorUrl=https://crad.ict.ac.cn/journalx/editorInChiefLogOn.action, submissionAeEditorUrl=, option={"copyright":""}), JournalExt(id=1325069127777395553, language=EN, name=Journal of Computer Research and Development, nameHistory1=null, nameHistory2=null, managedBy=, sponsoredBy=, publishedBy=, editorOffice=, officeProv=null, officeCity=null, officeAddr=, officeZip=, editDirector=, officeDirector=null, officePhone=null, coverPicUrl=null, journalRemark=, submitArticleUrl=null, websiteUrl=, createdTime=1793850698656, updatedTime=1793850698656, createdBy=13701087609, updatedBy=13701087609, submissionGuidelinesUrl=, submissionAuthorUrl=https://crad.ict.ac.cn/journalx/authorLogOn.action, submissionEditorUrl=https://crad.ict.ac.cn/journalx/editorLogOn.action, submissionReviewUrl=https://crad.ict.ac.cn/journalx/expertLogOn.action, submissionCeEditorUrl=https://crad.ict.ac.cn/journalx/editorInChiefLogOn.action, submissionAeEditorUrl=, option={"copyright":""})], databaseList=null, tenantJournalId=1324759914146529478, websiteList=[Website(id=1325070300139892771, webName=null, webTitle=null, webDomain=null, webCopyrigh=null, webIpcNo=null, seoTitle=null, seoKeywords=null, seoDescription=null, tenantJournalId=null, journalId=1324759914146529478, journalNameCn=null, journalNameEn=null, grayFlag=null, tenantId=1146029695717560320, platformId=null, journalGroupId=null, journalGroupNameCn=null, journalGroupNameEn=null, type=1, domain=https://castjournals.cast.org.cn/joweb/jsjyjyfz/CN, language=CN, createTime=1793850978169, createBy=18614031015, updateTime=1793851040259, updateBy=18614031015, name=计算机研究与发展-中文, tplId=1146099689490845704, title=计算机研究与发展, delFlag=0, indexPage=/home, props=[WebsiteProps(id=1325070893751349360, tenantId=1146029695717560320, journalId=null, journalGroupId=null, siteId=1325070300139892771, code=articleTextType, value=kx, createTime=1793851119697, updateTime=1793851119697, creator=18614031015, updator=18614031015), WebsiteProps(id=1325070893730377837, tenantId=1146029695717560320, journalId=null, journalGroupId=null, siteId=1325070300139892771, code=banner, value=null, createTime=1793851119692, updateTime=1793851119692, creator=18614031015, updator=18614031015), WebsiteProps(id=1325070893772320883, tenantId=1146029695717560320, journalId=null, journalGroupId=null, siteId=1325070300139892771, code=grayFlag, value=0, createTime=1793851119702, updateTime=1793851119702, creator=18614031015, updator=18614031015), WebsiteProps(id=1325070893721989228, tenantId=1146029695717560320, journalId=null, journalGroupId=null, siteId=1325070300139892771, code=logo, value=https://castjournals.cast.org.cn/joweb/jsjyjyfz/CN/file/pic?fileId=U27tDsy717YF7XSPA+Vwdw==, createTime=1793851119690, updateTime=1793851119690, creator=18614031015, updator=18614031015), WebsiteProps(id=1325070893784903797, tenantId=1146029695717560320, journalId=null, journalGroupId=null, siteId=1325070300139892771, code=minRunFlag, value=0, createTime=1793851119705, updateTime=1793851119705, creator=18614031015, updator=18614031015), WebsiteProps(id=1325070893742960751, tenantId=1146029695717560320, journalId=null, journalGroupId=null, siteId=1325070300139892771, code=picServerUrl, value=https://castjournals.cast.org.cn/joweb/jsjyjyfz/CN/file/pic, createTime=1793851119695, updateTime=1793851119695, creator=18614031015, updator=18614031015), WebsiteProps(id=1325070893780709492, tenantId=1146029695717560320, journalId=null, journalGroupId=null, siteId=1325070300139892771, code=silenceFlag, value=0, createTime=1793851119704, updateTime=1793851119704, creator=18614031015, updator=18614031015), WebsiteProps(id=1325070893738766446, tenantId=1146029695717560320, journalId=null, journalGroupId=null, siteId=1325070300139892771, code=staticResourcePath, value=https://castjournals.cast.org.cn/joweb/cast_kjdb_cn_619/, createTime=1793851119694, updateTime=1793851119694, creator=18614031015, updator=18614031015), WebsiteProps(id=1325070893755543665, tenantId=1146029695717560320, journalId=null, journalGroupId=null, siteId=1325070300139892771, code=themeColor, value=null, createTime=1793851119698, updateTime=1793851119698, creator=18614031015, updator=18614031015), WebsiteProps(id=1325070893763932274, tenantId=1146029695717560320, journalId=null, journalGroupId=null, siteId=1325070300139892771, code=themeStyle, value=null, createTime=1793851119700, updateTime=1793851119700, creator=18614031015, updator=18614031015)]), Website(id=1325070300580294698, webName=null, webTitle=null, webDomain=null, webCopyrigh=null, webIpcNo=null, seoTitle=null, seoKeywords=null, seoDescription=null, tenantJournalId=null, journalId=1324759914146529478, journalNameCn=null, journalNameEn=null, grayFlag=null, tenantId=1146029695717560320, platformId=null, journalGroupId=null, journalGroupNameCn=null, journalGroupNameEn=null, type=1, domain=https://castjournals.cast.org.cn/joweb/jsjyjyfz/EN, language=EN, createTime=1793850978274, createBy=18614031015, updateTime=1793851036638, updateBy=18614031015, name=计算机研究与发展-英文, tplId=1146101810881728533, title=Journal of Computer Research and Development, delFlag=0, indexPage=/home, props=[WebsiteProps(id=1325070925288321148, tenantId=1146029695717560320, journalId=null, journalGroupId=null, siteId=1325070300580294698, code=articleTextType, value=kx, createTime=1793851127216, updateTime=1793851127216, creator=18614031015, updator=18614031015), WebsiteProps(id=1325070925263155321, tenantId=1146029695717560320, journalId=null, journalGroupId=null, siteId=1325070300580294698, code=banner, value=null, createTime=1793851127210, updateTime=1793851127210, creator=18614031015, updator=18614031015), WebsiteProps(id=1325070925309292671, tenantId=1146029695717560320, journalId=null, journalGroupId=null, siteId=1325070300580294698, code=grayFlag, value=0, createTime=1793851127221, updateTime=1793851127221, creator=18614031015, updator=18614031015), WebsiteProps(id=1325070925254766712, tenantId=1146029695717560320, journalId=null, journalGroupId=null, siteId=1325070300580294698, code=logo, value=https://castjournals.cast.org.cn/joweb/jsjyjyfz/EN/file/pic?fileId=U27tDsy717YF7XSPA+Vwdw==, createTime=1793851127208, updateTime=1793851127208, creator=18614031015, updator=18614031015), WebsiteProps(id=1325070925326069889, tenantId=1146029695717560320, journalId=null, journalGroupId=null, siteId=1325070300580294698, code=minRunFlag, value=0, createTime=1793851127225, updateTime=1793851127225, creator=18614031015, updator=18614031015), WebsiteProps(id=1325070925279932539, tenantId=1146029695717560320, journalId=null, journalGroupId=null, siteId=1325070300580294698, code=picServerUrl, value=https://castjournals.cast.org.cn/joweb/jsjyjyfz/EN/file/pic, createTime=1793851127214, updateTime=1793851127214, creator=18614031015, updator=18614031015), WebsiteProps(id=1325070925317681280, tenantId=1146029695717560320, journalId=null, journalGroupId=null, siteId=1325070300580294698, code=silenceFlag, value=0, createTime=1793851127223, updateTime=1793851127223, creator=18614031015, updator=18614031015), WebsiteProps(id=1325070925271543930, tenantId=1146029695717560320, journalId=null, journalGroupId=null, siteId=1325070300580294698, code=staticResourcePath, value=https://castjournals.cast.org.cn/joweb/cast_kjdb_en_623/, createTime=1793851127212, updateTime=1793851127212, creator=18614031015, updator=18614031015), WebsiteProps(id=1325070925292515453, tenantId=1146029695717560320, journalId=null, journalGroupId=null, siteId=1325070300580294698, code=themeColor, value=null, createTime=1793851127217, updateTime=1793851127217, creator=18614031015, updator=18614031015), WebsiteProps(id=1325070925300904062, tenantId=1146029695717560320, journalId=null, journalGroupId=null, siteId=1325070300580294698, code=themeStyle, value=null, createTime=1793851127219, updateTime=1793851127219, creator=18614031015, updator=18614031015)])], journalTitle=计算机研究与发展, weixinUrl=null, journalUrl=https://crad.ict.ac.cn/, iacademicId=null, status=1, seqNo=null, journalTitleEn=Journal of Computer Research and Development, journalPhotoCn=k2l8zgqwstuxxevFX2qxVA==, journalPhotoEn=r6k0Ry+RD+c/VXj5QarmDw==, journalFirstLetter=J, journalRecommend=null, journalNew=null, journalCollection=null, jcrJf=null, cjcrJf=null, jcrJfStr=null, cjcrJfStr=null, submissionFirstDecision=null, sciSubjectClassification=null, casSubjectClassification=null, citeScore=null, totalCitationFrequency=null, icpCode=null, psCode=null, advertisingLicenseCode=null, copyrightInformation=null, country=null, option=, provinceCode=null, provinceName=null, collectFlag=false, interPubPlatform=, interPubPlatformUrl=null), detailUrlCn=https://castjournals.cast.org.cn/joweb/jsjyjyfz/CN/10.7544/issn1000-1239.202330872, detailUrlEn=https://castjournals.cast.org.cn/joweb/jsjyjyfz/EN/10.7544/issn1000-1239.202330872, pdfUrlCn=https://castjournals.cast.org.cn/joweb/jsjyjyfz/CN/PDF/10.7544/issn1000-1239.202330872, pdfUrlEn=https://castjournals.cast.org.cn/joweb/jsjyjyfz/EN/PDF/10.7544/issn1000-1239.202330872, aliStartDate=0, aliEndDate=0, collectionFlag=false, citedCount=null, citedUrl=null, previewStatus=0, delFlag=0, hasFullText=1, orderTime=1751299200000, fullTextJson=null, articleText=null, reference=null)
收藏切换
面向天河超算的回旋动理学模拟代码异构开发及优化
李青峰 1 , 李跃岩 1 , 栾钟治 2 , 张文禄 3 , 龚春叶 1, 4 , 郑刚 1 , 康波 1 , 孟祥飞 1, *
计算机研究与发展 | 高性能计算 2025,62(7): 1797-1804
收起
收藏切换
计算机研究与发展 |高性能计算 2025 , 62 (7) : 1797 -1804
面向天河超算的回旋动理学模拟代码异构开发及优化
全屏
[Author(id=1327013347674927865, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, orderNo=0, firstName=null, middleName=null, lastName=null, nameCn=null, orcid=null, stid=null, country=null, authorPic=null, dead=0, email=liqf@nscc-tj.cn, emailSecond=null, emailThird=null, correspondingAuthor=0, authorType=1, ext={EN=AuthorExt(id=1327013347758813947, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013347674927865, language=EN, stringName=Qingfeng Li, firstName=Qingfeng, middleName=null, lastName=Li, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, address=1National Supercomputer Center in Tianjin, Tianjin 300457, bio={"content":"

born in 1993. Master, engineer. His main research interest includes heterogeneous high performance computing

"}, bioImg=null, bioContent=

born in 1993. Master, engineer. His main research interest includes heterogeneous high performance computing

, aboutCorrespAuthor=null), CN=AuthorExt(id=1327013347926586108, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013347674927865, language=CN, stringName=李青峰, firstName=null, middleName=null, lastName=null, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, address=1国家超级计算天津中心 天津 300457, bio={"img":"QpAyen7/vyE4V+4kQxVSNQ==","content":"

1993年生. 硕士,工程师. 主要研究方向为异构高性能计算

"}, bioImg=QpAyen7/vyE4V+4kQxVSNQ==, bioContent=

1993年生. 硕士,工程师. 主要研究方向为异构高性能计算

, aboutCorrespAuthor=null)}, companyList=[AuthorCompany(id=1327013347314217708, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, xref=1, ext=[AuthorCompanyExt(id=1327013347322606317, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347314217708, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1National Supercomputer Center in Tianjin, Tianjin 300457), AuthorCompanyExt(id=1327013347330994926, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347314217708, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1国家超级计算天津中心 天津 300457)])]), Author(id=1327013348002083582, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, orderNo=1, firstName=null, middleName=null, lastName=null, nameCn=null, orcid=null, stid=null, country=null, authorPic=null, dead=0, email=null, emailSecond=null, emailThird=null, correspondingAuthor=0, authorType=1, ext={EN=AuthorExt(id=1327013348081775360, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013348002083582, language=EN, stringName=Yueyan Li, firstName=Yueyan, middleName=null, lastName=Li, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, address=1National Supercomputer Center in Tianjin, Tianjin 300457, bio={"content":"

born in 1993. PhD, engineer. His main research interest includes heterogeneous high performance computing

"}, bioImg=null, bioContent=

born in 1993. PhD, engineer. His main research interest includes heterogeneous high performance computing

, aboutCorrespAuthor=null), CN=AuthorExt(id=1327013348186632961, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013348002083582, language=CN, stringName=李跃岩, firstName=null, middleName=null, lastName=null, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, address=1国家超级计算天津中心 天津 300457, bio={"img":"cZx4lFF1SkZMprGy9/DoIA==","content":"

1993年生. 博士,工程师. 主要研究方向为异构高性能计算

"}, bioImg=cZx4lFF1SkZMprGy9/DoIA==, bioContent=

1993年生. 博士,工程师. 主要研究方向为异构高性能计算

, aboutCorrespAuthor=null)}, companyList=[AuthorCompany(id=1327013347314217708, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, xref=1, ext=[AuthorCompanyExt(id=1327013347322606317, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347314217708, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1National Supercomputer Center in Tianjin, Tianjin 300457), AuthorCompanyExt(id=1327013347330994926, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347314217708, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1国家超级计算天津中心 天津 300457)])]), Author(id=1327013348266324739, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, orderNo=2, firstName=null, middleName=null, lastName=null, nameCn=null, orcid=null, stid=null, country=null, authorPic=null, dead=0, email=null, emailSecond=null, emailThird=null, correspondingAuthor=0, authorType=1, ext={EN=AuthorExt(id=1327013348429902598, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013348266324739, language=EN, stringName=Zhongzhi Luan, firstName=Zhongzhi, middleName=null, lastName=Luan, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=2, address=2Sino-German Joint Software Institute (Beihang University), Beijing 100191, bio={"content":"

born in 1971. PhD, associate professor. His main research interests include distributed computing, high performance computing, parallel computing, computer architecture, cloud computing, and big data

"}, bioImg=null, bioContent=

born in 1971. PhD, associate professor. His main research interests include distributed computing, high performance computing, parallel computing, computer architecture, cloud computing, and big data

, aboutCorrespAuthor=null), CN=AuthorExt(id=1327013348517982983, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013348266324739, language=CN, stringName=栾钟治, firstName=null, middleName=null, lastName=null, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=2, address=2中德软件技术联合研究院(北京航空航天大学) 北京 100191, bio={"img":"STWWj3hG8ZKj52WP2Fz/MA==","content":"

1971年生. 博士,副教授. 主要研究方向为分布式计算、高性能计算、并行计算、计算机系统结构、云计算、大数据

"}, bioImg=STWWj3hG8ZKj52WP2Fz/MA==, bioContent=

1971年生. 博士,副教授. 主要研究方向为分布式计算、高性能计算、并行计算、计算机系统结构、云计算、大数据

, aboutCorrespAuthor=null)}, companyList=[AuthorCompany(id=1327013347402298095, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, xref=2, ext=[AuthorCompanyExt(id=1327013347406492400, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347402298095, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=2Sino-German Joint Software Institute (Beihang University), Beijing 100191), AuthorCompanyExt(id=1327013347414881009, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347402298095, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=2中德软件技术联合研究院(北京航空航天大学) 北京 100191)])]), Author(id=1327013348568314633, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, orderNo=3, firstName=null, middleName=null, lastName=null, nameCn=null, orcid=null, stid=null, country=null, authorPic=null, dead=0, email=null, emailSecond=null, emailThird=null, correspondingAuthor=0, authorType=1, ext={EN=AuthorExt(id=1327013348652200715, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013348568314633, language=EN, stringName=Wenlu Zhang, firstName=Wenlu, middleName=null, lastName=Zhang, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=3, address=3Institute of Physics, Chinese Academy of Sciences, Beijing 100086, bio={"content":"

born in 1975. PhD, professor. His main research interest includes theory and numerical simulation of plasma physics

"}, bioImg=null, bioContent=

born in 1975. PhD, professor. His main research interest includes theory and numerical simulation of plasma physics

, aboutCorrespAuthor=null), CN=AuthorExt(id=1327013348731892492, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013348568314633, language=CN, stringName=张文禄, firstName=null, middleName=null, lastName=null, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=3, address=3中国科学院物理研究所 北京 100086, bio={"img":"UiilKo2XMR2YlUhvoZcisg==","content":"

1975年生. 博士,教授. 主要研究方向为等离子体物理理论和数值模拟

"}, bioImg=UiilKo2XMR2YlUhvoZcisg==, bioContent=

1975年生. 博士,教授. 主要研究方向为等离子体物理理论和数值模拟

, aboutCorrespAuthor=null)}, companyList=[AuthorCompany(id=1327013347498767090, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, xref=3, ext=[AuthorCompanyExt(id=1327013347507155699, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347498767090, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=3Institute of Physics, Chinese Academy of Sciences, Beijing 100086), AuthorCompanyExt(id=1327013347515544308, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347498767090, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=3中国科学院物理研究所 北京 100086)])]), Author(id=1327013348799001358, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, orderNo=4, firstName=null, middleName=null, lastName=null, nameCn=null, orcid=null, stid=null, country=null, authorPic=null, dead=0, email=null, emailSecond=null, emailThird=null, correspondingAuthor=0, authorType=1, ext={EN=AuthorExt(id=1327013348887081745, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013348799001358, language=EN, stringName=Chunye Gong, firstName=Chunye, middleName=null, lastName=Gong, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, 4, address=1National Supercomputer Center in Tianjin, Tianjin 300457
4College of Computing Science and Technology, National University of Defense Technology, Changsha 410073, bio={"content":"

born in 1982. PhD, associate professor. His main research interests include parallel algorithms and automatic performance optimization

"}, bioImg=null, bioContent=

born in 1982. PhD, associate professor. His main research interests include parallel algorithms and automatic performance optimization

, aboutCorrespAuthor=null), CN=AuthorExt(id=1327013348966773522, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013348799001358, language=CN, stringName=龚春叶, firstName=null, middleName=null, lastName=null, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, 4, address=1国家超级计算天津中心 天津 300457
4国防科技大学计算机学院 长沙 410073, bio={"img":"pKPGxgaYdKrOaTS9NI7YOA==","content":"

1982年生. 博士,副研究员. 主要研究方向为并行算法、自动性能优化

"}, bioImg=pKPGxgaYdKrOaTS9NI7YOA==, bioContent=

1982年生. 博士,副研究员. 主要研究方向为并行算法、自动性能优化

, aboutCorrespAuthor=null)}, companyList=[AuthorCompany(id=1327013347314217708, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, xref=1, ext=[AuthorCompanyExt(id=1327013347322606317, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347314217708, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1National Supercomputer Center in Tianjin, Tianjin 300457), AuthorCompanyExt(id=1327013347330994926, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347314217708, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1国家超级计算天津中心 天津 300457)]), AuthorCompany(id=1327013347574264565, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, xref=4, ext=[AuthorCompanyExt(id=1327013347586847478, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347574264565, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=4College of Computing Science and Technology, National University of Defense Technology, Changsha 410073), AuthorCompanyExt(id=1327013347599430391, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347574264565, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=4国防科技大学计算机学院 长沙 410073)])]), Author(id=1327013349054853908, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, orderNo=5, firstName=null, middleName=null, lastName=null, nameCn=null, orcid=null, stid=null, country=null, authorPic=null, dead=0, email=null, emailSecond=null, emailThird=null, correspondingAuthor=0, authorType=1, ext={EN=AuthorExt(id=1327013349176488726, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013349054853908, language=EN, stringName=Gang Zheng, firstName=Gang, middleName=null, lastName=Zheng, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, address=1National Supercomputer Center in Tianjin, Tianjin 300457, bio={"content":"

born in 1988. Master, senior engineer. His main research interests include high performance computing, parallel computing, and large-scale parallel programs

"}, bioImg=null, bioContent=

born in 1988. Master, senior engineer. His main research interests include high performance computing, parallel computing, and large-scale parallel programs

, aboutCorrespAuthor=null), CN=AuthorExt(id=1327013349256180503, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013349054853908, language=CN, stringName=郑刚, firstName=null, middleName=null, lastName=null, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, address=1国家超级计算天津中心 天津 300457, bio={"img":"rOSTlfzXqr4RVGz5gGkwog==","content":"

1988年生. 硕士,高级工程师. 主要研究方向为高性能计算、并行计算、大规模并行程序

"}, bioImg=rOSTlfzXqr4RVGz5gGkwog==, bioContent=

1988年生. 硕士,高级工程师. 主要研究方向为高性能计算、并行计算、大规模并行程序

, aboutCorrespAuthor=null)}, companyList=[AuthorCompany(id=1327013347314217708, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, xref=1, ext=[AuthorCompanyExt(id=1327013347322606317, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347314217708, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1National Supercomputer Center in Tianjin, Tianjin 300457), AuthorCompanyExt(id=1327013347330994926, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347314217708, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1国家超级计算天津中心 天津 300457)])]), Author(id=1327013349323289369, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, orderNo=6, firstName=null, middleName=null, lastName=null, nameCn=null, orcid=null, stid=null, country=null, authorPic=null, dead=0, email=null, emailSecond=null, emailThird=null, correspondingAuthor=0, authorType=1, ext={EN=AuthorExt(id=1327013349415564059, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013349323289369, language=EN, stringName=Bo Kang, firstName=Bo, middleName=null, lastName=Kang, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, address=1National Supercomputer Center in Tianjin, Tianjin 300457, bio={"content":"

born in 1986. PhD, senior engineer. His main research interests include intelligent computing and high performance computing applications

"}, bioImg=null, bioContent=

born in 1986. PhD, senior engineer. His main research interests include intelligent computing and high performance computing applications

, aboutCorrespAuthor=null), CN=AuthorExt(id=1327013349482672924, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013349323289369, language=CN, stringName=康波, firstName=null, middleName=null, lastName=null, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, address=1国家超级计算天津中心 天津 300457, bio={"img":"7iKEfZv1KqAu+IJ9TqETyQ==","content":"

1986年生. 博士,正高级工程师. 主要研究方向为智能计算、高性能计算应用

"}, bioImg=7iKEfZv1KqAu+IJ9TqETyQ==, bioContent=

1986年生. 博士,正高级工程师. 主要研究方向为智能计算、高性能计算应用

, aboutCorrespAuthor=null)}, companyList=[AuthorCompany(id=1327013347314217708, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, xref=1, ext=[AuthorCompanyExt(id=1327013347322606317, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347314217708, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1National Supercomputer Center in Tianjin, Tianjin 300457), AuthorCompanyExt(id=1327013347330994926, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347314217708, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1国家超级计算天津中心 天津 300457)])]), Author(id=1327013349541393182, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, orderNo=7, firstName=null, middleName=null, lastName=null, nameCn=null, orcid=null, stid=null, country=null, authorPic=null, dead=0, email=mengxf@nscc-tj.cn, emailSecond=null, emailThird=null, correspondingAuthor=1, authorType=1, ext={EN=AuthorExt(id=1327013349637862176, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013349541393182, language=EN, stringName=Xiangfei Meng, firstName=Xiangfei, middleName=null, lastName=Meng, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, *, address=1National Supercomputer Center in Tianjin, Tianjin 300457, bio={"content":"

born in 1979. PhD, senior engineer. His main research interests include heterogeneous high performance computing and generative artificial intelligence, responsible for the research and development of the “Tianhe” series of supercomputers

"}, bioImg=null, bioContent=

born in 1979. PhD, senior engineer. His main research interests include heterogeneous high performance computing and generative artificial intelligence, responsible for the research and development of the “Tianhe” series of supercomputers

, aboutCorrespAuthor=null), CN=AuthorExt(id=1327013349709165346, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, authorId=1327013349541393182, language=CN, stringName=孟祥飞, firstName=null, middleName=null, lastName=null, prefix=null, suffix=null, authorComment=null, nameInitials=null, affiliation=null, department=null, xref=1, *, address=1国家超级计算天津中心 天津 300457, bio={"img":"5E6AQ1nusdu6wSjm337z5w==","content":"

1979年生. 博士,正高级工程师. 主要研究方向为异构高性能计算与生成式人工智能,长期负责我国重大自主创新成果“天河”系列超级计算机应用技术研发与开拓

"}, bioImg=5E6AQ1nusdu6wSjm337z5w==, bioContent=

1979年生. 博士,正高级工程师. 主要研究方向为异构高性能计算与生成式人工智能,长期负责我国重大自主创新成果“天河”系列超级计算机应用技术研发与开拓

, aboutCorrespAuthor=null)}, companyList=[AuthorCompany(id=1327013347314217708, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, xref=1, ext=[AuthorCompanyExt(id=1327013347322606317, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347314217708, language=EN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1National Supercomputer Center in Tianjin, Tianjin 300457), AuthorCompanyExt(id=1327013347330994926, tenantId=1146029695717560320, journalId=1324759914146529478, articleId=1327013344072020686, companyId=1327013347314217708, language=CN, country=null, province=null, city=null, postcode=null, companyName=null, departmentName=null, remark=1国家超级计算天津中心 天津 300457)])])]
李青峰1 , 李跃岩1, 栾钟治2, 张文禄3, 龚春叶1, 4, 郑刚1, 康波1, 孟祥飞1, *
作者信息
  • 1国家超级计算天津中心 天津 300457
  • 2中德软件技术联合研究院(北京航空航天大学) 北京 100191
  • 3中国科学院物理研究所 北京 100086
  • 4国防科技大学计算机学院 长沙 410073
通讯作者:
孟祥飞()
作者简介:

1993年生. 硕士,工程师. 主要研究方向为异构高性能计算

1993年生. 博士,工程师. 主要研究方向为异构高性能计算

1971年生. 博士,副教授. 主要研究方向为分布式计算、高性能计算、并行计算、计算机系统结构、云计算、大数据

1975年生. 博士,教授. 主要研究方向为等离子体物理理论和数值模拟

1982年生. 博士,副研究员. 主要研究方向为并行算法、自动性能优化

1988年生. 硕士,高级工程师. 主要研究方向为高性能计算、并行计算、大规模并行程序

1986年生. 博士,正高级工程师. 主要研究方向为智能计算、高性能计算应用

1979年生. 博士,正高级工程师. 主要研究方向为异构高性能计算与生成式人工智能,长期负责我国重大自主创新成果“天河”系列超级计算机应用技术研发与开拓

Heterogeneous Programming and Optimization of Gyrokinetic Simulation Code on Tianhe Supercomputer
Qingfeng Li1 , Yueyan Li1, Zhongzhi Luan2, Wenlu Zhang3, Chunye Gong1, 4, Gang Zheng1, Bo Kang1, Xiangfei Meng1, *
Affiliations
  • 1National Supercomputer Center in Tianjin, Tianjin 300457
  • 2Sino-German Joint Software Institute (Beihang University), Beijing 100191
  • 3Institute of Physics, Chinese Academy of Sciences, Beijing 100086
  • 4College of Computing Science and Technology, National University of Defense Technology, Changsha 410073
  • born in 1993. Master, engineer. His main research interest includes heterogeneous high performance computing

    born in 1993. PhD, engineer. His main research interest includes heterogeneous high performance computing

    born in 1971. PhD, associate professor. His main research interests include distributed computing, high performance computing, parallel computing, computer architecture, cloud computing, and big data

    born in 1975. PhD, professor. His main research interest includes theory and numerical simulation of plasma physics

    born in 1982. PhD, associate professor. His main research interests include parallel algorithms and automatic performance optimization

    born in 1988. Master, senior engineer. His main research interests include high performance computing, parallel computing, and large-scale parallel programs

    born in 1986. PhD, senior engineer. His main research interests include intelligent computing and high performance computing applications

    born in 1979. PhD, senior engineer. His main research interests include heterogeneous high performance computing and generative artificial intelligence, responsible for the research and development of the “Tianhe” series of supercomputers

出版时间: 2025-07-01 doi: 10.7544/issn1000-1239.202330872
文章导航
收藏切换

磁约束核聚变粒子网格法(particle in cell,PIC)回旋动理学模拟代码VirtEx具备研究聚变产物Alpha粒子约束及输运的能力,是聚变能实现的关键. Alpha粒子回旋动理学模拟相比电子模拟,访存量更大、更复杂,同时包含非规则访问和原子写操作,对访存性能依赖较高,在面向高计算密度特征的天河新一代超算平台异构处理器MT-3000进行移植及性能优化时具有巨大挑战. 考虑到异构加速器架构和PIC算法特性,设计并实施了一些优化方法,如中间变量的即时计算、定制化的软件缓存设计、缓存空间局部性优化、热点函数合并,显著地提高了热点函数的计算访存比. 通过中等规模的回旋动理学离子基准算例测试显示了在热点函数Push,Locate,Charge上分别有10.9,13.3,16.2倍的速度提升,同时在扩展性测试中的3840个节点的5898240个加速核上显示了良好的扩展性,并行效率为88.4%.

粒子网格法  /  回旋动理学模拟  /  访存密集型  /  高计算密度系统  /  异构开发

The magnetic confinement fusion particle in cell (PIC) gyrokinetic simulation code, VirtEx, has been capable of studying the confinement and transport of the fusion product Alpha, which is the key to fusion energy realization. Alpha particle simulation relies heavily on the computational code of the kinetic ion, which has more complex memory access than the electron, and contains both non-regular accesses and atomic write-back operations, belong to memory-intensive application. MT-3000 as a new heterogeneous acceleration device provided by Tianhe’s new-generation supercomputing platform, has powerful computational performance with its extremely high computational density. Heterogeneous porting of Alpha particle simulations for this device is a great challenge. In order to fully exploit the computational power of the acceleration array in MT-3000, we combine application characteristics and propose some optimization methods, such as recalculation of intermediate variables, customized software cache design, memory locality optimization, and hotspot function merging, which are designed and implemented to reduce the total amount of memory accesses in the program. The medium scale benchmark with gyrokinetic ion shows an overall speedup of 4.2 times, with 10.9, 13.3 and 16.2 times of speedup on hotspot functions Push, Locate and Charge, respectively, meanwhile it shows a good scaling of scalability with 88.4% efficiency with 5 898 240 accelerator cores in 3 840 nodes.

particle in cell (PIC)  /  gyrokinetic simulation  /  memory intensive  /  high arithmetic intensity system  /  heterogeneous programming
李青峰, 李跃岩, 栾钟治, 张文禄, 龚春叶, 郑刚, 康波, 孟祥飞. 面向天河超算的回旋动理学模拟代码异构开发及优化. 计算机研究与发展, 2025 , 62 (7) : 1797 -1804 . DOI: 10.7544/issn1000-1239.202330872
Qingfeng Li, Yueyan Li, Zhongzhi Luan, Wenlu Zhang, Chunye Gong, Gang Zheng, Bo Kang, Xiangfei Meng. Heterogeneous Programming and Optimization of Gyrokinetic Simulation Code on Tianhe Supercomputer[J]. Journal of Computer Research and Development, 2025 , 62 (7) : 1797 -1804 . DOI: 10.7544/issn1000-1239.202330872
随着人类日益增长的能源需求和不可再生资源的枯竭,核聚变能源由于其清洁性和安全性作为解决长期能源需求的解决方案,越来越受到人类社会的关注,目前正在建设中的国际热核实验反应堆(international thermonuclear experimental reactor,ITER)是实现核聚变能和平应用的重要里程碑. 磁约束核聚变是产生热核聚变能的最重要方法之一[1-2]. 在反应堆中实现和维持等离子体聚变过程具有巨大的科学和技术挑战,其中针对等离子体稳定性的研究有助于理解、预测、控制和减轻等离子体破坏的威胁,是优化燃烧等离子体运行模式、改善等离子体约束和输运的重要保障,是设计和制造先进的核聚变装置的重要依据.
数值模拟是等离子体稳定性研究中的关键方法之一,相比理论研究,它能够分析复杂的物理过程,而相比实验研究,它更加经济和灵活. 在等离子体物理数值模拟研究中,回旋动理学理论经常被用来研究在拉莫尔半径空间尺度下的动理学不稳定性和湍流传输[3-5]. 在回旋动理学理论中,通过回旋平均方法将描述分布函数的方程维度从6降低到5,使得其特别适用于研究更长时间尺度下的等离子体不稳定性和湍流传输物理过程.
粒子网格法(particle in cell,PIC)由于其良好的可扩展性、物理守恒性、波粒相互作用描述准确性等优势,在众多回旋动理学模拟算法中具有广泛适用度和应用前景[6-8]. 基于PIC算法的突出特点,科研学者在解决特定时空尺度物理问题的同时,逐步向多时空尺度耦合的非线性复杂物理模拟演进. 其对磁约束核聚变高性能数值模拟中涉及的程序架构、计算性能、算法优化、并行效率都提出了前所未有的挑战. 许多科研学者尝试借助异构平台的计算性能满足回旋动理学PIC代码日益增长的算力需求,在移植优化和数值算法上作出了诸多努力.
GTC代码是早期受益于异构并行计算的代码之一,基于CUDA在天河一号上展示2~3倍的加速[9]. 基于OPENACC在Titan上展示了2~3倍的加速,在Summit上展示了3~4倍的加速[10]. 基于Intel Xeon Phi加速器,在天河二号上展示了2~5倍的加速[11]. ORB5代码基于OPENACC,在Tesla P100 GPU和Tesla V100 GPU的Summit中分别获得了4倍和5倍的加速[12].
在上述研究中,通常着重考虑了等离子体中电子对模型的贡献,针对电子的模拟,凭借访存规则等优势可以获得较高的计算性能加速. 而聚变产物Alpha粒子与动理学离子类似,回旋半径较大,必须在回旋运动轨迹上进行回旋平均,从而带来大量非规则的网格数据访存,对访存性能提出了很高的要求. 文献[13]显示在只有动理学离子和绝热电子的情况下,异构移植给整体性能带来了负面的优化. 考虑到聚变产物Alpha粒子的约束和输运是磁约束聚变能否成功的关键. 本文重点聚焦于以Alpha粒子为代表的回旋动理学代码的异构移植和性能优化.
本文的移植优化及分析测试在天河新一代超级计算机上进行. 天河新一代超级计算机使用异构处理器MT-3000[14],它包含16个CPU、4个加速集群(簇)、96个控制核心和1 536个加速核心,理论计算密度高达145 FLOPB. 每个加速核心以超长指令字(very long instruction word, VLIW)方式工作,每16个加速器核心和1个控制核心被组织成1个加速阵列,以SIMD指令控制. MT-3000具有混合的存储器层次结构,包括每个集群的GSM(6 MB),HBSM(48 MB),DDR(32 GB)存储器,每个加速阵列的AM(768 KB)和SM(64 KB)片上存储器为加速核供给数据. 其架构如图1所示.
在异构处理器MT-3000上移植程序时有2个挑战:1)如何高效使用复杂的内存结构将数据传递到加速阵列;2)如何充分发挥高计算密度特性. 这2方面的挑战需要在程序移植优化时打破传统基于CPU的程序设计结构,更多地强调计算性能的充分发挥,从而实现整体性能的提高.
VirtEx是基于PIC算法开发的回旋动理学模拟代码,已成功用于分析线性电阻撕裂不稳定性[15]. 代码按照PIC算法,将带电粒子以拉格朗日法描述,对应在连续相空间的分布函数采样点;而场信息以欧拉法描述,采用结构化网格描述平衡场,采用非结构化网格描述扰动场[16]. VirtEx代码的并行化策略是通过在环形方向上将模拟区域划分为不同的子域以实现空间并行化,每个子域由1组进程管理. 该组中的每个进程拥有子区域内的场信息副本,并在该子域内将粒子按照进程编号进行并行划分.
VirtEx代码的主要结构如图2所示,其主循环使用2阶龙格-库塔算法,在每个循环中,通过函数Push更新粒子在相空间的位置,其可以被更加细致地分为在粒子运动轨迹上的扰动场回旋平均函数PG(push gather)和粒子位置更新函数PI(push interpolation);通过函数Locate计算粒子位置和扰动场网格之间插值的权重系数;通过函数Charge计算在非结构化扰动网格上的分布函数矩. 而其他热点部分主要是对非结构化网格上的扰动场更新和粒子MPI通信等操作. 其中3个函数Push,Locate,Charge为代码的热点,共占主循环时间的85%以上. 3个热点函数中涉及的算法如下.
算法1. 函数PG回旋平均算法.
输入:环向格点权重wzpart, 径向格点权重wppart, 极向格点权重wtpart, 格点编号jtpart, 扰动电场gradphi;
输出:回旋平均扰动场wpgc.
① for (mp=0,mp<mpmax,mp++)/*粒子循环*/
②  for(igyro=0,igyro<ngyro,igyro++) /*回旋平 均循环*/
③  读取粒子所在的格点权重及索引;
④  以索引读取gradphi;
⑤  计算临时变量e;
⑥ end for
⑦ 累加计算wpgc,供函数PI使用;
⑧ end for
算法2. 函数PI粒子位置更新算法.
输入:相空间坐标zpart, 历史相空间坐标zpart0,回旋平均扰动场wpgc;
输出:相空间坐标zpart.
① for (mp=0,mp<mpmax,mp++)/*粒子循环*/
② 读取粒子信息 zpart ,wpgc;
③ 插值获取网格信息、电场、磁场等;
④ 计算场对粒子的作用;
⑤ 推动粒子更新速度位置信息;
⑥ end for
算法3. 函数Locate粒子到场的插值权重系数算法.
输入:相空间坐标zpart;
输出:环向格点权重wzpart, 径向格点权重wppart, 极向格点权重wtpart, 格点编号jtpart.
① for (mp=0,mp<mpmax,mp++)/*粒子循环*/
②  for(igyro=0,igyro<ngyro,igyro++)/*回旋平均 循环*/
③  读取粒子信息zpart;
④  读取网格信息;
⑤  计算粒子插值权重;
⑥  end for
⑦ end for
算法4. 函数Charge非结构化扰动网格上的分布函数矩算法.
输入:环向格点权重wzpart, 径向格点权重wppart, 极向格点权重wtpart, 格点编号jtpart;
输出:电流密度density.
① for (mp=0,mp<mpmax,mp++)/*粒子循环*/
②  插值获取网格信息、电场、磁场;
③   for(igyro=0,igyro<ngyro,igyro++)/*回旋平 均循环*/
④   读取粒子插值权重;
⑤   计算粒子对于周围格点的扰动量;
⑥   粒子信息向网格上规约到density;
⑦   end for
⑧ end for
上述3个热点函数中的4个算法的外层循环体均围绕粒子展开,且粒子间具有良好的独立性,面向异构处理器MT-3000的异构移植工作主要围绕粒子循环的向量指令集改写展开.
同时,为了更好地适配向量指令集的访存特性,重构程序的数据结构,将粒子数据使用SOA(struct of array)数据结构,网格数据使用AOS(array of struct)数据结构. 粒子数据具有数量多、独立性好的特性,配合SOA数据结构更适用于发挥向量指令运算的优势;而网格数据数量远远小于粒子数量,访存量巨大,AOS的数据结构能够充分发挥内存局部性. 针对数据结构的改写工作为后续程序的性能优化提供了重要的保障.
基于上述对于程序热点函数的分析,回旋动理学PIC数值模拟算法涉及粒子与网格数据间的大量访存,尤其在面向扰动场网格数据的访存操作中存在非规则访问和原子写操作,二者对于访存性能提出了艰难的挑战,4个热点函数的访存与计算量统计如表1所示.
如何将1~2 FLOPB计算密度的访存密集型函数通过性能优化策略发挥高计算密度型异构设备的计算性能,是关键性的研究内容,也是本文的研究重点. 在本节中通过中间变量的即时计算,基于SM片上存储的软件缓存设计,热点函数合并3种优化方法展开介绍.
在传统基于CPU的程序设计中,开发者更倾向于主动寻找公用数据预先计算并暂存于内存中,利用多级高速缓存,通过索引获取数据,通过增加访存量换取计算量的减少. 然而,这种优化方法并不适合于基于宽向量计算的高计算密度型异构设备,大量引入访存会限制计算能力的发挥,同时使用索引的非规则访存模式也不适用于向量计算. 因此,考虑到新架构的特点,本文采用了与传统方法截然相反的优化方法来提高计算性能.
在VirtEx中,磁场、温度、密度、安全因子等中间变量可以将预计算转换为即时计算,引入热点函数,按照每个粒子对中间变量的需求完成计算. 该操作可以有效减少热点函数中的规则访存和非规则访存,降低流水线中断次数,避免索引访问带来的向量重组操作.
通过热点函数分析,可以进行优化的中间变量主要分为2类. 一类以每个径向网格上的极向网格点数mtheta为例,该函数可以在热点函数中完成即时计算. 其中,$mtheta_i $为粒子i所在的径向网格上的极向网格点数.
$ {mtheta}_{i}=2Floor\left(\frac{\mathrm{\pi }{r}_{i}}{{\Delta }l}+ 0.5\right), $
其中,${r}_{i} $和${\Delta }l $分别表示第i个径向网格的半径和极向网格的宽度.
另一类中间变量却难以直接解析化表达,例如粒子在非结构化扰动场网格中的位置索引信息igrid.其中,$igird_i $为粒子i所在扰动场网格中的位置索引信息,其形式为
$ {igrid}_{i}=1+\sum_{j=0}^{i-1}{mtheta}_{j}, $
$ {mtheta}_{i}=\frac{2\text{π}r}{\mathrm{\Delta }l}+{\delta }_{i}=ai+b+{\delta }_{i}. $
如式(2)所示,变量igrid的计算基于变量mtheta的累加式,而由于函数Floor引入的不连续性,导致变量igrid的数学公式不能通过简单的变换和积分得出.
但考虑到极向格点数远大于1,且径向格点在$ r $坐标描述下是均匀的,当残差$ {\delta }_{i}\ll 1 $,igrid同样可以表示为
$ {igrid}_{i}=a{i}^{2}+bi+c+{r}_{i}, $
其中残差$ r $远小于二次函数部分. 为了能够构建igrid的解析表达式,采用多项式来拟合二次函数的部分,而残差可以通过周期函数$ f $来降低到0.5以下,如图3所示. 从而igrid的解析表达式可以表示为
$ {igrid}_{i}=Round\left[a{i}^{2}+bi+c+f\left(i\right)\right]. $
得益于对平衡剖面信息的解析化表达和即时计算,函数PI和函数Locate中的随机内存访问得到减少. 只有热点函数PG中存在针对扰动场回旋平均的随机内存访问,在下面的章节中会论述相应的优化方法.
在基于CPU的通用架构中,内置的缓存机制允许开发者在编程时无需关注高速缓存. 而在MT-3000处理器中,内存和SM/AM之间、SM/AM和向量寄存器之间的数据交换需要由程序员手动控制. 在处理内存的随机访问时,依赖DMA的接口操作需要依赖索引和数据,造成了内存带宽的浪费. 为了解决这个问题,本文针对加速阵列内部片上存储SM设计软件缓存机制,充分发挥内存结构和内存局部性的优势.
在VirtEx热点函数中有2个非规则访问,其中一个是在函数Push中涉及到对扰动场网格数据的非规则访问,另一个是在函数Charge中涉及到对扰动场网格数据更新的原子写操作.
函数Charge通过累加操作(+=)将粒子信息累积到网格上,由于粒子分散在子域内的多个进程,且网格数远小于粒子数,这将涉及原子操作. 读/写锁是MT-3000处理器中解决数据竞争的重要方法,因此基于读/写锁设计了一种多级同步的软件缓存机制. 首先在SM中进行细粒度(如单字)更新,不涉及任何同步操作;其次,使用读写锁保证缓存块在被换出时不会受到数据竞争,同时完成缓存块从SM到主存储器的累加操作.
函数PG主要通过4点回旋平均算法获取粒子在回旋运动轨迹上的扰动场信息. 由于片上缓存空间有限,回旋平均算法的随机访问性质会对主存带来巨大的访存开销. 因此基于片上SM存储设计了一种软件缓存机制,该机制通过粒子索引将网格数据按照缓存块读入. 如果向量宽度内所有粒子的索引均在缓存块内命中,将组装网格数据向量传到向量寄存器完成向量计算;如果索引未在缓存块命中,按照所需索引完成缓存块数据的更新. 同时考虑到性能和局部性的平衡,设计64个缓存块并使用哈希作为缓存块的标识.
在软件缓存机制实施后,非规则访存被有效转化,访存带宽的压力得到了缓解. 为缓存命中问题,进一步地,考虑到回旋平均算法需获取轨迹上每一点的扰动场信息,由于粒子在速度空间分布的随机性,在更新粒子位置后,极坐标方向的粒子分布会被分散,从而扰乱粒子在非结构化扰动场网格上的分布. VirtEx程序采用基于径向网格点的排序算法修正粒子分布,由于加速阵列中的片上存储空间有限,该算法不足以支撑高计算密度的异构设备,导致缓存命中率的降低.
图4显示了排序算法优化前后,粒子编号与相应的非结构化格点编号之间的关系,其中psi排序是原始的径向排序算法,igrid排序是改进的排序算法,按照粒子所在的网格点排序,增强了空间局部性. 优化后的排序采用桶式排序算法,每个桶对应于粒子所属的网格点,由于粒子运动的对称性,每个桶的容量总是与每个网格的粒子数同序,因此该算法的复杂度与原来的psi排序同样是O(N).
不同排序算法下针对扰动场变量gradphi的缓存命中率,如表2所示. 表中,在64个缓存块和1 024 B缓存块大小的情况下,扰动场变量gradphi在没有粒子排序的情况下的缓存命中率为77.99%,接近于psi排序下的84.47%,而采用igrid排序可以获得99.15%的缓存命中率,得益于超高的缓存命中率,针对变量gradphi的非规则访问可以被近似视作规则访问.
通过热点函数面向异构加速器MT-3000的移植以及上述优化方式的应用,非规则访存操作已经被近似消除,减轻了访存带宽的压力. 在经过优化后,热点函数PG,PI,Locate的浮点计算量、访存量以及计算密度的统计数据如表3所示. 从表3可以看出,由于函数PG中的回旋平均操作主要涉及内存访问,其计算密度仅为1.39;而时间占比最高的函数PI,考虑到基于粒子的计算特点,计算密度仅为12.4;而函数Locate在经过变量即时计算优化后,计算密度达到56.3. 综上所述,时间占比高达40%的函数Push的计算密度需要进一步提高计算访存比.
函数Locate,PG,PI在PIC算法中是计算粒子运动的3个相关函数,函数Locate负责计算插值系数,函数PG负责获取网格数据,函数PI负责推动粒子,三者在算法上具备可合并性. 将函数Locate引入到函数Push中,并将函数PG和PI合并,合并后输入仅为粒子信息和网格信息,输出为粒子信息,减少了对于大量中间变量的读写. 优化后的函数PushOpt的计算密度达到106.4 FLOPB,更契合高计算密度型计算设备.
在中等规模基准算例测试中,我们用1个MPI进程控制1个MT-3000加速集群(簇),在天河新一代超算系统上使用120个节点上的480个MPI进程和480个簇. 该基准测试使用了1.23 × 106个网格,模拟了2.5 × 109个粒子.
表4显示了CPU版本和优化版本在热点函数上的性能对比,CPU版本在3个主要的热点函数的占比达到86.06%. 结果显示,基于MT-3000处理器的优化后版本的应用加速效果良好,总体速度提高了4.2倍,其中函数Push和函数Locate分别实现了10.9倍和13.3倍的加速,具有原子操作的函数Charge实现了16.2倍的性能提升.
本节展示了优化后的VirtEx程序的弱扩展性测试结果. 在弱扩展性测试中,基准测试为120个节点,使用了3.86 × 105个网格,模拟了3.7 × 109个粒子. 随着节点数增加至3840个,模拟的粒子数也相应地增加到了1.18 × 1011. 经过多轮测试取平均后的并行效率如图5所示,在天河新一代超算系统的3840个节点5898240个加速器核心上,其并行效率为88.4%,展示了良好的弱扩展性.
基于天河新一代超算系统的异构加速器MT-3000对大规模并行磁约束聚变回旋动理学模拟代码VirtEx进行代码移植和性能优化,围绕高计算密度型系统和访存密集型应用间存在的矛盾. 通过中间变量的即时计算、定制化的软件缓存设计、空间局部性优化、热点函数合并等优化策略,并通过数据分析验证了优化的合理性. 同时在基准测试中,VirtEx的优化显示了良好的加速效果,其中函数Push提速10.9倍,函数Locate提速13.3倍,函数Charge提速16.2倍,从而使整个程序提速4.2倍. 并且在3 840个节点的5 898 240个加速器核心上展示了良好的可扩展性,并行效率为88.4%.
作者贡献声明:李青峰负责程序设计、移植、测试,并撰写论文;李跃岩设计并实现优化算法;栾钟治负责程序瓶颈分析和提供解决方案;张文禄提供了针对程序原理和算法方面的指导;龚春叶提供了针对异构加速设备的优化指导;郑刚提供了系统测试环境及保障工作;康波提供了共性技术的指导;孟祥飞负责设计研究方案并把控研究进度.

参考文献 引证文献
排序方式:
1
Sheffield J. The physics of magnetic fusion reactors[J]. Review of Modern Physics, 1994, 66(3): 1015−1103
2
Lawson J D. Some criteria for a power producing thermonuclear reactor[J]. Proceedings of the Physical Society: Section B, 1957, 70(1): 6−10
3
Catto P J, Tang W M, Baldwin D E. Generalized gyrokinetics[J]. Plasma Physics, 1981, 23(7): No. 639
4
Frieman E A, Chen Liu. Nonlinear gyrokinetic equations for low-frequency electromagnetic waves in general plasma equilibria[J]. The Physics of Fluids, 1982, 25(3): 502-508
5
Brizard A J, Hahm T S. Foundations of nonlinear gyrokinetic theory[J]. Review of Modern Physics, 2007, 79(2): 421−468
6
Lee W W, Tang W M. Gyrokinetic particle simulation of ion temperature gradient drift instabilities[J]. The Physics of Fluids, 1988, 31(3): 612−624
7
Parker S E, Lee W W. A fully nonlinear characteristic method for gyrokinetic simulation[J]. Physics of Fluids B Plasma Physics, 1993, 5(1): 77−86
8
Lin Zhihong, Tang W M, Lee W W. Gyrokinetic particle simulation of neoclassical transport[J]. Physics of Plasmas, 1995, 2(8): 2975−2988
9
Meng Xiangfei, Zhu Xiaoqian, Wang Peng, et al. Heterogeneous programming and optimization of gyrokinetic toroidal code and large-scale performance test on th−1a [C] //Proc of the ISC 2013. Berlin: Springer, 2013: 81−96
10
Zhang Wenlu, Joubert W, Wang Peng, et al. Heterogeneous programming and optimization of gyrokinetic toroidal code using directives[C]//Proc of the 5th Int Workshop on Accelerator Programming Using Directives. Cham: Springer, 2019: 3−21
11
Noé O, Gheller C, Lanti E, et al. Gyrokinetic simulations on many- and multi-core architectures with the global electromagnetic particle-in-cell code ORB5[J]. Computer Physics Communications, 2021, 262: 107208
12
Wang Endong, Wu Shaohua, Zhang Qing, et al. The gyrokinetic particle simulation of fusion plasmas on TIANHE−2 supercomputer[C]// Proc of the 7th Workshop on Latest Advances in Scalable Algorithms for Large-Scale Systems. Piscataway, NJ: IEEE, 2016: 25−32
13
Dannert T, Marek A, Rampp M. Porting large HPC applications to GPU clusters: The codes gene and vertex[J]. Advances in Parallel Computing, 2013, 25: 305−314
14
Lu Kai, Wang Yaohua, Guo Yang. et al. MT-3000: A heterogeneous multi-zone processor for HPC[J]. CCF Transactions on High Performance Computing. 2022, 4(2): 150–164
15
Madduri K, Ibrahim K Z, Williams S, et al. Gyrokinetic toroidal simulations on leading multi- and manycore HPC systems[C/OL]// Proc of the 11th SC. Piscataway, NJ: IEEE, 2011[2024-02-25]. https://xplorestaging.ieee.org/document/6114454/metrics#citations
16
Feng Hongying, Zhang Wenlu, Dong Chao, et al. Verification of linear resistive tearing instability with gyrokinetic particle code virtex[J]. Physics of Plasmas, 2017, 24(10): 1−9
2025年第62卷第7期
127
57
0
引用本文
BibTeX
文章信息
doi: 10.7544/issn1000-1239.202330872
  • 接收时间:2023-10-31
  • 首发时间:2026-11-10
  • 出版时间:2025-07-01
补充材料
相关文章
文章信息
作者
出版历史
  • 收稿日期:2023-10-31
  • 修回日期:2025-03-19
  • 录用日期:2025-04-04
基金
作者信息
    1国家超级计算天津中心 天津 300457
    2中德软件技术联合研究院(北京航空航天大学) 北京 100191
    3中国科学院物理研究所 北京 100086
    4国防科技大学计算机学院 长沙 410073

通讯作者:

孟祥飞()
参考文献
分享链接
https://castjournals.cast.org.cn/joweb/jsjyjyfz/CN/10.7544/issn1000-1239.202330872
分享至
全文二维码

扫描看全文

引用本文
BibTeX
本文的引用情况
2种不同金属材料的力学参数
科
Family
属数
Number of
genus
种数
Number of
species
占总种数比例
Percentage of
total species (%)
属
Genus
种数
Number of
species
占总种数比例
Percentage of total
species (%)
鹅膏菌科Amanitaceae 2 11 5.26 鹅膏菌属 Amanita 10 4.78
小菇科 Mycenaceae 2 12 5.74 丝盖伞属 Inocybe 5 2.39
多孔菌科 Polyporaceae 8 14 6.70 蜡蘑属 Laccaria 5 2.39
红菇科 Russulaceae 3 23 11.00 小皮伞属 Marasmius 6 2.87
小菇属 Mycena 11 5.26
光柄菇属 Pluteus 5 2.39
红菇属 Russula 17 8.13
栓菌属 Trametes 5 2.39
关闭全屏