Re: Tcl clock

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

Laura,

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.

Regards,
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
<http://www.ks.uiuc.edu/Research/namd/mailing_list/namd-l.2013-2014/0987.html>
from a person with the same problem, but no anwser.
The command I want to add is just: "set mytime [clock clicks]"
Thaks,

Laura

This archive was generated by hypermail 2.1.6 : Sun Dec 31 2017 - 23:20:44 CST