You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Canonical Tinker would print out an output configuration file after a run with dynamic that would get appended with the version (file.xyz, file.xyz_2, etc.). I have been running simulations from the master branch of Tinker9, and it has not created these output files. While I can extract this last frame from file.arc (regardless of archive being present in the keyword file), having it automatically created at the end of the run is something that can be very useful.
Is there a keyword that I am missing to get this printed out? I have tried tweaking a few things, but have not been able to get that output.
The following commands create only "ar94.arc" and "ar94.dyn" files.
Ah yes, you are right - dynamic doesn't produce an output .xyz_2 file. While the resulting .dyn file can be used to (re)start a simulation, is there an easy way of extracting the last configuration of an archive file without knowing how many steps were taken?
Activity
zhi-wang commentedon May 31, 2021
I think ".xyz_2" file must have been created by another program, probably "minimize". I don't remember that "dynamic" may create an ".xyz_2" file.
mquevill commentedon Jun 1, 2021
Ah yes, you are right -
dynamicdoesn't produce an output .xyz_2 file. While the resulting .dyn file can be used to (re)start a simulation, is there an easy way of extracting the last configuration of an archive file without knowing how many steps were taken?zhi-wang commentedon Jun 1, 2021
Let's say you have 1000 atoms in your system, how about the following command:
tail -1002 file.arc > file.xyz_2leucinw commentedon Jun 1, 2021
How about this
tail -n `cat your.xyz | wc -l` your.arc > your.xyz_2