testgrad9.sh to process multiple time steps #164
-
Hi, When I use the command "analyze9.sh test.xyz test.key E", if 'test.xyz' contains the positions of one molecule in multiple time steps, it returns molecular energy in different time steps. However, the command "testgrad9.sh test.xyz test.key" only returns the force and energy in the first time step. Is it possible to make 'testgrad9.sh' be compatible with multiple time steps? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
It is possible -- there is really no difficulty to achieve this goal. My only concern is that the current output from A workaround using a Bash script is easy, if you also use the Fortran Tinker. There is an option in executable
|
Beta Was this translation helpful? Give feedback.
It is possible -- there is really no difficulty to achieve this goal. My only concern is that the current output from
testgrad9
is a little different from the Fortrantestgrad
because it does not compute the numerical gradients or the gradients of different energy terms. It is actually a "gradient printer" rather than a comprehensive testing tool as the Fortrantestgrad
. Adding this feature will make them even more different.A workaround using a Bash script is easy, if you also use the Fortran Tinker. There is an option in executable
archive
, option 2 if my recollection is correct, to extract individual frames from an archive file. This bash file will look similar to this example and som…