Namd¶
Arrhenius¶
How to use¶
Example job script for CPU NAMD run:
#!/bin/bash
#SBATCH -A XXXX-XX-XX
#SBATCH -J namdjob
#SBATCH -t 00:10:00
#SBATCH -p cpu
#SBATCH -c 28
# load the NAMD module
ml NAMD/3.0.2-gcc-2025b-ompi-es
# Run namd
srun namd3 input.namd +p28 +setcpuaffinity > output_file
Example job script for a GPU NAMD run on 1 GPU card:
#!/bin/bash
#SBATCH -A XXXX-XX-XX
#SBATCH -J namdjob
#SBATCH -t 00:10:00
#SBATCH -p gpu
#SBATCH --gpus=1
# load the NAMD module
ml GPU/NAMD/3.0.2-gcccuda-2026.03-cu13.0-es
# Run namd
namd3 input.namd +p1 +setcpuaffinity +devices 0 > output_file
A good performance can be achieved if the number of processes (1 in this example p1) matches the number of available
GPUs (also 1 in the present case).
Check if the your simulation type supports the GPU resident mode as the performace of the simulation could increase by a 10x factor depending on the simulation size.
Source repository