From: Ajasja Ljubetič (ajasja.ljubetic_at_gmail.com)
Date: Wed May 09 2018 - 10:06:48 CDT
since you have the full power of TCL, I guess you could hack it by saving
the output of the command
`namd --version | grep Info: | head -1 | cut -d ' ' -f 3`
to a tcl variable. I guess exec
<https://www.tcl.tk/man/tcl8.5/tutorial/Tcl26.html> could be used. Or
maybe save the namd version to a shell variable before running namd and
retrieving it in the script.
On Wed, 9 May 2018 at 16:38, Brian Radak <brian.radak_at_gmail.com> wrote:
> Actually I think this feature is still awaiting final comment. It might be
> available in the nightly build in a few weeks, but, as you said, only for
> the 2.12 development version or even just the 2.13 release.
> On Wed, May 9, 2018 at 7:50 AM, Giacomo Fiorin <giacomo.fiorin_at_gmail.com>
>> You cannot for versions up to 2.12, but the feature has just been added.
>> On Wed, May 9, 2018 at 4:36 AM, yjcoshc <yjcoshc_at_gmail.com> wrote:
>>> I am trying to append the NAMD version string to the output file names.
>>> In the NAMD configuration file if I use:
>>> outputName output/dihedral_$namd_version
>>> how can I get the NAMD version from the tcl interface and store it into
>>> the namd_version variable?
>>> Haochuan Chen
>> Giacomo Fiorin
>> Associate Professor of Research, Temple University, Philadelphia, PA
>> Contractor, National Institutes of Health, Bethesda, MD
This archive was generated by hypermail 2.1.6 : Sat Dec 07 2019 - 23:19:49 CST