Mathematica程序在网络远程计算机上的并行计算
Parallel Evaluation of Mathematica Programs in Remote Computers Available in Network
摘要:
Mathematica是一个强大的数学应用程序包,几乎用于所有科学分支。它有着广泛的应用,从量子计算,统计分析,数论,动物学,天文学等等。Mathematica为其最终用户语言提供了一套丰富的编程扩展,它允许我们以过程、函数或逻辑(基于规则)风格编写程序,或者三者的混合。对于需要与外部环境接口的任务,Aptica提供了mathlink,它允许我们将Aptica程序与用C,C++,F77,F90,F95,Java或其他语言编写的外部程序进行通信。它还具有广泛的编辑图形,方程,文本等的能力,在这篇文章中,我们探讨了并行化的基本机制,一个并行程序共享到网络中的所有其他计算机的程序的不同部分。通过并行化,我们可以在很短的时间内完成大量的计算操作,因此,可以实现数值工作的效率。并行计算支持任何版本的Aptica,即使在不同的计算机上安装了不同版本的Aptica,它也能正常工作。整个操作可以运行在任何支持的操作系统,如Unix,Windows,Macintosh等,在这里,我们集中我们的研究只为基于Unix的操作系统,但这种方法的作品以及所有其他情况下。
英文摘要:
Mathematica is a powerful application package for doing mathematics and is used almost in all branches of science. It has widespread applications ranging from quantum computation, statistical analysis, number theory, zoology, astronomy, and many more. Mathematica gives a rich set of programming extensions to its end-user language, and it permits us to write programs in procedural, functional, or logic (rule-based) style, or a mixture of all three. For tasks requiring interfaces to the external environment, mathematica provides mathlink, which allows us to communicate mathematica programs with external programs written in C, C++, F77, F90, F95, Java, or other languages. It has also extensive capabilities for editing graphics, equations, text, etc. In this article, we explore the basic mechanisms of parallelization of a mathematica program by sharing different parts of the program into all other computers available in the network. Doing the parallelization, we can perform large computational operations within a very short period of time, and therefore, the efficiency of the numerical works can be achieved. Parallel computation supports any version of mathematica and it also works as well even if different versions of mathematica are installed in different computers. The whole operation can run under any supported operating system like Unix, Windows, Macintosh, etc. Here we focus our study only for the Unix based operating system, but this method works as well for all other cases.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。