Writing force file from arc file #200
-
Dear all, (I wrote the same question in the tinker discussion board, but this one is more active. So, sorry for the duplicate) I have seen that there's the option "save-forces" similar to "save-induced". However, till now I've only found how to print the ____.uind file after having already performed the MD production run (i.e. using the analyze option). Is there a way how to write the ____.force file in a similar way from and existing arc file? Thank you in advance! Best |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 7 replies
-
If you include the "SAVE-INDUCED" keyword with Tinker (a.k.a. "Tinker8", the CPU version), then a file *.uind with the induced dipole components on each atom will be written during an MD simulation and alongside the *.arc trajectory file. Similarly, if you include the "SAVE-FORCE" keyword, a *.frc file will be written with the force components on each atom. I believe (not 100% sure) that both of these keyword options are only available in CPU Tinker8, and are ignored by the GPU Tinker9 code. In order to maintain efficiency, many of these kinds of options that are available in Tinker8 are not included in the GPU version. |
Beta Was this translation helpful? Give feedback.
-
I believe when an xyz arc file is saved, the velocities, induced dipoles, energy gradients, and accelerations are sent back to Tinker8, thus these keywords are supposed to work too. But there may be a bug regarding the GPU synchronization in Tinker9 for saving the force. I'm looking into it. |
Beta Was this translation helpful? Give feedback.
-
Just a quick follow up question: |
Beta Was this translation helpful? Give feedback.
-
No, there is no easy way to print separate "r14" and "r7" terms, without doing a (simple) custom modification of the code. And it would not be particularly useful anyway- the buffered 14-7 is a single potential, and it's not really correct to say that the r14 term is "repulsion" and r7 is "dispersion". |
Beta Was this translation helpful? Give feedback.
I believe when an xyz arc file is saved, the velocities, induced dipoles, energy gradients, and accelerations are sent back to Tinker8, thus these keywords are supposed to work too. But there may be a bug regarding the GPU synchronization in Tinker9 for saving the force. I'm looking into it.