Re: Tcl clock

From: Mayne, Christopher G (
Date: Wed Oct 05 2016 - 09:51:15 CDT


I was never sure why the “clock” variants don’t work in the Tcl interpreter run inside of NAMD. However, I have gotten away with using [exec date +%s] to get the seconds since the epoch.

Christopher Mayne

Dear users and developers,

Just a simple question: Why I can not use the "clock" command in the NAMD
configuration file?
I found this e-mail
from a person with the same problem, but no anwser.
The command I want to add is just: "set mytime [clock clicks]"


This archive was generated by hypermail 2.1.6 : Tue Dec 27 2016 - 23:22:31 CST