Difference between revisions of "Benchmarking: NAMD 2.10"

From Define Wiki
Jump to navigation Jump to search
Line 56: Line 56:
 
make
 
make
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
 +
== Run some test cases ==

Revision as of 15:10, 9 January 2015

Download NAMD 2.10

Download NAMD 2.10 source code or prebuilt binaries from: http://www.ks.uiuc.edu/Development/Download/download.cgi?PackageName=NAMD

Build from source

1. Unpack NAMD and matching Charm++ source code:

tar xzf NAMD_2.10_Source.tar.gz
cd NAMD_2.10_Source
tar xf charm-6.6.1.tar

2. Build and test the Charm++/Converse library (multicore version):

cd charm-6.6.1
./build charm++ multicore-linux64 --with-production
cd multicore-linux64/tests/charm++/megatest
make pgm
./pgm +p4   (multicore does not support multiple nodes)
cd ../../../../..

3. Load an MPI Library. The chosen library here is OpenMPI 1.8.1

4. Build and test the Charm++/Converse library (MPI version):

cd charm-6.6.1
env MPICXX=mpicxx ./build charm++ mpi-linux-x86_64 --with-production
cd mpi-linux-x86_64/tests/charm++/megatest
make pgm
mpirun -n 4 ./pgm    (run as any other MPI program on your cluster)
cd ../../../../..

5. Download and install TCL and FFTW libraries:

(cd to NAMD_2.10_Source if you are not already there)
wget http://www.ks.uiuc.edu/Research/namd/libraries/fftw-linux-x86_64.tar.gz
tar xzf fftw-linux-x86_64.tar.gz
mv linux-x86_64 fftw
wget http://www.ks.uiuc.edu/Research/namd/libraries/tcl8.5.9-linux-x86_64.tar.gz
wget http://www.ks.uiuc.edu/Research/namd/libraries/tcl8.5.9-linux-x86_64-threaded.tar.gz
tar xzf tcl8.5.9-linux-x86_64.tar.gz
tar xzf tcl8.5.9-linux-x86_64-threaded.tar.gz
mv tcl8.5.9-linux-x86_64 tcl
mv tcl8.5.9-linux-x86_64-threaded tcl-threaded

6. Set up build directory and compile:

multicore version: ./config Linux-x86_64-g++ --charm-arch multicore-linux64
network version: ./config Linux-x86_64-g++ --charm-arch net-linux-x86_64
MPI version: ./config Linux-x86_64-g++ --charm-arch mpi-linux-x86_64
cd Linux-x86_64-g++
make

Run some test cases