GROMACS version: 2022
My research group is considering buying a new GPU unit to be used with GROMACS simulations.
Which of the following NVIDIA GPUs is best suited for GROMACS? RTX3090, A5500, or A30?
I would also appreciate your input on the reason behind your choice.
Thank you!
Regular GPU card for gaming is enough
Depends on the size of system you use. Any decent gaming card (RTX 3090/4080/4090) will be fine for system sizes upto 500,000 atoms. Even with these GPUs, the CPU will become a bottleneck and you will need to get a CPU with anything between 12-24 cores.
With any version since Gromacs-2022, you have the option to run entirely on the GPU (as long as you only run on a single GPU), so then you won’t be bottlenecked by any CPU.
Everything depends on price; we just got some -40 new RTX 3070 & 3080Ti cards, primarily because the price was awesome and these cards had models where we could fit four of them in each 1U node we upgraded.
If you are buying a new card for a workstation, 4090 might be a good deal, or you might want to wait for 4070 cards - unless you find good prices for 3080.
AMD cards are fine too, but unfortunately the drivers are not yet at stable as nvidia, so it might not be the best bet for the first cards you are getting. Same goes for Intel; there’s promise there, and potentially good value-for-money, but drivers are not mature, and absolute performance cannot compete with high-end nvidia cards yet.
Cheers,
Erik
Hello Erik,
“With any version since Gromacs-2022, you have the option to run entirely on the GPU (as long as you only run on a single GPU), so then you won’t be bottlenecked by any CPU.”
What is this option? I couldn’t find it through quick internet search.
Thanks!
Hello, have you figured out how to operate entirely simulation on the GPU, I also confront this situation with a low price CPU i5 10600kf and a 3080GPU
I recently upgraded to Gromacs 2023 but found GPU utilisation at 45-60% (using nvidia-smi) while the 16 CPU cores were >97% utilizes. The GPU and CPU utilisation was comparable on 2021.3 version. Is there any specific option to offload to GPU?
To make the simulation GPU resident, use the following flags along with your mdrun command -update gpu -pme gpu -nb gpu
This should bring the GPU utilization up to ~90%
Thanks for the info
Please read the following user guide section: https://manual.gromacs.org/documentation/current/user-guide/mdrun-performance.html#running-mdrun-with-gpus