next up previous contents index
Next: User Script Files Up: Startup Files Previous: Startup Files   Contents   Index

Core Script Files

In the following, the value of $VMDDIR is the vmd installation directory. During the original installation this is the value of INSTALLLIBDIR. It can also be found by looking at the first few lines of the vmd startup script (head `which vmd`) or by starting VMD and using the command set env(VMDDIR).

As mentioned elsewhere, VMD uses the Tcl interpreter. VMD read Tcl scripts at initialization, which are contained in VMD distribution. The locations of the scripts is determined by the TCL_LIBRARY environment variable, which is set in the vmd startup script to $VMDDIR/scripts/tcl. In addition, VMD has its own directory of core Tcl routines.

The most important of these is tt $VMDDIR/scripts/vmd/vmdinit.tcl. This file sets up the basic Tcl initialization commands, defines some environment variables, and adds the vmd script directory to the Tcl autoindex path. Most of the other files are referenced through the auto_path.

There are a few non-Tcl scripts in this directory. Currently these are perl scripts used for the urlload command and web client startup (see section §  and section §).


next up previous contents index
Next: User Script Files Up: Startup Files Previous: Startup Files   Contents   Index
vmd@ks.uiuc.edu