上海大学学报(自然科学版) ›› 2014, Vol. 20 ›› Issue (2): 180-189.doi: 10.3969/j.issn.1007-2861.2013.07.001

• 计算机工程与科学 • 上一篇    下一篇

三值光学计算机MPI编程技术在超算集群中的使用

张 茜1,2, 金 翊1,2,3, 宋 凯1,2, 高 桓1,2   

  1. (1. 上海大学 计算机工程与科学学院, 上海 200444; 2. 上海大学 高性能计算中心, 上海 200444;

    3. 华东交通大学 信息工程学院, 南昌 330013)

  • 出版日期:2014-04-26 发布日期:2014-04-26
  • 通讯作者: 金 翊(1957—), 男, 教授, 博士生导师, 研究方向为三值光学计算机和计算机体系结构.E-mail: yijin@shu.edu.cn
  • 作者简介:金 翊(1957—), 男, 教授, 博士生导师, 研究方向为三值光学计算机和计算机体系结构.E-mail: yijin@shu.edu.cn
  • 基金资助:

    国家自然科学基金资助项目(61073049, 61103054);教育部博士点建设基金资助项目(20093108110016);

    上海市教委科研创新基金资助项目(13ZZ074, 13YZ005)

MPI Programming Based on Ternary Optical Computer in Supercomputer

ZHANG Qian1,2, JIN Yi1,2, SONG Kai1,2,3, GAO Huan1,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 Information Engineering, East China Jiaotong University, Nanchang 330013, China
  • Online:2014-04-26 Published:2014-04-26

摘要: 建立 MPI 程序中三值光学计算机(ternary optical computer, TOC)和 CPU 在指令级别上协同工作的技术. 在该技术中, TOC 节点作为服务端, 运行等待连接的进程;CPU 上运行的 MPI 进程作为客户端, 使用以SHDX 为前缀的一类扩充指令来请求与TOC 连接. TOC 和 CPU 连接之后, MPI 进程将指令级别上的服务要求和数据一并发送给TOC 节点, TOC 发挥其处理器可构成复合运算器及数据位数众多的优势来处理数据, 并将计算结果回送给客户端的MPI 进程. 该过程实现了 CPU 在指令级别上调用TOC 来协同工作的目的. 目前, 设定一个超级计算机系统可以融入10 个TOC 节点, 每个TOC 节点可以打开8 个服务端口, 未来的版本可能扩大这两个限制. 实验结果证明了该技术的正确性.

关键词: MPI 程序, 超级计算机, 三值光学计算机

Abstract: An MPI method is proposed to make the ternary optical computer (TOC) node cooperate with other general compute nodes in a cluster supercomputer in an MPI program. The TOC nodes work as servers, running a process to wait for connections. Any MPI process running on CPU works as a client side, using a series of expand instructions with the prefix of SHDX to contact the TOC node. After the TOC node gets contact with the MPI process on the CPU nodes, MPI process sends an operation request and data to the TOC in a connection. Then, TOC exerts the advantages of its reconfigurable processor and high data-bit-width to process the data and sends the results back to the MPI process. This method realizes using TOC on the instruction level. At present, there can be at most 10 TOC nodes in a supercomputer system, and each TOC node opens 8 ports. Future versions may break these restrictions. Experimental results show feasibility and practicality of the method.

Key words: MPI program, supercomputer, ternary optical computer (TOC)

中图分类号: