Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • alya-testsuite alya-testsuite
  • Project information
    • Project information
    • Activity
    • Members
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Wiki
    • Wiki
  • Activity
Collapse sidebar
  • alyaalya
  • alya-testsuitealya-testsuite
  • Wiki
  • Manage the tolerances

Manage the tolerances · Changes

Page history
Update Manage the tolerances authored Jul 23, 2019 by Damien Dosimont's avatar Damien Dosimont
Hide whitespace changes
Inline Side-by-side
Manage-the-tolerances.md
View page @ 822a8e51
![Capture_d_écran_de_2019-07-23_17-21-46](uploads/6b5dc2c45cbfb6bedcd71cc8fff4c233/Capture_d_écran_de_2019-07-23_17-21-46.png)
This figure shows an example of tolerance issues
This figure shows an example of tolerance issues. It means that some of the result files contain values that are too far from the reference files values.
#### Tune the tolerance
Generally, it means that the behavior of Alya is wrong and that you should investigate why results are different from what you expected. However, it could also be related to rounding issues generated by a specific compiler or architecture, which leads to small but acceptable differences compared to the reference values. In this case, you may want to adjust your test tolerance so the testsuite does not trigger a failure.
This operation can be done modifying the `.json` associated with the test (tests are located in the tests directory of the svn directory).
In the section `comparisons` of the `.json` file, you will find a list of files that have to be compared.
This operation can be done modifying the `.json` associated with the test (see https://gitlab.bsc.es/alya/alya-testsuite/wikis/Contribution-workflow to know how to proceed).
In the section `comparisons` of the `.json` file, you will find a list of files are compared.
For each file, there is a field "method" that is used to define how to compare the reference and the test result files.
##### "method": "absolute"
......
Clone repository
  • Home
  • User
    • Basic information
    • Execute the Testsuite
    • Analyze the results
  • Developer
    • Adding/modifying tests workflow
    • Manage the tolerancies