Dr. Taner Karagöl
Research||2 min read

Opening Molecular Dynamics to Any Lab with a Browser: Benchmarking Source-Compiled GROMACS on Google Colab

By Taner Karagöl, M.D.

Watching a protein move normally requires a dedicated computing cluster. Browser-hosted cloud notebooks attach modern GPUs and cloud storage directly to a browser tab, yet deploying the default Ubuntu GROMACS package runs a processor-only binary that leaves paid GPU accelerators idle.

Atomistic melittin precursor helix embedded in an explicit phospholipid bilayer from Google Colab GROMACS simulations

In our article in Journal of Computer-Aided Molecular Design and its accompanying Behind the Paper essay on Springer Nature Research Communities, Alper Karagöl and I compared that repository binary against GROMACS compiled from source across Google Colab's GPU, TPU, and CPU runtimes, testing a 22,741-atom membrane-embedded peptide alongside Max Planck Institute benchmark systems reaching 12.5 million atoms.

Compiling GROMACS with GPU offload inside the notebook raised membrane production throughput 26-fold on A100 and L4 GPUs (~350 ns/day) and 16-fold on T4 (155.5 ns/day), finishing 100 nanoseconds in 6.8 hours on A100 or L4. Cycle accounting in the GROMACS log files showed why the midrange L4 matched the A100 at 41% of the cost on the membrane bilayer (6 host cores spent two-thirds of wall time on bonded forces while the GPU waited), whereas scaling up to 12.5 million atoms shifted the bottleneck onto GPU memory bandwidth and put the A100 2.4 times ahead. All benchmark notebooks, our maintained GROMACS 2026.3 workflow for CUDA 13 runtimes, Google Drive checkpoint-restart scripts, and raw log files are openly archived on GitHub and Zenodo.

Behind the Paper Essay (Springer Nature Research Communities): Opening Molecular Dynamics to Any Lab with a Browser
Published Article (J Comput Aided Mol Des, DOI): https://doi.org/10.1007/s10822-026-00988-y
Free Full-Text Access (Springer Nature SharedIt): https://rdcu.be/ptoSzBNEzxha
Cloud MD Setup Guide (Google Compute Engine, AWS & Colab): Molecular Dynamics on Google Compute Engine, AWS, and Cloud Computing
Code, Maintained GROMACS 2026.3 Notebook & Benchmark Logs (GitHub): https://github.com/karagol-taner/Molecular-Dynamics-on-AWS-and-Cloud-Computing
Zenodo Archive: https://doi.org/10.5281/zenodo.10751372

Karagöl, T., Karagöl, A. Benchmarking Source-Compiled GROMACS on Google Colab Runtimes for Cloud-Based Molecular Dynamics. Journal of Computer-Aided Molecular Design (2026). https://doi.org/10.1007/s10822-026-00988-y

More in Research

All News →