From Montana Tech High Performance Computing

NAMD - Scaleable Molecular Dynamics[1] is available on the HPC system.

To access NAMD, either load the NAMD module: module load namd

Or set your path to access it in /opt/NAMD by adding the following to your .bashrc or .bash_profile: PATH=$PATH:/opt/NAMD/ export PATH

Example Job Script

#PBS -l nodes=1:ppn=16
#PBS -N NAMD-test
#PBS -d /home/mtech/username/working_dir
#PBS -m e
#PBS -l walltime=01:00:00

module load namd
charmrun namd2 +p16 xxxxx.conf > yyyyy.txt


  • charmrun must be the first statement in order to load CHARM++ to the run
  • namd2 is the executable for NAMD
  • +p<#processes> => number of processes that will run on the node = same as the ppn value on top
  • xxxxx.conf => configuration file
  • yyyyy.txt => write output to file since NAMD writes to standard out