NAMD molecular dynamics on dedicated servers
NAMD scales a single simulation across many CPU cores through Charm++. On one large machine with nobody else on it, runs are fast and, just as important, repeatable.
Why run NAMD on a rented CPU server?
For long simulations that need many cores for weeks without a queue. Research groups use rented machines alongside shared clusters to run equilibration, parameter sweeps, free energy calculations and student projects without waiting for allocation. NAMD's multicore build uses every core of one machine efficiently, and large modern EPYC processors put a small cluster's worth of cores in one box. We do not rent GPUs, so this page covers CPU runs, where NAMD remains strong.
Which build should I use?
The multicore build for single-machine runs: one process with worker threads, no MPI needed. Download it from the developers' site after accepting the licence, which is free for non-commercial research. Builds tuned for AVX-512 exist for processors that support it, including the AMD Zen 4 and Zen 5 and Intel Xeon models in our catalogue; compare them with the generic build on your own system, since gains vary with the force field and system size.
tar -xzf NAMD_3.0.x_Linux-x86_64-multicore.tar.gz -C /opt /opt/NAMD_3.0.x_Linux-x86_64-multicore/namd3 +p62 +setcpuaffinity +pemap 2-63 equil.namd > equil.log
How should threads be placed?
One worker per physical core, pinned, with one or two cores left for the system and I/O. +setcpuaffinity pins threads, and +pemap lists which logical CPUs to use. Hyper-threads rarely help NAMD; check lscpu -e to see which logical CPUs share a core, then map workers to one logical CPU per core. On machines with several memory domains, keeping workers spread evenly across them keeps memory traffic local.
How do I measure performance?
In nanoseconds of simulated time per day, which NAMD reports in its benchmark lines. Run a short benchmark of your actual system with the real cutoff, timestep and PME settings, because published numbers for ApoA1 (about 92,000 atoms) or STMV (about a million atoms) only indicate scaling, not your speed.
grep "Benchmark time" equil.log | tail -n 3 # days/ns from the log converts to ns/day as 1 / (days/ns)
| System size | Cores that scale well | Memory |
|---|---|---|
| 50,000 to 150,000 atoms | 16 to 64 | Under 8 GB |
| 250,000 to 1 million atoms | 64 to 192 | 8 to 32 GB |
| Several million atoms | All you can get | 32 GB and up |
More cores or higher clocks?
For small systems, higher clocks and fewer cores, since a 60,000 atom system runs out of parallel work before 64 cores are busy. For large systems, more cores. Many groups get the best throughput by running several medium simulations side by side, each on part of a large machine, rather than one simulation on every core. With 192 cores, four simulations of 48 cores each often finish more nanoseconds per day in total than one on 192.
Can I span several servers?
NAMD can run across machines with its network builds, but scaling depends on a fast, low-latency interconnect. Our servers connect through their public ports, without a private network, so multi-node runs scale poorly here. Use the largest single machine you need instead: up to 384 cores in ENTERPRISE-a9 2026.
Which machine fits?
| Workload | Machine | Cores |
|---|---|---|
| Small systems, quick turnaround | ESSENTIAL-L | 16 |
| Medium systems, several at once | ESSENTIAL-XL | 48 |
| Large systems | ENTERPRISE-a7 2026 | 128 |
| Largest single runs | ENTERPRISE-a8 2026 | 192 |
ESSENTIAL-XL gives 48 Zen 5 cores for $212.40 a month. Rentals of 12 or 24 months carry no setup fee, which suits a grant-funded project. Write trajectories to the NVMe drives and copy them to a Storage server regularly, as Copy data between servers with rsync describes. Our GROMACS simulation servers page covers the other widely used engine.
Machines for NAMD simulations
Lowest monthly price of each model across its data centres; the model page shows the price in every location.
| Model | Processor | Cores | Memory | Drives | Port | Per month |
|---|---|---|---|---|---|---|
| ESSENTIAL-L | AMD Ryzen 9 9950X | 16 | 128 GB | 2x 960 GB SSD NVMe | 1 Gbps unmetered | $106.20 |
| ESSENTIAL-9 | AMD EPYC 7642 | 48 | 256 GB | 2x 480 GB SSD SATA | 1 Gbps unmetered | $153.00 |
| ESSENTIAL-XL | AMD EPYC TURIN 9455 | 48 | 128 GB | 2x 1.92 TB SSD NVMe | 1 Gbps unmetered | $212.40 |
| ENTERPRISE-a6 2026 | AMD EPYC TURIN 9655 | 96 | 128 GB | 2x 1.92 TB SSD NVMe | 5 Gbps unmetered | $694.20 |
| ENTERPRISE-a7 2026 | AMD EPYC TURIN 9755 | 128 | 128 GB | 2x 1.92 TB SSD NVMe | 5 Gbps unmetered | $778.80 |
| ENTERPRISE-a8 2026 | AMD EPYC TURIN 9965 | 192 | 128 GB | 2x 1.92 TB SSD NVMe | 5 Gbps unmetered | $849.60 |
Pick cores for your system size; run several simulations side by side on large machines.
Related pages
GROMACS simulation servers
Run GROMACS molecular dynamics on many-core CPUs: building with the right SIMD level, MPI ranks and OpenMP threads, pinning, PME ranks and ns/day.
Read moreGrid and batch computing
Spread independent jobs over several rented machines: Slurm or HTCondor over WireGuard, job arrays, shared storage on a Storage server, and cost per core.
Read moreAMD EPYC, Ryzen and Xeon generations
Which processor family sits in each of our machines, what each generation changed, and how to read a model name before you order.
Read moreQuestions and answers
Can NAMD run without a GPU?
Yes. The multicore CPU build runs a simulation across all cores of one machine and scales well on many-core processors.
How do I pin NAMD threads to cores?
Use +setcpuaffinity with +pemap to place one worker per physical core, leaving one or two cores for the system.
How is NAMD performance measured?
In nanoseconds of simulated time per day, calculated from the benchmark lines NAMD writes to its log.
Should I run NAMD across several servers?
Multi-node runs need a fast, low-latency interconnect. Without a private network between servers, a single large machine scales better.
Is it better to run one big NAMD job or several smaller ones?
For medium systems, several simulations side by side on parts of a large machine often deliver more total ns/day.