User Tools

Site Tools


events:2018_summer_school:scf_setup

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
events:2018_summer_school:scf_setup [2018/06/17 08:40] – [Traditional Diagonalisation (TD)] mwatkinsevents:2018_summer_school:scf_setup [2020/08/21 10:15] (current) – external edit 127.0.0.1
Line 19: Line 19:
   &DFT   &DFT
     BASIS_SET_FILE_NAME GTH_BASIS_SETS     BASIS_SET_FILE_NAME GTH_BASIS_SETS
 +    BASIS_SET_FILE_NAME BASIS_MOLOPT
     POTENTIAL_FILE_NAME POTENTIAL     POTENTIAL_FILE_NAME POTENTIAL
     &MGRID     &MGRID
Line 29: Line 30:
       SCF_GUESS ATOMIC       SCF_GUESS ATOMIC
     # SCF_GUESS        RESTART     # SCF_GUESS        RESTART
-      EPS_SCF      1.0E-7+      EPS_SCF      1.0E-5
       &MIXING       &MIXING
         ALPHA 0.4         ALPHA 0.4
Line 154: Line 155:
 &GLOBAL &GLOBAL
   PROJECT H2O-32   PROJECT H2O-32
-  RUN_TYPE ENERGY+  RUN_TYPE MD
   PRINT_LEVEL MEDIUM   PRINT_LEVEL MEDIUM
 &END GLOBAL        &END GLOBAL       
 </code> </code>
  
 +<note>**TASK**
 +This uses a rather small BASIS_SET DVZP-GTH which is much too small for production runs. 
 +
 +Repeat the calculation using
 +
 +  BASIS_SET TZV2P-GTH
 +  BASIS_SET DZVP-MOLOPT-GTH
 +  BASIS_SET TZV2P-MOLOPT-GTH
 +  
 +You should change the basis set for each atomic type (kind) in each case.
 +</note>
 ===== Orbital Transformation (OT) ===== ===== Orbital Transformation (OT) =====
 +
 +We can see the effect of changing to the OT method by simply changing the SCF section.
 +
 +<code>
 +&SCF
 +  SCF_GUESS ATOMIC
 +  EPS_SCF 1.0E-06
 +  MAX_SCF 20
 +  &OT ON
 +    MINIMIZER DIIS
 +    PRECONDITIONER FULL_ALL
 +    ENERGY_GAP 0.001
 +  &END OT
 +  &OUTER_SCF
 +    MAX_SCF 2
 +  &END OUTER_SCF
 +&END SCF
 +</code>
 +
 +<note>**TASK**
 +See how OT compares with TD for the different basis sets you ran previously.
 +</note>
 +
 +=====Other parameters=====
 +
 +There are other factors that influence the effectiveness of the setups.
 +
 +<note>**TASK**
 +Exchange correlation functional. 
 +
 +We were using LDA (the particular parameterization is called PADE in CP2K). Try changing the functional to `PBE` (in the `XC` section) and see how this changes convergence.
 +</note>
 +
 +<note tip>
 +Also change the pseudopotential you are using in the KIND sections so it matches the functional.
 +</note>
 +
 +<note>**TASK**
 +System size affects the efficiency too. You can find larger water boxes in the ''${main directory of my cp2k installation}/tests/QS/benchmarks'' directory, or {{https://sourceforge.net/p/cp2k/code/HEAD/tree/trunk/cp2k/tests/QS/benchmark/|online}}.
 +Change the CELL parameters and the coordinates of the atoms and see how the methods scale.
 +You could also explore how the methods scale with number of processors used.
 +</note>
 +
 +<note>**TASK**
 +And of course, probably the most important 'parameter' is the system itself. Water is quite well behaved - largely meaning it is closed shell and has a large band gap. Try similar tests on a system you are interested in!</note>
events/2018_summer_school/scf_setup.1529224821.txt.gz · Last modified: 2020/08/21 10:14 (external edit)