User Tools

Site Tools


dev:regtesting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
dev:regtesting [2015/09/01 08:04] – [Step 1: Preparation] vondeledev:regtesting [2018/10/08 19:58] oschuett
Line 13: Line 13:
 ===== How does it work? ===== ===== How does it work? =====
  
-The regression test suite is run using the [[src>cp2k/tools/regtesting/do_regtest | do_regtest]] script. +The regression test suite is run using the [[src>tools/regtesting/do_regtest | do_regtest]] script. 
 It performs the following tasks: It performs the following tasks:
    * update to the current SVN version (including new tests)    * update to the current SVN version (including new tests)
Line 27: Line 27:
  
   * If you are able to build and run cp2k on the local machine the easiest way is to start the regtesting by running ''make ARCH=... VERSION=... test''   * If you are able to build and run cp2k on the local machine the easiest way is to start the regtesting by running ''make ARCH=... VERSION=... test''
 +  * Be careful about the value of ''-j'' parameter you will use; running too many tests in parallel can cause tests to fail due to lack of system and/or GPU memory.
   * If this fails (e.g. on batch systems), continue with Step 1 else go to interpretation.   * If this fails (e.g. on batch systems), continue with Step 1 else go to interpretation.
  
Line 36: Line 37:
 ==== Step 2: Running ==== ==== Step 2: Running ====
 <code> <code>
-cp2k/tools/regtesting/do_regtest --help+$ tools/regtesting/do_regtest --help
 Usage: do_regtest [OPTION] Usage: do_regtest [OPTION]
 Run the CP2K regression test suite Run the CP2K regression test suite
dev/regtesting.txt · Last modified: 2023/10/19 14:03 by krack