<div dir="ltr"><div><span style="font-family:monospace"><span style="color: rgb(0, 0, 0);">Dear James,</span></span></div><div><span style="font-family:monospace"><span style="color: rgb(0, 0, 0);"><br></span></span></div><div><span style="font-family:monospace"><span style="color: rgb(0, 0, 0);">yes, it is the model BFGS Hessian.</span></span></div><div><span style="font-family:monospace"><span style="color: rgb(0, 0, 0);"><br></span></span></div><div><font color="#000000" face="monospace">It is stored as a special distributed full matrix type. Here is how it's read:</font></div><span style="font-family:monospace"><span style="color: rgb(0, 0, 0);"><div><span style="font-family:monospace"><span style="color: rgb(0, 0, 0);"><br></span></span></div>j </span><span style="color: rgb(175, 95, 0);">=</span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(178, 24, 24);">1</span><span style="color: rgb(0, 0, 0);">, ncol_global
</span><br><span style="color: rgb(175, 95, 0);"> </span><span style="color: rgb(0, 0, 0);"> </span><span style="color: rgb(175, 95, 0);">READ</span><span style="color: rgb(0, 0, 0);"> (</span><span style="color: rgb(175, 95, 0);">unit</span><span style="color: rgb(0, 0, 0);">) fm%local_data(:, j)
</span><br><span style="color: rgb(175, 95, 0);">END DO</span><br><span style="color: rgb(0, 0, 0);">
</span><br>Loop over columns, reads the whole raw at a time.</span><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">Yours,</span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace">Vladimir<br></span><br>вторник, 2 июля 2019 г., 1:18:13 UTC+2 пользователь James Dean написал:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;"><div dir="ltr"><div>Hi,</div><div><br></div><div>When doing a geometry optimization within CP2K using the BFGS algorithm, one of the files produced is titled (jobname here)-BFGS.Hessian. Am I correct in assuming it's the approximate Hessian constructed by BFGS algorithm?</div><div>It appears to be a binary of some sort; how is the file formatted?</div><div><br></div><div>Thank you!<br>James Dean<br></div></div></blockquote></div></div>