# What is the currently best OS for GROMACS?

**URL:** <https://gromacs.bioexcel.eu/t/what-is-the-currently-best-os-for-gromacs/12795>\
**Category:** User discussions\
**Created:** [October 15, 2025, 12:16pm UTC](https://gromacs.bioexcel.eu/t/what-is-the-currently-best-os-for-gromacs/12795 "2025-10-15T12:16:09Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jesse](https://avatars.discourse-cdn.com/v4/letter/j/c77e96/32.png) [@Jesse](https://gromacs.bioexcel.eu/u/Jesse)\
**Post date:** [October 15, 2025, 12:16pm UTC](https://gromacs.bioexcel.eu/t/what-is-the-currently-best-os-for-gromacs/12795/1 "2025-10-15T12:16:09Z")

</div>

GROMACS version:  
GROMACS modification: Yes/No  
Here post your question

This might be a very dumb question: I know that GROMACS should be run in a Linux environment, but can I install a Linux subsystem under Windows?

Also, is Ubantu the recommonded Linux OS for GROMACS? If so, what is the currently most “mature” version of Ubantu?

Thanks in advance.

---

<div class="post-metadata">

**Author:** ![rpsingh](https://avatars.discourse-cdn.com/v4/letter/r/c57346/32.png) [@rpsingh](https://gromacs.bioexcel.eu/u/rpsingh)\
**Post date:** [October 22, 2025, 7:47am UTC](https://gromacs.bioexcel.eu/t/what-is-the-currently-best-os-for-gromacs/12795/2 "2025-10-22T07:47:33Z")

</div>

WSL is not as fast as native Linux. That’s because WSL couldn’t really efficiently utilise the CUDA cores on GPU. If you want to run a CPU-only simulation that would not be significantly different from native Linux.

Ubuntu is good. I am still using a 4+ years old LTS edition and it works fine. I suggest that you look at the latest LTS version that’s available. But mind it that the latest versions may have more recent compilers that may not be compatible with certain stuff.

---

<div class="post-metadata">

**Author:** ![Jesse](https://avatars.discourse-cdn.com/v4/letter/j/c77e96/32.png) [@Jesse](https://gromacs.bioexcel.eu/u/Jesse)\
**Post date:** [November 8, 2025, 6:28am UTC](https://gromacs.bioexcel.eu/t/what-is-the-currently-best-os-for-gromacs/12795/3 "2025-11-08T06:28:17Z")

</div>

Thanks for your suggestion. I have used a native Ubuntu 24.04.3 LTS and it works fine.

I installed Gromacs 2025.3 following the **Quick and dirty installation** on the GROMACS website, but the gmx -version command shows “GPU support: disabled”. Do I need to uninstall the existing Gromacs to do a complete installation?

---

<div class="post-metadata">

**Author:** ![rpsingh](https://avatars.discourse-cdn.com/v4/letter/r/c57346/32.png) [@rpsingh](https://gromacs.bioexcel.eu/u/rpsingh)\
**Post date:** [November 8, 2025, 7:25am UTC](https://gromacs.bioexcel.eu/t/what-is-the-currently-best-os-for-gromacs/12795/4 "2025-11-08T07:25:49Z")

</div>

Did you install a compatible CUDA toolkit version before installing Gromacs? Check this with nvidia-smi command.

A word of caution here: do check compatibility of compliers with Gromacs and CUDA as well as Cmake.

---

<div class="post-metadata">

**Author:** ![Jesse](https://avatars.discourse-cdn.com/v4/letter/j/c77e96/32.png) [@Jesse](https://gromacs.bioexcel.eu/u/Jesse)\
**Post date:** [November 8, 2025, 7:34am UTC](https://gromacs.bioexcel.eu/t/what-is-the-currently-best-os-for-gromacs/12795/5 "2025-11-08T07:34:43Z")

</div>

Thanks. nvidia-smi command gives the following result:

±----------------------------------------------------------------------------------------+  
| NVIDIA-SMI 580.65.06 Driver Version: 580.65.06 CUDA Version: 13.0 |  
±----------------------------------------±-----------------------±---------------------+  
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |  
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |  
| | | MIG M. |  
|=========================================+========================+======================|  
| 0 NVIDIA GeForce RTX 5090 Off | 00000000:01:00.0 On | N/A |  
| 0% 25C P8 23W / 575W | 429MiB / 32607MiB | 1% Default |  
| | | N/A |  
±----------------------------------------±-----------------------±---------------------+

±----------------------------------------------------------------------------------------+  
| Processes: |  
| GPU GI CI PID Type Process name GPU Memory |  
| ID ID Usage |  
|=========================================================================================|  
| 0 N/A N/A 2685 G /usr/lib/xorg/Xorg 115MiB |  
| 0 N/A N/A 2896 G /usr/bin/gnome-shell 36MiB |  
| 0 N/A N/A 5612 G …/7177/usr/lib/firefox/firefox 220MiB |  
±----------------------------------------------------------------------------------------+

I probably did not install CUDA toolkit.

---

<div class="post-metadata">

**Author:** ![lmullender](https://avatars.discourse-cdn.com/v4/letter/l/8dc957/32.png) [@lmullender](https://gromacs.bioexcel.eu/u/lmullender)\
**Post date:** [November 8, 2025, 3:10pm UTC](https://gromacs.bioexcel.eu/t/what-is-the-currently-best-os-for-gromacs/12795/6 "2025-11-08T15:10:33Z")

</div>

The quick and dirty installation does not install CUDA support. To enable this, you need to enable it via a cmake option, e.g. `-DGMX_GPU=CUDA -DCUDA_TOOLKIT_ROOT_DIR=/usr/local/cuda`. For more details, see [this section](https://manual.gromacs.org/current/install-guide/index.html#cuda-gpu-acceleration) of the install guide.

If you only want one version of GROMACS on your workstation, no need to delete an existing version, it will simply be overwritten. If you want more than one version (e.g. one with GPU support and one without), consider setting `-DCMAKE_INSTALL_PREFIX` to different paths.

---

<div class="post-metadata">

**Author:** ![Jesse](https://avatars.discourse-cdn.com/v4/letter/j/c77e96/32.png) [@Jesse](https://gromacs.bioexcel.eu/u/Jesse)\
**Post date:** [November 11, 2025, 12:33am UTC](https://gromacs.bioexcel.eu/t/what-is-the-currently-best-os-for-gromacs/12795/7 "2025-11-11T00:33:55Z")

</div>

Thanks a lot. I will give it a try.
