计算机应用 ›› 2015, Vol. 35 ›› Issue (11): 3178-3181.DOI: 10.11772/j.issn.1001-9081.2015.11.3178

• 2015年全国开放式分布与并行计算学术年会(DPCS 2015)论文 • 上一篇    下一篇

基于可视化库和信息传递接口云图显示的并行化处理

刘伟辉1, 唐鹏1, 宋安平1,2, 刘智翔2,3, 徐磊1, 张武1,2   

  1. 1. 上海大学 计算机工程与科学学院, 上海 200444;
    2. 上海大学 高性能计算中心, 上海 200444;
    3. 上海大学 通信与信息工程学院, 上海 200444
  • 收稿日期:2015-06-17 修回日期:2015-07-10 发布日期:2015-11-13
  • 通讯作者: 张武(1957-),男,江西武宁人,教授,博士生导师,博士,CCF杰出会员,主要研究方向:高性能计算、计算流体力学.
  • 作者简介:刘伟辉(1990-),男,湖南邵阳人,硕士研究生,主要研究方向:图像可视化; 唐鹏(1992-),男,江苏连云港人,硕士研究生,主要研究方向:高性能计算; 宋安平(1966-),男,上海人,副教授,博士,CCF会员,主要研究方向:高性能计算、数据挖掘; 刘智翔(1986-),男,江西赣州人,博士,主要研究方向:高性能计算; 徐磊(1987-),男,江苏连云港人,博士研究生,CCF会员,主要研究方向:高性能计算.
  • 基金资助:
    国家自然科学基金资助项目(91330116).

Parallel disposal of nephogram display based on visualization ToolKit and message passing interface

LIU Weihui1, TANG Peng1, SONG Anping1,2, LIU Zhixiang2,3, XU Lei1, ZHANG Wu1,2   

  1. 1. School of Computer Engineering and Science, Shanghai University, Shanghai 200444, China;
    2. High Performance Computing Center, Shanghai University, Shanghai 200444, China;
    3. School of Communication and Information Engineering, Shanghai University, Shanghai 200444, China
  • Received:2015-06-17 Revised:2015-07-10 Published:2015-11-13

摘要: 基于可视化库(VTK)可视化技术的特点,讨论可视化流水线机制和并行程序的基本结构.针对计算流体力学可视化后处理实现的问题,介绍和使用VTK颜色映射算法,并编写对计算流体力学结果数据彩色云图显示的程序.然后为了解决时间开销大的问题,提出了并行显示算法.该算法充分利用VTK任务间的并行性,减少程序运行时间,提高运行效率.最后在多核环境下,对大小不同的文件彩色云图显示的加速比进行了对比分析.实验结果显示了随压力变化的彩色云图,表明基于VTK可视化技术能满足可视化后处理方面的要求,与信息传递接口(MPI)结合能取得很好的并行效果.

关键词: 可视化库, 信息传递接口, 可视化, 彩色云图, 加速比

Abstract: Visual pipeline mechanism and basic structure of the parallel program were discussed based on the characteristics of Visualization ToolKit (VTK). Since the problem of visualization post-processing in computational fluid dynamics, VTK color mapping algorithm was introduced and a program of showing nephogram was written. In order to reduce the running time, a parallel algorithm was proposed. The proposed algorithm made full use of the parallelism between the VTK tasks, reduced the program running time and improved the running efficiency. Finally the speedup ratios of files of different sizes were compared and analyzed. The results show that the requirements of visualization post-processing is satisfied by visualization technology based on VTK and the good parallel effect is obtained with Message Passing Interface (MPI).

Key words: Visualization ToolKit (VTK), Message Passing Interface (MPI), visualization, color nephogram, speedup ratio

中图分类号: