作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2007, Vol. 33 ›› Issue (24): 72-73. doi: 10.3969/j.issn.1000-3428.2007.24.024

• 软件技术与数据库 • 上一篇    下一篇

一种基于PVM的矩阵相乘并行算法

韦安定,李代平,文 剑   

  1. 广东工业大学计算机学院,广州 510006)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-12-20 发布日期:2007-12-20

Parallel Algorithm for Matrix Multiple Based on PVM

WEI An-ding, LI Dai-ping, WEN Jian   

  1. College of Computer, Guandong University of Technology, Guangzhou 510006
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-12-20 Published:2007-12-20

摘要: 研究了一种运行于PVM并行计算平台的矩阵相乘的并行算法。在工作站数量不为某个数的平方数时,Cannon算法在PVM环境下不能充分地利用机群系统中的资源。根据PVM并行编程环境中任务间通信的特点,文中设计了一种基于PVM的矩阵相乘并行算法,该算法根据工作站数量来确定子任务的数量,并对矩阵A进行分块,每个子任务可以计算一个分块。实验表明,该算法提高了机群并行环境中资源的利用率,提高了程序的运行效率。

关键词: 矩阵相乘, 并行算法, 机群并行系统

Abstract: This paper discusses a parallel algorithm for matrix multiple which run on the PVM. When the quantity of workstation is not for some integer square numbers, the Cannon algorithm can not fully use the resources. According to the features of task communication on the PVM, an effective parallel algorithm of matrix multiple is designed. Quantity of workstation determines that of task, in order to account a part for each task. Matrix A is compartmentalized. Experimental results show the algorithm improves resource utilization in fleet parallel environment, and improves operational efficiency of procedures.

Key words: matrix multiple, parallel algorithm, fleet parallel environment

中图分类号: