A Test Harness TH for Numerical Applications and Libraries

  • Brian T. Smith
Part of the IFIP The International Federation for Information Processing book series (IFIPAICT, volume 239)


TH is a test harness to facilitate the development of scientific software. The operational model is the comparison of the results from running two versions of an application code to ensure the results are equivalent. First, TH is installed into an existing application code that runs to completion on a set of data. Installation tools provide a readily-modified default initial configuration. The application code with TH installed is run in generate mode to create a monitored data file. A second version of the application with TH installed is run in check mode, comparing the current results with the original results. Features include specifiable criterion for data comparison, and a design that facilitates the installation of TH into codes written in any programming language and in parallel SPMD codes. Once installed, TH can be deactivated, permitting the same code to be maintained with and without the test harness in use.


Input File Grid Service Application Code Module Procedure Numerical Software 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.


  1. [1]
    Brainerd, W. S., The F programming language, http://www.fortran.com/F, 2005
  2. [2]
    Metcalf, M, Reid, J. K, and Cohen, M. Fortran 95/2003 Explained, Numerical Mathematics and Scientific Computation, 2004Google Scholar
  3. [3]
    Smith, B. T., Creating a test data environment to detect errors in the code conversion process — an overview, Version 0.6, Nov. 2005Google Scholar
  4. [4]
    Smith, B. T., The test harness user’s guide, Version 0.6, Nov. 2005Google Scholar
  5. [5]
    PARA WISE, The Computer Aided Parallelization Toolkit, Tutorial Guide, Version 2.4, June 2004, http://www.parallelsp.com
  6. [6]
  7. [7]
  8. [8]

Copyright information

© International Federation for Information Processing 2007

Authors and Affiliations

  • Brian T. Smith
    • 1
  1. 1.Numerica 21 IncorporatedAngel FireUSA

Personalised recommendations