cp2k/tests
2023-07-18 15:04:15 +02:00
..
ATOM Stabilize ATOM/regtest-2/slater_7.inp 2021-05-13 13:16:03 +02:00
DFTB KPOINTS| Implementation of the DIIS/Diag. solver 2023-04-13 10:00:20 +02:00
FARMING Farming: rename of variables and introduction of external commands (#2649) 2023-03-06 10:38:19 +01:00
FE Remove tabs and trailing spaces 2021-03-11 20:06:46 +01:00
Fist enable allegro/nequip to work with float32 and float64 2023-05-25 10:57:29 +02:00
LIBTEST DBM: Add LIBTEST for dbm_multiply 2022-06-26 22:18:05 +02:00
MC/regtest Remove tabs and trailing spaces 2021-03-11 20:06:46 +01:00
NEB Reduce output of 2gly_IT-NEB-CV.inp 2023-05-12 16:58:05 +02:00
NNP/regtest-1 Add analytical stress tensor 2021-12-08 20:05:54 +01:00
optimize_input/regtest-1 Remove tabs and trailing spaces 2021-03-11 20:06:46 +01:00
Pimd Reduce test output and update suppression file (#2773) 2023-05-05 10:45:41 +02:00
QMMM Fist: Add switch to turn off real space electrostatics 2023-06-30 15:12:06 +02:00
QS SOC absorption for TDDFPT 2023-07-18 15:04:15 +02:00
SE Use ScaLAPACK library for test case 2021-05-15 23:08:00 +02:00
SIRIUS/regtest-1 Adjust NUM_FV_STATES in He-full-potential.inp 2022-09-01 08:45:30 +02:00
SWARM/regtest-glbopt-1 Remove tabs and trailing spaces 2021-03-11 20:06:46 +01:00
TAMC/regtest Remove tabs and trailing spaces 2021-03-11 20:06:46 +01:00
TMC Remove tabs and trailing spaces 2021-03-11 20:06:46 +01:00
xTB Generalize CIF file reader (#2843) 2023-06-30 13:16:56 +02:00
.gitignore gitignore: fine-tune for specific subdirs 2018-11-03 07:20:21 +01:00
HUGE_TESTS_SUPPRESSIONS Do not print restart and trajectory files 2023-05-05 18:20:33 +02:00
README.md Fix typos 2022-01-21 21:57:28 +01:00
SLOW_TESTS_SUPPRESSIONS Add four more tests to SLOW_TESTS_SUPPRESSIONS 2023-05-17 13:54:22 +02:00
TEST_DIRS SOC absorption for TDDFPT 2023-07-18 15:04:15 +02:00
TEST_TYPES SOC absorption for TDDFPT 2023-07-18 15:04:15 +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.