Table of Contents

VMD Home

Installation

$install_bin_dir=/home/usr/bin
$install_library_dir=/home/usr/share/$install_name
./configure
cd src
make install

Resources

Tcl script

Run a script

source myscript.tcl
vmd -dispdev text -e myscript.tcl

Startup script

...
source /home/yxue/codelib/tcl/vmd.tcl

Access plugin in text mode

vmd -dispdev text
# Now we are in the text console
package require saltbr
# Now saltbr command is available

Make Movie

Windows

Note: videomach is required. It is a shareware. You can download it here [videomach.rar An unlimited version is also included just for testing :-)

set dir d:/nathan_drk
set n 1

for {set i [expr ($n-1)*10+1]} {$i <= [expr $n*10]} {incr i} {
  set fndcd $dir/traj_$i.dcd
  mol addfile $fndcd waitfor all
}

Linux

Make gif animation