Overview
  Research
  Development
  Dissemination
  Services
  Home
Theoretical Biophysics Group
Building NAMD
NIH Resource for Macromolecular Modeling and Bioinformatics
UIUC

All About NAMD Source Code

Other Stuff You'll Need

  • C and C++ compilers (think performance).
  • CVS to download Charm (see below).
  • Cygwin if you're building on Windows.
  • TCL to enable scripting features.
  • FFTW to enable particle mesh Ewald (PME).

Building Charm and NAMD

Find the section "Compiling NAMD" in notes.txt in your source distribution for detailed instructions, including the correct version of Charm (and this is not CHARMM) to use. Please note that the directory structure of the current charm development tree is incompatible with versions prior to 2002-04-04. To get buildable versions you will need to download the module charm-5.4 rather than charm as stated in the release notes. Read the directions. The example will look something like this:
Unpack source code and enter directory:
  tar xzf NAMD_2.4b1_Source.tar.gz
  cd NAMD_2.4b1_Source

Download and build Charm++/Converse library:
  setenv CVSROOT ":pserver:checkout@charm.cs.uiuc.edu:/cvsroot"
  cvs login   (PRESS RETURN WHEN ASKED FOR A PASSWORD)
  cvs co -D 2002-01-03 -P charm-5.4
  cd charm-5.4
  ./build charm++ net-linux
  cd ..

Edit various configuration files:
  vi Make.charm  (set CHARMBASE to .rootdir/charm-5.4 or full path to charm)
  vi arch/Linux-i686.tcl   (fix library version and path to Tcl files)
  vi arch/Linux-i686.fftw  (fix library name and path to files)

Set up build directory and compile:
  ./config tcl fftw Linux-i686-g++
  cd Linux-i686-g++ 
  make


Search Site:
Overview Research Development Dissemination Services
 

Back to Top | Home

This document was last modified on Monday, 13-May-2002 09:23:02 CDT
Material on this page is copyrighted
Contact Webmaster for more information
6165 accesses since 03 Nov 2000