首页> 外国专利> Automatic conversion of MPI source code programs into MPI thread-based programs

Automatic conversion of MPI source code programs into MPI thread-based programs

机译:自动将MPI源代码程序转换为基于MPI线程的程序

摘要

A method, system, and computer program product containing instructions for automatically converting an MPI source code program into an MPI thread-based program. In response to inputs in the form of an MPI source code program and a command, a converter declares a global variable of the MPI source code program as a thread private variable to create a first private variable for a first thread and a second private variable for a second thread. A library is identified to support converting processes to threads during execution of the MPI thread-based program, and the identified library is used to build an executable version of the MPI thread-based program. The identified library may include code to identify instantiation of a new process when the MPI thread-based program is executing, and in response, to cause a corresponding thread for the MPI thread-based program to be instantiated.
机译:一种方法,系统和计算机程序产品,其包含用于将MPI源代码程序自动转换为基于MPI线程的程序的指令。响应于MPI源代码程序和命令形式的输入,转换器将MPI源代码程序的全局变量声明为线程私有变量,以为第一线程创建第一私有变量,并为第二线程创建第二私有变量。第二个线程。标识一个库以支持在执行基于MPI线程的程序期间将进程转换为线程,并且标识的库用于构建基于MPI线程的程序的可执行版本。所标识的库可以包括用于在基于MPI线程的程序正在执行时标识新进程的实例的代码,并且作为响应,该代码使得用于基于MPI线程的程序的对应线程被实例化。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号