Jack Shultz wrote:
I figured out another way to update the progress of my simulation, but I
need to report the fraction of completion at the certain intervals of
mdrun. Possibly at every time step or if that does not make sense every
100 timesteps. I don't think this is a feature currently supported, so I
will have to make some source code chages. I am looking for the
variables related to total number of time steps and where it controls
the the current time step so I can calculate the fraction of complete
where current-timestep / total-timestep
Under at least some circumstances GROMACS writes the expected runtime
remaining to stderr, but I don't recall what/when. Piping that to some
useful script has to be a good start. You certainly don't need this data
every time step, and don't want to be perturbing mdrun to get it.
Even if the above was unsuitable, surely progress would only need to be
moderately accurate and for simulations that last many hours. If so,
you'll get good enough data by grepping a gmxdump of the .tpr to get the
expected frequencies of output and length of run, and then watching the
growth of whichever of .log/.trr/.edr is written most frequently. I/O
buffering will affect the numbers somewhat.
Mark
_______________________________________________
gmx-users mailing list gmx-users@gromacs.org
http://lists.gromacs.org/mailman/listinfo/gmx-users
Please search the archive at http://www.gromacs.org/search before posting!
Please don't post (un)subscribe requests to the list. Use the
www interface or send it to gmx-users-requ...@gromacs.org.
Can't post? Read http://www.gromacs.org/mailing_lists/users.php