神威太湖之光上OpenFOAM的移植與優(yōu)化
發(fā)布時(shí)間:2018-09-19 07:01
【摘要】:神威太湖之光是最新一期Top500榜單上排名第一的超級(jí)計(jì)算機(jī),峰值性能為125.4PFlops,其計(jì)算能力主要?dú)w功于國(guó)產(chǎn)SW26010眾核處理器。OpenFOAM(Open Source Field Operation and Manipulation)是計(jì)算流體力學(xué)領(lǐng)域使用最廣泛的開(kāi)源軟件包,但是由于其基于C++實(shí)現(xiàn),與神威太湖之光上的異構(gòu)眾核處理器SW26010的編譯器不兼容,因此無(wú)法直接在該架構(gòu)上有效運(yùn)行;赟W26010的主核/從核的體系架構(gòu)移植了OpenFOAM的核心計(jì)算代碼,并采用混合語(yǔ)言編程實(shí)現(xiàn)的方式來(lái)解決編譯不兼容的問(wèn)題。此外,通過(guò)寄存器通信、向量化和雙緩沖等優(yōu)化手段,單核組的性能較優(yōu)化后的主核代碼提高了8.03倍,較Intel(R)Xeon(R)CPU E5-2695v3的串行執(zhí)行性能提高了1.18倍。同時(shí),將單核組的實(shí)現(xiàn)擴(kuò)展到了神威太湖之光的大規(guī)模集群上,并進(jìn)行了強(qiáng)可擴(kuò)展性測(cè)試,256個(gè)核組上實(shí)現(xiàn)了184.9倍的加速。采用的移植方式和優(yōu)化手段也可以為其他復(fù)雜C++程序在神威太湖之光上的應(yīng)用提供借鑒。
[Abstract]:Shenwei Taihu Light is the No. 1 supercomputer on the latest Top500 list, with peak performance of 125.4 PFlops.The computational power is mainly attributed to the domestic SW26010 multicore processor. OpenFOAM (Open Source Field Operation and Manipulation) is the most widely used open source software package in computational fluid dynamics. However, because it is based on C, and is incompatible with the compiler of SW26010, a heterogeneous multi-core processor on the light of Taihu Lake, it can not run effectively on this architecture directly. The core computing code of OpenFOAM is transplanted based on the architecture of master / slave core of SW26010, and the problem of compiling incompatibility is solved by mixed language programming. In addition, by means of register communication, vectorization and double buffering, the performance of the single core group is 8.03 times higher than that of the optimized main core code, and 1.18 times higher than that of the serial execution performance of Intel (R) Xeon (R) CPU E5-2695v3. At the same time, the implementation of mononuclear group is extended to the large-scale cluster of light in Shenwei Lake Taihu, and a strong extensibility test is carried out, and the acceleration of 184.9 times is achieved on 256 core groups. The transplant method and optimization method can also be used for reference in the application of other complex C programs in the light of Shenwei Lake Taihu.
【作者單位】: 上海交通大學(xué)高性能計(jì)算中心;東京工業(yè)大學(xué);
【基金】:國(guó)家重點(diǎn)研發(fā)計(jì)劃(2016YFB0201400,2016YFB0201800) 日本學(xué)術(shù)振興會(huì)JSPS的RONPAKU項(xiàng)目 并行計(jì)算機(jī)工程技術(shù)研究中心資助
【分類(lèi)號(hào)】:TP338
,
本文編號(hào):2249387
[Abstract]:Shenwei Taihu Light is the No. 1 supercomputer on the latest Top500 list, with peak performance of 125.4 PFlops.The computational power is mainly attributed to the domestic SW26010 multicore processor. OpenFOAM (Open Source Field Operation and Manipulation) is the most widely used open source software package in computational fluid dynamics. However, because it is based on C, and is incompatible with the compiler of SW26010, a heterogeneous multi-core processor on the light of Taihu Lake, it can not run effectively on this architecture directly. The core computing code of OpenFOAM is transplanted based on the architecture of master / slave core of SW26010, and the problem of compiling incompatibility is solved by mixed language programming. In addition, by means of register communication, vectorization and double buffering, the performance of the single core group is 8.03 times higher than that of the optimized main core code, and 1.18 times higher than that of the serial execution performance of Intel (R) Xeon (R) CPU E5-2695v3. At the same time, the implementation of mononuclear group is extended to the large-scale cluster of light in Shenwei Lake Taihu, and a strong extensibility test is carried out, and the acceleration of 184.9 times is achieved on 256 core groups. The transplant method and optimization method can also be used for reference in the application of other complex C programs in the light of Shenwei Lake Taihu.
【作者單位】: 上海交通大學(xué)高性能計(jì)算中心;東京工業(yè)大學(xué);
【基金】:國(guó)家重點(diǎn)研發(fā)計(jì)劃(2016YFB0201400,2016YFB0201800) 日本學(xué)術(shù)振興會(huì)JSPS的RONPAKU項(xiàng)目 并行計(jì)算機(jī)工程技術(shù)研究中心資助
【分類(lèi)號(hào)】:TP338
,
本文編號(hào):2249387
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/2249387.html
最近更新
教材專(zhuān)著