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

基于三层混合编程模型的Petri网并行算法研究
引用本文:周杰,李文敬.基于三层混合编程模型的Petri网并行算法研究[J].计算机科学,2017,44(Z11):586-591, 595.
作者姓名:周杰  李文敬
作者单位:广西师范学院计算机与信息工程学院 南宁530023,广西师范学院科学计算与智能信息处理高校重点实验室 南宁530023;广西师范学院物流管理与工程学院 南宁530299
基金项目:本文受国家自然科学基金(61363037,4,61163012),广西自然科学基金(2016GXNSFAA380243),广西自然科学基金重点项目(2014GXNSFDA118037)资助
摘    要:为解决多核机群Petri网并行化过程中,运用MPI+OPenMP混合编程实现同步会出现死锁的问题,提出了基于三层混合编程模型的Petri网并行算法。首先,根据事务内存的同步优势,在多核机群环境下构建MPI+OPenMP+STM的三层编程模型;然后,对Petri网的几何模型与代数模型的并行化进行分析,建立MPI+OPenMP+STM三层结构的Petri网并行模型,并对三层混合编程模型的Petri网并行算法进行设计与分析;最后,通过示例进行编程验证,该算法的运行效率明显优于其他编程模式,而且Petri网的规模越大,其并行计算的效果就越明显。因此,该算法是多核机群环境下模拟Petri网并行运行的一种高效且可行的算法。

关 键 词:Petri网  MPI+OPenMP+STM编程  Petri网并行化  Petri网并行模型  并行算法

Research on Parallel Algorithm of Petri Net Based on Three-layer Mixed Programming Model
ZHOU Jie and LI Wen-jing.Research on Parallel Algorithm of Petri Net Based on Three-layer Mixed Programming Model[J].Computer Science,2017,44(Z11):586-591, 595.
Authors:ZHOU Jie and LI Wen-jing
Affiliation:College of Computer and Information Engineering,Guangxi Teachers Education University,Nanning 530023,China and Key Laboratory of Scientific Computing and Intelligent Information Processing,Guangxi Teachers Education University,Nanning 530023,China;School of Logistics Management and Engineering,Guangxi Teachers Education University,Nanning 530299,China
Abstract:In order to solve the deadlocks in the synchronization realized by using the MPI+OPenMP mixed programming during the parallelization of Petri nets based on the multi core cluster,the paper proposed the Petri net parallel algorithm based on a three layer mixed programming model.Firstly,it builds a three layer programming model of MPI+OPenMP+STM in the multi-core cluster environment according to the synchronous advantage of the transactional memory.Then,it analyzes the parallelization of the geometric model and the algebraic model of the Petri net.It also builds the Petri net parallel model with a three-layer structure of MPI+OPenMP+STM as well as designing and analyzing the Petri net parallel algorithm of the three-layer programming model.Finally,the paper validates the programming through examples and proves that the operating efficiency of this algorithm is much better than those of other programming modes.In addition,the larger the size of the Petri net is,the better effect of the parallel computing it has.Therefore,the algorithm is an efficient and applicable algorithm for the simulated parallel operation of the Petri net in the multi-core cluster environment.
Keywords:
点击此处可从《计算机科学》浏览原始摘要信息
点击此处可从《计算机科学》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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