Changes between Version 18 and Version 19 of TestSuite


Ignore:
Timestamp:
06/30/11 14:33:45 (14 years ago)
Author:
martinhe
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • TestSuite

    v18 v19  
    33
    44
    5 == Current testing (new, 6/30/11)
    6 At the moment we do post-processing tests of astroBEAR2.0. Basically, tests consist on comparing the flow variables in a chombo file produced by the tests modules, against a ''reference chombo file'' (see below).
    7 All test related files and directories are located in modules/tests/.
     5== Current testing (6/30/11, under edition)
     6At the moment we do post-processing tests of astroBEAR2.0. Basically, tests consist on comparing the flow variables in a chombo file produced by the test modules, against a ''reference chombo file'' (see below).
     7All test related files are located in modules/tests/.
    88Each test has its own directory which contains:
    9 - the problem's data files (global.data, modules.data, problem.data, profile.data, solver.data, communication.data, io.data and physics.data),
    10 - the problem's module (problem.f90),
    11 - bear2fix.data, bear2fix.data.test and bear2fix.data.img which are BearToFix data files (see below),
     9- the problem's data files: global.data, modules.data, problem.data, profile.data, solver.data, communication.data, io.data and physics.data,
     10- the problem's module problem.f90,
     11- two data files used by BearToFix to produce test reports:  bear2fix.data.test and bear2fix.data.img,
    1212- a "ref" directory which contains the reference chombo file.
    1313
    14 ''The reference chombo file.'' This file, chombo00001.hdf, has been produced with the code and verified by someone in our research group using well documented, and quantitative, analytical or numerical studies. Reference chombos are included with the current distribution of the code.
     14''The reference chombo file.'' This file, chombo00001.hdf, has been produced with the code and verified by someone in our research group using well documented quantitative analytical or numerical studies. Reference chombos are included with the current distribution of the code, and information about them can be found in their corresponding test wiki pages.
    1515
    16 '''Running tests'''
     16'''Running tests'''. This is done using two shell scripts:
     17- postprocess.s, that iterates over each of the test problem and calls the go.s script,
     18- go.s, which basically cd's into the current test directory and executes BearToFix (see below), converts the images from ps to png and copies them back into the image directory. These images will them be linked to the corresponding text report wiki pages.
    1719
     20'''Tests report'''. Once test runs are finished, BearToFix will be executed. It will do the error computations and produce two png images showing the reference and the current result of the run. BearToFix is executed twice; the 1st time it read bear2fix.data.img to set the color tables for the test report images, whereas the 2nd time it reads bear2fix.data.test to perform the error computation and produce the test report images.
    1821
     22'''Tests error calculations'''. These are done in BearToFix via L2norms and LInfinity norms (reference to be added soon).
    1923
     24To use BearToFix by yourself (e.g. in order to do further adjustment of the test report parameters), select operation 11, test 4 (Generic Test) and input the maximum mean error tolerance (see below) allowed for each fluid variable. BearToFix will then compute the errors and produce the test report images. You should then copy these images to the test images directory (reference to be added soon).
    2025
    21 '''Tests report'''. Once test runs are finished, BearToFix will be executed.
    22 It will do the error computations and produce two png images showing the reference and the current result of the run. This images will be linked to corresponding wiki pages of the tests.
    23 BearToFix is executed twice; the 1st time it read bear2fix.data.img to set the colour tables for the test report images, whereas the 2nd time it read bear2fix.data.test to perfom the erroc computation and produce the test report images.
    24 
    25 '''Tests error calculations'''. These are done in BearToFix via L2norms and LInfinity norms
    26 
    27 To use BearToFix by yourself (e.g. in order to do further adjustment of the test report parameters), select operation 11, test 4 (Generic Test) and input the maximum mean error tolerance (see below) allowed for each fluid variable. BearToFix will then produce the test report images and links to their wiki pages.
    28 
    29 '''If the test fails''', BearToFix outputs the current errors as well as suggested new tolerances (5% higher then the current errors). The user can then copy and paste these figures into the bear2fix.data.test file.
     26'''If the test fails''', BearToFix outputs the current errors as well as suggested new tolerances (5% higher then the current errors). The user can then copy and paste these figures into the bear2fix.data.test file and run BearToFix again.
    3027
    3128----