Print only specific atoms from trajectory in ARC file #205
Replies: 1 comment 3 replies
-
There is no way to do this directly with keywords. You can trim the full trajectory archive file after running the simulation using the ARCHIVE program, or just with a simple shell script. But in your particular case, I assume you want to avoid the large "unnecessary" storage of the whole system at each 1 fs time step. By far the easiest solution, if you can do a small amount of programming, would be to make a custom version of the "mdsave" routine from Fortran Tinker8, so that it only writes out the coordinates and induced dipoles for the atoms you require. Then compile and link a custom Tinker9 GPU executable linked against this custom Tinker8 version. This should work correctly, as I'm fairly sure that the GPU Tinker9 is using calls to Tinker8 routines to write out trajectory information. |
Beta Was this translation helpful? Give feedback.
-
I would be interested in writing out only specific atom positions (and their induced dipoles into the uind file). The reason is that I want to perform a 10-20 ns MS, but I am interested in just a few atom positions every 1 fs. I went through the documentation, but haven't found a specific keyword for this.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions