<div dir="ltr"><div><div>Hi all,<br></div>  I am trying to optimize (cell and geometry) water box (taken from cp2k benchmarks) with 128 water molecules using DFTB method. I am taking initially 20 20 20 as cell dimensions and asking to minimize cell and geometry simultaneously. I think it is well known that the dimensions should be around 15 ang (In the benchmark study given as 15.6404 15.6404 15.6404). I am getting the dimensions 12.539 12.539 12.539 from my calculations. The input and end of output given here. Why DFTB is far away from the benchmark study? Am I missing something in my input? I really thankful to them, if someone help in this regard.<br><br></div><div>I look forward to hear the solutions<br></div><div>Thanks in advance<br></div><div>Nagaprasad<br></div><div><br></div>Input:<br>&FORCE_EVAL<br>  METHOD Quickstep<br>  STRESS_TENSOR ANALYTICAL<br>  &DFT<br>    &POISSON<br>      PERIODIC XYZ<br>      &EWALD<br>       EWALD_TYPE SPME<br>       GMAX 25<br>       O_SPLINE 5<br>      &END EWALD<br>    &END POISSON<br><br>    &LOCALIZE ON<br>      &PRINT<br>        &TOTAL_DIPOLE<br>          COMMON_ITERATION_LEVELS 40000<br>          FILENAME ./TOTAL_DIPOLE.dat<br>          ADD_LAST NUMERIC<br>          PERIODIC TRUE<br>          REFERENCE COAC<br>          &EACH<br>            MD 1<br>          &END EACH<br>        &END TOTAL_DIPOLE<br>      &END PRINT<br>    &END LOCALIZE<br>    &QS<br>      METHOD DFTB<br>      &DFTB<br>         DIAGONAL_DFTB3    T<br>        SELF_CONSISTENT    T<br>        HB_SR_GAMMA        T<br>        DO_EWALD           T<br>        DISPERSION         T<br>        &PARAMETER<br>          PARAM_FILE_PATH  /opt/cp2k_libint/cp2k/data/DFTB/scc<br>          PARAM_FILE_NAME  scc_parameter<br>          DISPERSION_TYPE  D3<br>          DISPERSION_RADIUS           15.<br>          COORDINATION_CUTOFF         1.e-4<br>          D3_SCALING                  1.0 1.5 1.5<br>          DISPERSION_PARAMETER_FILE   /opt/cp2k_libint/cp2k/data/dftd3.dat<br>        &END PARAMETER<br>      &END DFTB<br>    &END QS<br><br>    &SCF<br>      SCF_GUESS ATOMIC  #RESTART  #ATOMIC<br>      EPS_SCF 1.0E-7<br>      MAX_SCF 2000<br>      &OT<br>        PRECONDITIONER FULL_ALL<br>        MINIMIZER  DIIS<br>      &END<br>      &OUTER_SCF<br>        OPTIMIZER DIIS<br>        MAX_SCF 100<br>        EPS_SCF 1.0E-7<br>      &END OUTER_SCF<br>    &END SCF<br>    &PRINT<br>      &MOMENTS<br>       PERIODIC TRUE<br>       &EACH<br>         MD 1<br>       &END<br>       MAX_MOMENT 1<br>       FILENAME =dipolemet.traj<br>      &END MOMENTS<br><br>      &MULLIKEN<br>      &END MULLIKEN<br>    &END PRINT<br> &END DFT<br>  &SUBSYS<br>    &CELL<br>      ABC [angstrom] 20.0000 20.0000 20.0000<br>      SYMMETRY CUBIC<br>      PERIODIC XYZ<br>    &END<br>    &TOPOLOGY<br>     COORD_FILE_NAME ./<a href="http://h2o.xyz">h2o.xyz</a><br>     COORDINATE xyz<br>    &END<br>  &END SUBSYS<br>&END FORCE_EVAL<br>&GLOBAL<br>  PRINT_LEVEL MEDIUM<br>  PROJECT wat<br>  RUN_TYPE CELL_OPT<br>  EXTENDED_FFT_LENGTHS<br>&END GLOBAL<br>&MOTION<br>   &CELL_OPT<br>     EXTERNAL_PRESSURE  1.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 1.0<br>     TYPE DIRECT_CELL_OPT<br>    MINIMIZER LBFGS<br>    KEEP_SYMMETRY<br>    MAX_ITER 5000<br>    &PRINT<br>      &CELL ON<br>         &EACH<br>            CELL_OPT 1<br>         &END EACH<br>      &END CELL<br>    &END PRINT<br>  &END CELL_OPT<br><br>  &PRINT<br>    &RESTART<br>      LOG_PRINT_KEY T<br>      &EACH<br>        MD 20  <br>      &END EACH<br>      ADD_LAST NUMERIC<br>    &END RESTART<br><br>    &TRAJECTORY<br>      LOG_PRINT_KEY T<br>      FORMAT XYZ<br>      UNIT angstrom<br>      &EACH<br>        MD 1  <br>      &END EACH<br>      ADD_LAST NUMERIC<br>    &END TRAJECTORY<br><br>    &VELOCITIES<br>      LOG_PRINT_KEY T<br>      FORMAT XYZ<br>      UNIT angstrom<br>      &EACH<br>        MD 1   <br>      &END EACH<br>      ADD_LAST NUMERIC<br>    &END VELOCITIES<br>  &END PRINT<br>&END MOTION<br><br><div><br><br><br><br>few steps in Output:<br><br> --------  Informations at step =  1092 ------------<br>  Optimization Method        =                LBFGS<br>  Total Energy               =      -526.7648934300<br>  Internal Pressure [bar]    =        20.7598453579<br>  Real energy change         =        -0.0000068927<br>  Decrease in energy         =                  YES<br>  Used time                  =                2.757<br><br>  Convergence check :<br>  Max. step size             =         0.0024311351<br>  Conv. limit for step size  =         0.0030000000<br>  Convergence in step size   =                  YES<br>  RMS step size              =         0.0005225723<br>  Conv. limit for RMS step   =         0.0015000000<br>  Convergence in RMS step    =                  YES<br>  Max. gradient              =         0.0003651668<br>  Conv. limit for gradients  =         0.0004500000<br>  Conv. in gradients         =                  YES<br>  RMS gradient               =         0.0000715192<br>  Conv. limit for RMS grad.  =         0.0003000000<br>  Conv. in RMS gradients     =                  YES<br>  Pressure Deviation [bar]   =        19.7598453579<br>  Pressure Tolerance [bar]   =       100.0000000000<br>  Conv. for  PRESSURE        =                  YES<br> ---------------------------------------------------<br><br> *******************************************************************************<br> ***                    GEOMETRY OPTIMIZATION COMPLETED                      ***<br> *******************************************************************************<br><br> 17:54:28 NOTE in cp_output_handling:cp_print_key_unit_nr :: Moving file<br> wat-1.restart.bak-2 into file wat-1.restart.bak-3.<br><br><br> 17:54:28 NOTE in cp_output_handling:cp_print_key_unit_nr :: Moving file<br> wat-1.restart.bak-1 into file wat-1.restart.bak-2.<br><br> 17:54:28 NOTE in cp_output_handling:cp_print_key_unit_nr :: Moving file<br> wat-1.restart into file wat-1.restart.bak-1.<br><br><br> 17:54:28 NOTE in cp_output_handling:cp_print_key_unit_nr :: Writing RESTART<br> 1_1092 to wat-1.restart<br><br><br>                    Reevaluating energy at the minimum<br><br> CELL| Volume [angstrom^3]:                                             1971.378<br> CELL| Vector a [angstrom]:      12.539     0.000     0.000    |a| =      12.539<br> CELL| Vector b [angstrom]:       0.000    12.539     0.000    |b| =      12.539<br> CELL| Vector c [angstrom]:       0.000     0.000    12.539    |c| =      12.539<br> CELL| Angle (b,c), alpha [degree]:                                       90.000<br> CELL| Angle (a,c), beta  [degree]:                                       90.000<br> CELL| Angle (a,b), gamma [degree]:                                       90.000<br> CELL| Requested initial symmetry:                                         CUBIC<br> CELL| Numerically orthorhombic:                                             YES<br><br> DISTRIBUTION OF THE NEIGHBOR LISTS<br>              Total number of particle pairs:                              31467<br>              Total number of matrix elements:                             31467<br>              Average number of particle pairs:                             1259<br>              Maximum number of particle pairs:                             1354<br>              Average number of matrix element:                             1259<br>              Maximum number of matrix elements:                            1354<br><br> Number of electrons:                                                       1024<br> Number of occupied orbitals:                                                512<br> Number of molecular orbitals:                                               512<br><br> Number of orbital functions:                                                768<br> Number of independent orbital functions:                                    768<br><br> Parameters for the always stable predictor-corrector (ASPC) method:<br><br>  ASPC order: 3<br><br><br></div></div>