How to run a TCL proc at every step in NAMD using callback command?

From: yjcoshc (yjcoshc_at_gmail.com)
Date: Thu Jun 14 2018 - 03:10:32 CDT

Hello,

   I want to run a TCL proc every step in NAMD and the manual tells me
the callback command can do that, so I have added following lines in the
NAMD configuration file:

proc foo {labels values} {
     print $labels
     print "foo\n"
     print $values
}
callback foo
run 50000000

However when I read the log file the "foo" string is only printed once.
What I want is running the foo proc at every step. Are there any
examples of using the callback command?

Thanks,

Haochuan Chen

This archive was generated by hypermail 2.1.6 : Mon Dec 31 2018 - 23:21:10 CST