cp2k/tests
2024-08-03 16:45:58 +02:00
..
ATOM Format all input files 2023-12-18 22:41:19 +01:00
DFTB Update regtests non-scf DFTB + QMMM (prepare for new functionality) (#3436) 2024-05-28 13:23:17 +02:00
FARMING Format all input files 2023-12-18 22:41:19 +01:00
FE Format all input files 2023-12-18 22:41:19 +01:00
Fist Adjust tolerances 2024-07-18 09:05:26 +02:00
i-PI Add i–PI server functionality 2024-06-17 21:56:29 +02:00
LIBTEST Indent @-directives and set them upercase 2024-01-16 16:23:54 +01:00
MC/regtest Format all input files 2023-12-18 22:41:19 +01:00
NEB Reduce test output sizes 2024-05-25 05:40:22 +02:00
NNP/regtest-1 Format all input files 2023-12-18 22:41:19 +01:00
optimize_input/regtest-1 Format all input files 2023-12-18 22:41:19 +01:00
Pimd Format all input files 2023-12-18 22:41:19 +01:00
QMMM Update regtests non-scf DFTB + QMMM (prepare for new functionality) (#3436) 2024-05-28 13:23:17 +02:00
QS Stabilize QS/regtest-dcdft-hfx/N2_t05.inp 2024-08-03 16:45:58 +02:00
SE Adjust 5 regtests 2024-03-22 21:42:41 +01:00
SIRIUS/regtest-1 Fix uninitialized variable (#3261) 2024-02-08 10:26:10 +01:00
SWARM/regtest-glbopt-1 Format all input files 2023-12-18 22:41:19 +01:00
TAMC/regtest Indent @-directives and set them upercase 2024-01-16 16:23:54 +01:00
TMC Format all input files 2023-12-18 22:41:19 +01:00
xTB Enable density matrix and KS matrix output in DFTB/xTB (#3240) 2024-01-22 13:47:51 +01:00
.gitignore gitignore: fine-tune for specific subdirs 2018-11-03 07:20:21 +01:00
do_regtest.py Tests: Fix backwards compatibility of --mpiexec 2024-07-25 21:16:33 +02:00
HUGE_TESTS_SUPPRESSIONS Add exception for huge output 2024-06-27 16:29:01 +02:00
README.md precommit: Wrap Markdown lines after 100 characters 2023-11-14 12:47:36 +01:00
SLOW_TESTS_SUPPRESSIONS Add more exceptions to slow tests 2024-06-27 16:29:01 +02:00
TEST_DIRS adding optional D4 support (#3501) 2024-06-27 16:09:28 +02:00
TEST_TYPES Add optical properties from BSE and improve cutoff handling 2024-08-01 17:20:12 +02:00
UNIT_TESTS Regtesting: Introduce tests/UNIT_TESTS file 2023-01-30 11:33:11 +01:00

CP2K Tests

This directory contains input files for CP2K's tests and regression tests.

Automatic test results are collected on CP2K's dashboard for different machines. For documentation on CP2K's input files, please refer to the Input Reference Manual.

Note: the test names make common use of acronyms. For explanations, please refer to the Glossary of Acronyms and Abbreviations.

Regression Tests

There is a very large number of regtests. For this reason, each individual regtest should be fast (e.g. shorter than a minute on a regular laptop with an sdbg version of the code). Since these tests do not need to return meaningful results (just consistent results), one can use e.g. small basis sets, low cutoffs, small EPS_DEFAULT, ...

Test Directories Structure

The test-suite is fully controlled by the following files:

  • TEST_DIRS is a list of directories that contain tests.
  • TEST_TYPES defines test types. I.e. specifies which words should be grepped and what field should be used in the numerical comparison.

Additionally, each test-subdirectory contain TEST_FILES, which lists the input files that need to be executed for the regression test. These files will be run in order.

Some regression testing directories contain:

  • untested_inputs: list of input files, which have a more meaningful setup compared to the regtests, but that are not checked at every single commit.

How to Run Regression Tests

For information on how to run regression testing, please refer to the regression testing documentation.

How to Add a Regression Test

To add a regression test, commit the .inp file and add a corresponding entry to TEST_DIRS and TEST_FILES.