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 revision Previous revision
dev:regtesting [2019/01/13 11:30]
oschuett
dev:regtesting [2020/04/06 17:59] (current)
xinwu make can also use options listed in do_regtest
Line 23: Line 23:
 ==== Step 0: make based testing ==== ==== Step 0: make based testing ====
  
-  * 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''​. The options listed in Step 2 can also be specified with ''​make''​ via ''​TESTOPTS+=<​options>'',​ e.g. ''​TESTOPTS+="​-mpiranks 4 -ompthreads 4"''​ requires 4 MPI ranks and 4 OpenMP threads for each MPI rank.
   * 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.   * 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.
dev/regtesting.txt ยท Last modified: 2020/04/06 17:59 by xinwu