How to install and run NAMD

The HPC Network of Experts is a collaboration of highly technical and knowledgeable individuals that create a support network for consultations, questions, and answers for high-performance computing end-users, software vendors and systems builders. Each of the HPC Advisory Council members participate in the Network of Experts to utilize their vast experience to contribute into the Network knowledge base. Issues raised to the Network of Experts, which are of interest to general HPC end-users should be submitted here.

How to install and run NAMD

Postby shainer on Tue Dec 14, 2010 11:10 pm

Download NAMD 2.7b3 at: ... eName=NAMD
Download the ApoA1 benchmark from: ... oa1.tar.gz
Download FFTW from:
Download TCL from:

Extract NAMD
% tar xvfz NAMD_2.7b3_Source

Extract Charm, FFTW, TCL into the NAMD source directory, and rename FFTW and TCL after they are extracted.
% cd NAMD_2.7b3_Source
% tar xvf charm-6.2.1.tar
% tar xvfz tcl-linux-x86_64.tar.gz
% mv linux-x86_64 tcl
% tar xvfz fftw-linux-x86_64.tar.gz
% mv linux-x86_64 fftw
Build Charm from mvapich2-1.5
% cd charm-6.2.1
% env MPICXX=mpicxx ./build charm++ mpi-linux-x86_64 --no-build-shared --with-production

Build NAMD with MPI support
% cd /path/to/NAMD_2.7b3_Source
% ./config Linux-x86_64-g++ --charm-arch mpi-linux-x86_64
% cd Linux-x86_64-g++
% make

Extract and run the ApoA1 benchmark with mvapich2-1.5:
% tar xvfz apoa1.tar.gz
% mpdboot ~/hostfile –n <number_of_host>
% charmrun –n <np> ./namd2 apoa1/apoa1.namd2
% mpdallexit
Posts: 13
Joined: Thu Jun 11, 2009 8:31 pm

Return to Network of Experts

Who is online

Users browsing this forum: No registered users and 1 guest