首页> 外文期刊>Software >Perturbing and evaluating numerical programs without recompilation-the wonglediff way
【24h】

Perturbing and evaluating numerical programs without recompilation-the wonglediff way

机译:无需重新编译即可扰动和评估数值程序-Winglediff方法

获取原文
获取原文并翻译 | 示例
       

摘要

wonglediff is a program that tests the sensitivity of arbitrary program executables or processes to changes that are introduced by a process that runs in parallel. On Unix and Linux kernels, wonglediff creates a supervisor process that runs applications and, on the fly, introduces desired changes to their process state. When execution terminates, it then summarizes the resulting changes in the output files. The technique employed has a variety of uses. This paper describes an implementation of wonglediff that checks the sensitivity of programs to random changes in the floating-point rounding modes. It runs a program several times, 'wongling' it each time: randomly toggling the IEEE-754 rounding mode of the program as it executes. By comparing the resulting output, one gets a poor man's numerical stability analysis for the program. Although the analysis does not give any kind of guarantee about a program's stability, it can reveal genuine instability, and it does serve as a particularly useful and revealing idiot light. In our implementation, differences among the output files from the program's multiple runs are summarized in a report. This report is in fact an HTML version of the output file, with inline mark-up summarizing individual differences among the multiple instances. When viewed with a browser, the differences can be highlighted or rendered in many different ways.
机译:wonglediff是一个程序,用于测试任意程序可执行文件或进程对并行运行的进程引入的更改的敏感性。在Unix和Linux内核上,wonglediff创建了一个管理程序,该程序运行应用程序,并动态地对其进程状态进行所需的更改。执行终止时,它将汇总输出文件中的结果更改。所采用的技术具有多种用途。本文介绍了winglediff的实现,该实现检查程序对浮点舍入模式中随机变化的敏感性。它会多次运行一个程序,每次都“哭”:在程序执行时随机切换其IEEE-754舍入模式。通过比较结果输出,可以对该程序进行穷人的数值稳定性分析。尽管该分析不能对程序的稳定性提供任何保证,但它可以揭示真正的不稳定性,并且确实可以作为一种特别有用的且可以显示白痴的光。在我们的实现中,该报告多次汇总了该程序多次运行的输出文件之间的差异。该报告实际上是输出文件的HTML版本,带有内联标记,总结了多个实例之间的个体差异。当使用浏览器查看时,差异可以多种方式突出显示或呈现。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号