<style>
<!--
/* Font Definitions */
@font-face
{font-family:Arial;
panose-1:2 11 6 4 2 2 2 2 2 4;
mso-font-charset:0;
mso-generic-font-family:auto;
mso-font-pitch:variable;
mso-font-signature:3 0 0 0 1 0;}
@font-face
{font-family:"MS 明朝";
panose-1:0 0 0 0 0 0 0 0 0 0;
mso-font-charset:128;
mso-generic-font-family:roman;
mso-font-format:other;
mso-font-pitch:fixed;
mso-font-signature:1 134676480 16 0 131072 0;}
@font-face
{font-family:"MS 明朝";
panose-1:0 0 0 0 0 0 0 0 0 0;
mso-font-charset:128;
mso-generic-font-family:roman;
mso-font-format:other;
mso-font-pitch:fixed;
mso-font-signature:1 134676480 16 0 131072 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-unhide:no;
mso-style-qformat:yes;
mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:Arial;
mso-fareast-font-family:"MS 明朝";
mso-fareast-theme-font:minor-fareast;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
.MsoChpDefault
{mso-style-type:export-only;
mso-default-props:yes;
font-family:Arial;
mso-ascii-font-family:Arial;
mso-fareast-font-family:"MS 明朝";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Arial;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;
mso-header-margin:36.0pt;
mso-footer-margin:36.0pt;
mso-paper-source:0;}
div.WordSection1
{page:WordSection1;}
-->
</style>
<p class="MsoNormal">Dear CP2K users,</p>
<p class="MsoNormal">I am working on a model of magnesium and I am interested in
relaxing the cell parameters of the unit cell. I wrote a code to perform the
cell optimization, but I am having the following issues with it:</p>
<p class="MsoNormal">1) the energy values are not converging properly during the
optimization procedure, and</p>
<p class="MsoNormal">2) the sum of forces on the atoms is never reaches zero.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I have tried modifying different parameters in my code (such
as the CUTOFF, REL_CUTOFF, KPOINTS, EPS_SCF, ADDED_MOS, and even a different
unit cell), but the problems still persist. I attached the code below for
reference. I am clueless as to why these issues persist and I would really
appreciate any help on the matter.</p>
<p class="MsoNormal">Thank you in advance for the response.</p>
<p class="MsoNormal">Cheers,</p>
<p class="MsoNormal">Felipe</p>