期刊文献+

基于Java的粒子模拟程序及其改进

Using Java for Particle Simulation and Its Optimization
下载PDF
导出
摘要 本文介绍了如何用Java实现粒子模拟的面向对象的并行程序设计方法 ,并在由 1 6个Pen tiumIII 1 .6GCPU组成的微机机群上测试了其性能。同时 ,为了提高它的计算性能 ,我们还介绍了利用JNI实现Java和Fortran混合编程的方法 ,即把程序中计算量较大的部分用Fortran语言代替 ,以提高其计算性能。结果表明 。 The success of Java in network computing is encouraging people to introduce it into scientific computing. In this paper we present our approach to developing an object-oriented particle simulation code in Java, and benchmark its performance on a Linux cluster consisting of 16 Pentium III 1.6G CPUs. To improve its performance, we replace the parts of the code that consume the large part of time with Fortran through JNI (Java Native Interface), and the result shows that it is an effective way for scientific computing.
出处 《计算机工程与科学》 CSCD 2004年第12期67-70,共4页 Computer Engineering & Science
基金 国家自然科学基金资助项目 ( 40 0 840 0 1 40 1740 41 40 2 44 0 0 6 ) 中国科学院知识创新工程重要方向资助项目 (KZCX2 SW 1)
  • 相关文献

参考文献6

  • 1Judd G, Clement M, Snell Q. DOGMA: Distributed Object Group Metacomputing Architecture[J]. Concurrency: Practice and Experience, 1998,10(11/13): 977-983.
  • 2Arnold D C, Dongarra J. The NetSolve Environment: Progressing Towards theSeamless Grid[A]. Proc 2000 Int'l Conf on Parallel Processing[C]. 2000.
  • 3Liang S. The Java Native Interface: Programmer's Guide and Specification[M]. Addison-Wesley, 1999.
  • 4Birdsall C K, Langdon A B. Plasma Physics via Computer Simulation[M]. New York: McGraw-Hill, 1991.
  • 5Lu Q M, Cai D S. Implementation of Parallel Plasma Particle-in-cell Codes on PC Cluster[J]. Computer Physics Communication, 2001, 135:93-104.
  • 6Baker M, Carpenter B, Fox G, et al. mpi-Java: An Object-Oriented Java Interface to MPI[A]. Proc Int'l Workshop on Java for Parallel and Distributed Computing[C]. 1999.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部