According to my tests, this bug exists in almost all CP2K versions later than 6.1, i.e., 7.1, 8.1, 8.2, 9.1, 2022.1, and 2023.2 (I did not test 2023.1), for both SCAN and r2SCAN functionals. It seems to be a systemic problem.<br /><br /><div class="gmail_quote"><div dir="auto" class="gmail_attr">在2023年9月7日星期四 UTC+8 11:20:17<qin li> 写道:<br/></div><blockquote class="gmail_quote" style="margin: 0 0 0 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr">The force output of the RETRAJ module works problematiclly in version cp2k2022.1.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">qin li <<a href data-email-masked rel="nofollow">flytomoo...@gmail.com</a>> 于2023年9月7日周四 10:20写道:<br></div></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I'm trying to train a deep potential model of the MgCl2 solution based on r2scan functional, where the positions and forces are needed. I employed the r2scan functional to rerun the trajectory resulting from the BLYPD3 functional, but the force output of the RETRAJ module comes out to be all zero. However, the RETRAJ module works fine for the BLYPD3 functional. Does anyone have an idea of how to resolve this?</div><div><br></div><div>The cp2k version is cp2k2022.1, inputs of the r2scan and force output are as follows and the attachment:</div><div>&XC<br>  &XC_FUNCTIONAL<br>    &MGGA_X_R2SCAN<br>    &END MGGA_X_R2SCAN<br>    &MGGA_C_R2SCAN<br>    &END MGGA_C_R2SCAN<br>  &END XC_FUNCTIONAL<br>  &XC_GRID<br>    XC_DERIV SPLINE3<br>    XC_SMOOTH_RHO NONE<br>  &END XC_GRID<br>&END XC<br></div><div><br></div><div>&REFTRAJ<br>  EVAL_ENERGY_FORCES<br>  TRAJ_FILE_NAME ${REFTRAJ}<br>&END REFTRAJ<br></div><div><br></div><div>&PRINT<br>  &FORCES<br>    &EACH<br>      MD 1<br>    &END EACH<br>  &END FORCES<br></div><div>&END PRINT</div><div><br></div></div>
</blockquote></div></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/5e53f286-fc05-4a28-82c9-3c6e666d49bdn%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/cp2k/5e53f286-fc05-4a28-82c9-3c6e666d49bdn%40googlegroups.com</a>.<br />