<div dir="ltr">Dear Prof. Jürg Hutter, <br><br>Thank you very much for your response. I changed the basis sets for the atom types, and the simulation started. <br><br>However, the energy significantly increases during the first step of the scf field calculation. <br><div><br></div><div> SCF WAVEFUNCTION OPTIMIZATION<br><br> Step Update method Time Convergence Total energy Change<br> ------------------------------------------------------------------------------<br> 1 P_Mix/Diag. 0.40E+00 34.1 1.49352991 -3306.5025219983 -3.31E+03<br> 2 P_Mix/Diag. 0.40E+00 52.5 0.97283893 -3337.7996220399 -3.13E+01<br> 3 P_Mix/Diag. 0.40E+00 51.8 0.88366630 -3355.9794833839 -1.82E+01<br> 4 P_Mix/Diag. 0.40E+00 52.4 1.49440081 -3366.3903106073 -1.04E+01<br> 5 P_Mix/Diag. 0.40E+00 52.3 4.78093105 -3357.3113062081 9.08E+00<br> 6 P_Mix/Diag. 0.40E+00 55.6 5.13204666 8949.0258399209 1.23E+04<br> 7 P_Mix/Diag. 0.40E+00 55.7 4.87209898 1382.2558657457 -7.57E+03<br> 8 P_Mix/Diag. 0.40E+00 52.1 4.11402739 5878.6202919895 4.50E+03<br> 9 P_Mix/Diag. 0.40E+00 52.1 3.90597954 3458.6520635220 -2.42E+03<br> 10 P_Mix/Diag. 0.40E+00 52.1 4.44874753 5101.5066833448 1.64E+03<br> 11 P_Mix/Diag. 0.40E+00 52.4 4.40856697 4378.1126110753 -7.23E+02<br> 12 P_Mix/Diag. 0.40E+00 52.1 4.62106313 4808.7707611559 4.31E+02<br> 13 P_Mix/Diag. 0.40E+00 52.3 4.69047378 4716.1178362235 -9.27E+01<br><br></div><div><br></div><div>Below is my input file. <br><br>Could you expect that it is due to the standard PW cut-off or "small" basis set? <br><br>Best wishes, </div><div>Victor <br></div><div><br></div><div>####################################################################</div><div>&GLOBAL<br> PROJECT crys_pbc<br> RUN_TYPE GEO_OPT ! ENERGY <br> PRINT_LEVEL MEDIUM<br> EXTENDED_FFT_LENGTHS .TRUE.<br>&END GLOBAL<br><br>&MOTION <br> &GEO_OPT<br> TYPE MINIMIZATION<br> MAX_DR 1.0E-03<br> MAX_FORCE 1.0E-03<br> RMS_DR 1.0E-03<br> RMS_FORCE 1.0E-03<br> MAX_ITER 200<br> OPTIMIZER CG<br> &CG<br> MAX_STEEP_STEPS 0<br> RESTART_LIMIT 9.0E-01<br> &END CG<br> ! KEEP_SYMMETRY .TRUE.<br> ! OPTIMIZER CG !LBFGS <br> &END<br>&PRINT <br> &TRAJECTORY LOW<br> ADD_LAST NUMERIC<br> LOG_PRINT_KEY T<br> FORMAT XMOL<br> &EACH <br> GEO_OPT 1 <br> &END EACH<br> &END TRAJECTORY<br> &RESTART LOW<br> ADD_LAST NUMERIC<br> LOG_PRINT_KEY T<br> &EACH<br> GEO_OPT 1<br> &END EACH<br> &END RESTART<br> &END PRINT<br>&END MOTION <br><br>&FORCE_EVAL<br> METHOD Quickstep ! Electronic structure method (DFT,...)<br> STRESS_TENSOR NUMERICAL <br> &DFT<br> BASIS_SET_FILE_NAME BASIS_MOLOPT<br> POTENTIAL_FILE_NAME POTENTIAL<br><br> &POISSON ! Solver requested for non periodic calculations<br> PERIODIC XYZ<br> &END POISSON<br> &SCF ! Parameters controlling the convergence of the scf. This section should not be changed. <br> SCF_GUESS ATOMIC<br> EPS_SCF 1.0E-6<br> MAX_SCF 60<br> &PRINT<br> &RESTART SILENT<br> ADD_LAST NUMERIC<br> COMMON_ITERATION_LEVELS 1<br> FILENAME =./WFN_restart.wfn<br> LOG_PRINT_KEY T<br> &EACH<br> &END EACH<br> &END RESTART<br> &END PRINT<br> &END SCF<br> &XC ! Parameters needed to compute the electronic exchange potential <br> &XC_FUNCTIONAL PBE<br> &END XC_FUNCTIONAL<br> &END XC<br> &END DFT<br><br> &SUBSYS<br> &CELL<br> CELL_FILE_FORMAT CIF<br> ABC 4.6284 140.3208 9.4837<br> SYMMETRY MONOCLINIC <br> PERIODIC XYZ<br> MULTIPLE_UNIT_CELL 3 1 3 <br> &END CELL<br> &TOPOLOGY ! Section used to center the atomic coordinates in the given box. Useful for big molecules<br> COORD_FILE_FORMAT cif<br> COORD_FILE_NAME ./cell.cif<br> ! &CENTER_COORDINATES<br> ! CENTER_POINT 5. 5. 5.<br> ! &END<br> &END<br> &KIND H<br> ELEMENT H<br> BASIS_SET SZV-MOLOPT-GTH<br> POTENTIAL GTH-PBE-q1<br> &END KIND<br> &KIND O<br> ELEMENT O<br> BASIS_SET SZV-MOLOPT-GTH<br> POTENTIAL GTH-PBE-q6<br> &END KIND<br> &KIND C<br> ELEMENT C<br> BASIS_SET SZV-MOLOPT-GTH<br> POTENTIAL GTH-PBE-q4<br> &END KIND<br> &KIND N<br> ELEMENT N<br> BASIS_SET SZV-MOLOPT-GTH<br> POTENTIAL GTH-PBE-q5<br> &END KIND<br> &END SUBSYS<br>&END FORCE_EVAL<br></div><div><br></div><div>####################################################################<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">пт, 9 сент. 2022 г. в 18:44, Jürg Hutter <<a href="mailto:hutter@chem.uzh.ch">hutter@chem.uzh.ch</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi<br>
<br>
probably there is not enough memory? You can try a smaller basis set and a lower<br>
PW cutoff to see if it runs through.<br>
Another possibility is to monitor your memory usage during the run.<br>
<br>
regards<br>
JH<br>
<br>
________________________________________<br>
From: <a href="mailto:cp2k@googlegroups.com" target="_blank">cp2k@googlegroups.com</a> <<a href="mailto:cp2k@googlegroups.com" target="_blank">cp2k@googlegroups.com</a>> on behalf of Victor Nazarychev <<a href="mailto:nazarychev@gmail.com" target="_blank">nazarychev@gmail.com</a>><br>
Sent: Friday, September 9, 2022 8:55 AM<br>
To: cp2k<br>
Subject: [CP2K:17639] Re: Crystal optimization with periodic boundary conditions<br>
<br>
Dear users and developers of CP2K,<br>
<br>
I tried starting the simulation of the crystal structure using cp2k. To do that, I used an input file:<br>
<br>
&GLOBAL<br>
PROJECT crys_pbc_opt<br>
RUN_TYPE GEO_OPT<br>
PRINT_LEVEL MEDIUM<br>
EXTENDED_FFT_LENGTHS .TRUE.<br>
&END GLOBAL<br>
<br>
&MOTION<br>
&GEO_OPT<br>
<br>
! KEEP_SPACE_GROUP .TRUE.<br>
OPTIMIZER LBFGS<br>
<br>
&END GEO_OPT<br>
&END MOTION<br>
<br>
&FORCE_EVAL<br>
METHOD Quickstep ! Electronic structure method (DFT,...)<br>
&DFT<br>
BASIS_SET_FILE_NAME BASIS_MOLOPT<br>
POTENTIAL_FILE_NAME POTENTIAL<br>
<br>
&POISSON ! Solver requested for non periodic calculations<br>
PERIODIC XYZ<br>
&END POISSON<br>
&SCF ! Parameters controlling the convergence of the scf. This section should not be changed.<br>
SCF_GUESS ATOMIC<br>
EPS_SCF 1.0E-6<br>
MAX_SCF 300<br>
&END SCF<br>
&XC ! Parameters needed to compute the electronic exchange potential<br>
&XC_FUNCTIONAL PBE<br>
&END XC_FUNCTIONAL<br>
&END XC<br>
&END DFT<br>
<br>
&SUBSYS<br>
&CELL<br>
CELL_FILE_FORMAT CIF<br>
ABC 9.2568 140.3208 18.9674<br>
PERIODIC XYZ<br>
&END CELL<br>
&TOPOLOGY ! Section used to center the atomic coordinates in the given box. Useful for big molecules<br>
COORD_FILE_FORMAT cif<br>
COORD_FILE_NAME ./cell.cif<br>
! &CENTER_COORDINATES<br>
! CENTER_POINT 5. 5. 5.<br>
! &END<br>
&END<br>
&KIND H<br>
ELEMENT H<br>
BASIS_SET DZVP-MOLOPT-GTH<br>
POTENTIAL GTH-PBE-q1<br>
&END KIND<br>
&KIND O<br>
ELEMENT O<br>
BASIS_SET DZVP-MOLOPT-GTH<br>
POTENTIAL GTH-PBE-q6<br>
&END KIND<br>
&KIND C<br>
ELEMENT C<br>
BASIS_SET DZVP-MOLOPT-GTH<br>
POTENTIAL GTH-PBE-q4<br>
&END KIND<br>
&KIND N<br>
ELEMENT N<br>
BASIS_SET DZVP-MOLOPT-GTH<br>
POTENTIAL GTH-PBE-q5<br>
&END KIND<br>
&END SUBSYS<br>
&END FORCE_EVAL<br>
<br>
##############################################<br>
<br>
The simulation starts, but only one step of SCF wavefunction optimization is passed, and then the calculation stops without errors.<br>
<br>
Re-scaling the density matrix to get the right number of electrons<br>
# Electrons Trace(P) Scaling factor<br>
8576 8575.456 1.000<br>
<br>
<br>
SCF WAVEFUNCTION OPTIMIZATION<br>
<br>
Step Update method Time Convergence Total energy Change<br>
------------------------------------------------------------------------------<br>
1 P_Mix/Diag. 0.40E+00 ****** 1.37713667 -13502.7304100109 -1.35E+04<br>
<br>
How do you think, what happens? How could I change the input file to solve this problem?<br>
<br>
Best regards,<br>
Victor<br>
<br>
суббота, 20 августа 2022 г. в 17:41:05 UTC+3, Victor Nazarychev:<br>
<br>
Dear users and developers of CP2K,<br>
<br>
I am a new user of CP2K. I want to use CP2K to simulate the DFT of a polymer crystal, which contains ~2500 atoms (C, N, O, H). This initial crystal conformation was suggested by the experimenters, and I need to optimize this structure to find the minimal energy state.<br>
<br>
I'm considering using CP2K due to its ability to do periodic DFT calculations. My question is related to what DFT functional and basis sets can be used to optimize a periodic crystal structure if such a massive system is considered? Maybe some there exists some examples of an input file for the problem of optimizing crystal systems using periodic boundary conditions?<br>
<br>
For these calculations, I have a workstation with an AMD Ryzen 5950x and 64 GB of memory. Also, is it possible to speed up the calculation with the GPU?<br>
<br>
Best wishes,<br>
<br>
Victor<br>
<br>
--<br>
You received this message because you are subscribed to the Google Groups "cp2k" group.<br>
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:cp2k%2Bunsubscribe@googlegroups.com" target="_blank">cp2k+unsubscribe@googlegroups.com</a><mailto:<a href="mailto:cp2k%2Bunsubscribe@googlegroups.com" target="_blank">cp2k+unsubscribe@googlegroups.com</a>>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/a2a11a0e-43d2-4110-986d-4598dc1b0f3dn%40googlegroups.com" rel="noreferrer" target="_blank">https://groups.google.com/d/msgid/cp2k/a2a11a0e-43d2-4110-986d-4598dc1b0f3dn%40googlegroups.com</a><<a href="https://groups.google.com/d/msgid/cp2k/a2a11a0e-43d2-4110-986d-4598dc1b0f3dn%40googlegroups.com?utm_medium=email&utm_source=footer" rel="noreferrer" target="_blank">https://groups.google.com/d/msgid/cp2k/a2a11a0e-43d2-4110-986d-4598dc1b0f3dn%40googlegroups.com?utm_medium=email&utm_source=footer</a>>.<br>
<br>
-- <br>
You received this message because you are subscribed to a topic in the Google Groups "cp2k" group.<br>
To unsubscribe from this topic, visit <a href="https://groups.google.com/d/topic/cp2k/N_cusnCv_B4/unsubscribe" rel="noreferrer" target="_blank">https://groups.google.com/d/topic/cp2k/N_cusnCv_B4/unsubscribe</a>.<br>
To unsubscribe from this group and all its topics, send an email to <a href="mailto:cp2k%2Bunsubscribe@googlegroups.com" target="_blank">cp2k+unsubscribe@googlegroups.com</a>.<br>
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/ZR0P278MB0759063BF93FD6DC95CA1ABB9F439%40ZR0P278MB0759.CHEP278.PROD.OUTLOOK.COM" rel="noreferrer" target="_blank">https://groups.google.com/d/msgid/cp2k/ZR0P278MB0759063BF93FD6DC95CA1ABB9F439%40ZR0P278MB0759.CHEP278.PROD.OUTLOOK.COM</a>.<br>
</blockquote></div>
<p></p>
-- <br />
You received this message because you are subscribed to the Google Groups "cp2k" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an email to <a href="mailto:cp2k+unsubscribe@googlegroups.com">cp2k+unsubscribe@googlegroups.com</a>.<br />
To view this discussion on the web visit <a href="https://groups.google.com/d/msgid/cp2k/CALpHq2czwj5CtAX%2BKNx8ex89EqRMow_r1PRmrk1qAGE%3DoT_zMg%40mail.gmail.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/CALpHq2czwj5CtAX%2BKNx8ex89EqRMow_r1PRmrk1qAGE%3DoT_zMg%40mail.gmail.com</a>.<br />