摘要
跟踪监视运行中的数值计算需要与计算程序进行交互,在遗留的Fortran计算程序上实现这种交互必须改动计算程序源代码,而源代码改动的程度是必须考虑的一个重要方面。该文简要介绍一个跟踪可视化系统的设计与实现,该系统中包括一个独立的监视程序,并基于COM技术构造监视程序与FORTRAN计算程序之间的交互机制。系统对Fortran计算代码的修改十分简便,修改后的计算程序在运行期间,可以根据需要随时启动或关闭监视程序,用户通过监视程序可以选择所关注的计算数据,从不同的方面观察计算状况。
Run - time tracing and monitoring of a numerical simulation requires interaction between the monitor and the computation. In order to implement this kind of interaction with legacy Fortran numerical code,the modification of source code is unavoidable. The degree of the modification is very important and must be taken into account. This paper introduces the design and implementation of a propotype of tracing system. The system contains an independent monitor and interaction mechanism based on COM to the legacy Fortran numerical code.The modification of Fortran source code is very simple. During the executation of modified program,the monitor can startup or turnoff on demand. The monitor enables the users to select concerned results, and to observe various aspects of runtime behavior of the computation.
出处
《计算机仿真》
CSCD
2005年第10期205-207,221,共4页
Computer Simulation
关键词
视算
驾驭式计算
组件
Visual computing
Computational steering
Common object model(COM)