期刊名称:International Journal of Software Engineering & Applications (IJSEA)
印刷版ISSN:0976-2221
电子版ISSN:0975-9018
出版年度:2013
卷号:4
期号:2
页码:51
出版社:Academy & Industry Research Collaboration Center (AIRCC)
摘要:Computer programs often behave differently under different compilers or in different computingenvironments. 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 thecompilers or because of numerical drift, and all of these were observed in the present study. Numericaldrift arises when small and acceptable differences in values computed by different systems areintegrated, so that the results drift apart. This is well understood and need not degrade the validity of theprogram results. Coding errors and compiler bugs may degrade the results and should be removed. Thispaper describes a technique for the comparison of two program runs which removes numerical drift andtherefore exposes coding and compiler errors. The procedure is highly automated and requires very littleintervention by the user. The technique is applied to the Weather Research and Forecasting model, themost widely used weather and climate modelling code.