next up previous contents
Next: Makefile commands Up: Using the Configure Script Previous: Supported operating systems   Contents

Compiling VMD

Finally, after the proper Makefile has been generated, VMD may be compiled. In the main working directory, after running configure, enter the following commands:

cd src
make clean
make depend
make
The first make command removes all old object files from the src directory, and the second make command regenerates the source code dependencies (which are put in the file Makedata.depend). It is necessary to do these two commands if the configuration has been changed in any way (e.g., some parameters have been changed, or a different set of optional features are being included). Otherwise, if the most recent change since compiling is simply that a source code file has been edited, the first two make commands are not necessary. Finally, make will compile and link the VMD source code files.

Note for RCS users:

If the RCS system is being employed, use the command make co instead of make depend in the list above. This will check out up-to-date versions of all the files necessary for the optional features requested. See the Programmers Guide for more information on using RCS.


Table 1: Available options for architectures supported by VMD.
Option IRIX4 IRIX5 HPUX9
OPENGL yes yes yes$^1$
GL yes yes yes$^1$
FORMS - yes yes$^1$
FLTK - yes yes$^1$
TK yes$^2$ yes$^2$ yes$^2$
TCL yes$^3$ yes$^3$ yes$^3$
REMOTE - yes yes
VRPN yes yes -
CAVE - yes -
EXTERNAL yes$^4$ yes$^4$ yes$^4$
$^1$Requires the NPGL library, which must be purchased from Portable Graphics, Inc. The NPGL libraries are not included with the VMD distribution. $^2$The TK option is currently only available in conjunction with the STARBASE and TCL options. $^3$This option requires use of the Tcl library, which must be installed on the system. The Tcl/Tk libraries are not included with the VMD distribution. $^4$This option requires used of the PVM 3.3 (or more recent) library, which must be installed on the system. The PVM libraries are not included with the VMD distribution.




Subsections
next up previous contents
Next: Makefile commands Up: Using the Configure Script Previous: Supported operating systems   Contents
vmd@ks.uiuc.edu