Skip to content

Commit

Permalink
Speedup dipole correction regtests [sghosh]
Browse files Browse the repository at this point in the history
  • Loading branch information
hforbert committed Feb 17, 2020
1 parent 5bb94eb commit d93e06c
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 33 deletions.
4 changes: 2 additions & 2 deletions tests/QS/regtest-corr_dipm/TEST_FILES
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
# the second field tells which option from cp2k/tests/TEST_TYPES must be grepped to verify the results
# 3rd field ---> tolerance
# 4th field ---> reference result
run-corr_dipm-RKS.inp 89 1e-04 0.0028430452
run-corr_dipm-UKS.inp 89 1e-04 0.0028430451
run-corr_dipm-RKS.inp 89 1e-04 0.0002025427
run-corr_dipm-UKS.inp 89 1e-04 0.0002023506
#EOF
14 changes: 0 additions & 14 deletions tests/QS/regtest-corr_dipm/coord12.xyz

This file was deleted.

18 changes: 9 additions & 9 deletions tests/QS/regtest-corr_dipm/run-corr_dipm-RKS.inp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
&FORCE_EVAL
METHOD Quickstep
&DFT
BASIS_SET_FILE_NAME GTH_BASIS_SETS
BASIS_SET_FILE_NAME BASIS_SET
POTENTIAL_FILE_NAME GTH_POTENTIALS

SURFACE_DIPOLE_CORRECTION TRUE
Expand All @@ -19,7 +19,7 @@

&QS
METHOD GPW
EPS_DEFAULT 1.0E-10
EPS_DEFAULT 1.0E-8
&END

&POISSON
Expand All @@ -29,7 +29,7 @@
&SCF
SCF_GUESS ATOMIC
MAX_SCF 100
EPS_SCF 1.0E-6
EPS_SCF 1.0E-4
ADDED_MOS 10
&DIAGONALIZATION
ALGORITHM STANDARD ! Do not change
Expand All @@ -43,7 +43,7 @@
&END
&OUTER_SCF
MAX_SCF 10
EPS_SCF 1.0E-6
EPS_SCF 1.0E-4
&END

&PRINT
Expand All @@ -56,7 +56,7 @@

&XC
&XC_FUNCTIONAL
&PBE
&PADE
&END
&END XC_FUNCTIONAL
&END XC
Expand All @@ -77,13 +77,13 @@
&END

&KIND Mg
BASIS_SET DZVP-GTH
POTENTIAL GTH-PBE-q10
BASIS_SET DZVP-GTH-PADE-q2
POTENTIAL GTH-PADE-q2
&END KIND
&KIND pNe
ELEMENT Ne
BASIS_SET DZVP-GTH
POTENTIAL GTH-PBE-q8
BASIS_SET SZV-GTH-PADE
POTENTIAL GTH-PADE
CORE_CORRECTION -0.0001
&END KIND
&END SUBSYS
Expand Down
17 changes: 9 additions & 8 deletions tests/QS/regtest-corr_dipm/run-corr_dipm-UKS.inp
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
&FORCE_EVAL
METHOD Quickstep
&DFT
BASIS_SET_FILE_NAME GTH_BASIS_SETS
BASIS_SET_FILE_NAME BASIS_SET
POTENTIAL_FILE_NAME GTH_POTENTIALS

SURFACE_DIPOLE_CORRECTION TRUE
Expand All @@ -20,7 +20,7 @@

&QS
METHOD GPW
EPS_DEFAULT 1.0E-10
EPS_DEFAULT 1.0E-8
&END

&POISSON
Expand All @@ -30,7 +30,7 @@
&SCF
SCF_GUESS ATOMIC
MAX_SCF 100
EPS_SCF 1.0E-6
EPS_SCF 1.0E-4
ADDED_MOS 10
&DIAGONALIZATION
ALGORITHM STANDARD ! Do not change
Expand All @@ -45,7 +45,7 @@
&END
&OUTER_SCF
MAX_SCF 10
EPS_SCF 1.0E-6
EPS_SCF 1.0E-4
&END

&PRINT
Expand Down Expand Up @@ -79,15 +79,16 @@
&END

&KIND Mg
BASIS_SET DZVP-GTH
POTENTIAL GTH-PBE-q10
BASIS_SET DZVP-GTH-PADE-q2
POTENTIAL GTH-PADE-q2
&END KIND
&KIND pNe
ELEMENT Ne
BASIS_SET DZVP-GTH
POTENTIAL GTH-PBE-q8
BASIS_SET SZV-GTH-PADE
POTENTIAL GTH-PADE
CORE_CORRECTION -0.0001
&END KIND

&END SUBSYS
&END FORCE_EVAL

0 comments on commit d93e06c

Please sign in to comment.