计算机科学 > 软件工程
[提交于 2013年4月11日]
标题:The Removal of Numerical Drift from Scientific Models
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Computer programs often behave differently under different compilers or in different computing environments. Relative debugging is a collection of techniques by which these differences are analysed. Differences may arise because of different interpretations of errors in the code, because of bugs in the compilers or because of numerical drift, and all of these were observed in the present study. Numerical drift arises when small and acceptable differences in values computed by different systems are integrated, so that the results drift apart. This is well understood and need not degrade the validity of the program results. Coding errors and compiler bugs may degrade the results and should be removed. This paper describes a technique for the comparison of two program runs which removes numerical drift and therefore exposes coding and compiler errors. The procedure is highly automated and requires very little intervention by the user. The technique is applied to the Weather Research and Forecasting model, the most widely used weather and climate modelling code.
提交历史
来自:Mark Anderson[v1] 2013年4月11日 星期四 11:35:44 UTC