首页 | 本学科首页   官方微博 | 高级检索  
     

基于PVM的C++对象分布并行机制的初步研究
引用本文:李毅,周明天,虞厥邦.基于PVM的C++对象分布并行机制的初步研究[J].软件学报,2001,12(2):173-182.
作者姓名:李毅  周明天  虞厥邦
作者单位:1. 电子科技大学 光电子技术系
2. 电子科技大学 计算机学院
基金项目:国家自然科学基金资助项目(69871005);国家“九五”国防预研基金资助项目
摘    要:对象具有内在的并行性.将面向对象程序设计与分布并行处理相结合,可产生既具有面向对象特征,又充分利用资源,还可缩短作业运行时间的对象分布并行系统.提出了一种基于PVM(parallelvirtualmachine)的C++对象的分布并行机制.该机制以协议和pvmlib作了向后兼容扩充的PVM系统为对象分布并行支撑;用预处理器将用户作业的并行类分离,并派遣到(PVM)系统中的目标机进行异地编译、加载执行;通过把并行类映射为PVM任务,请求对象消息映射为请求PVM任务消息来实现并行类对象的分布并行.实验结果表明,此对象分布并行机制(当问题规模达到一定程度时)可提高系统资源利用率和程序运行效率,并能简化PVM应用编程.

关 键 词:PVM(parallelvirtualmachine)  面向对象  分布并行
收稿时间:8/3/1999 12:00:00 AM
修稿时间:1999年8月3日

Preliminary Research on C++ Object Distributed-Parallel Mechanism Based on PVM
LI Yi,ZHOU Ming-tian and YU Jue-bang.Preliminary Research on C++ Object Distributed-Parallel Mechanism Based on PVM[J].Journal of Software,2001,12(2):173-182.
Authors:LI Yi  ZHOU Ming-tian and YU Jue-bang
Abstract:The object possesses inherent parallelity. Combination of object-oriented programming with distributed-parallel processing will bring about object-oriented distributed parallel system, not only having object-oriented property but also making better use of system resources and shortening user's computing time as well. In this paper, a novel C++ object distributed-parallel mechanism is proposed based on PVM (parallel virtual machine). The object distributed-parallel mechanism is supported by the PVM system whose protocol and pvmlib have been made backward compatible extension. It uses preprocessor to separate the parallel-classes from user's job program and dispatches them to host computers in PVM to compile and run there. Through mapping parallel-class to PVM task, request object message to request PVM task message, the mechanism implements object distributed-parallelism of the parallel-class. The results of the experiment show that (when the size of question is big enough) the mechanism may make better use of the system resource, run user program efficiently, and simplify the PVM application programming.
Keywords:PVM (parallel virtual machine)  object-oriented  distributed-parallel
本文献已被 维普 万方数据 等数据库收录!
点击此处可从《软件学报》浏览原始摘要信息
点击此处可从《软件学报》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号