Computational & AI Journal of Computer-Aided Molecular Design (Springer Nature)

Compiling GROMACS from source brings fast GPU molecular dynamics to Colab notebooks

  • Source-built GROMACS (CUDA or MPI) was benchmarked against the older CPU-only package on Colab A100, L4, T4, TPU v2 and CPU runtimes, using a melittin membrane model and three standard test systems.
  • CUDA builds gave a manyfold speedup on all three GPUs; A100 and L4 tied on the small system, limited by host CPU cores, while the A100 led on a very large one.
  • GROMACS cannot use the TPU; cost per 100 ns was modest and compiling took minutes per session.
Editor's view From the abstract

Useful for small groups without GPU nodes who want a cheap way to pilot MD protocols or teach. Caveats: a melittin-sized system is a gentle benchmark, free-tier sessions get interrupted and capped, and uploading proprietary ligand or target structures to a public cloud needs a data-governance check. For production runs, in-house GPUs still win.