VMD uses several external programs for various tasks, these include the STRIDE secondary structure prediction program, the SURF solvent accessible surface program, and various other optional external rendering programs. Before one can build a complete VMD distribution, these external programs must be successfully compiled and installed into the correct locations in the vmd/lib directories. If you already have binaries of Surf or Stride, you can just copy them into the appropriate directories.
Compiling STRIDE from source code
STRIDE is used by VMD to compute the secondary structure given the protein 3D coordinates. The appropriate STRIDE binary is included in the VMD binary distribution. To compile it yourself, see the web site at
http://www.embl-heidelberg.de/stride/stride_info.html
for information on how to get the source and see ./lib/stride
for information on how to use it with VMD. If you're unable to get the STRIDE source code from the original site, a copy is also available here: http://www.ks.uiuc.edu/Research/vmd/extsrcs/Stride_src.tar.Z
Change line 43 of stride.h
from
#define MAX_AT_IN_RES 50
to
#define MAX_AT_IN_RES 75because there are many structures with non-standard residues containing more than 50 atoms.
Change line 96 of stride.c
from
return(SUCCESS);to
return(0);since a program should return 0 if everything ended correctly.
Compiling SURF from source code
SURF binaries are contained in the VMD distribution, with permission from the authors. The SURF source code is no longer made available at UNC, so we have placed a copy of the SURF source code archive here: http://www.ks.uiuc.edu/Research/vmd/extsrcs/surf.tar.Z
To get SURF working for VMD: