gromacs wizard is not using the gpu
-
-
Hi,
With GROMACS Wizard, we ship a version of GROMACS that can run on all PCs, so it is not built with support for particular GPUs. You can provide a path to your locally built GROMACS that supports your GPU: GROMACS Wizard - Using custom GROMACS version and performance parameters.
When running in the Cloud through GROMACS Wizard, it uses GROMACS built specifically for the chosen machine.
-
-
-
Hi Aditya,
Thank you for your suggestion! Having a simple CPU/GPU selection option would indeed be convenient.
Actually, GROMACS Wizard already allows you to specify GPU usage through its Settings, although you first need to have a locally installed version of GROMACS built with GPU support, as mentioned above.
Once you have such a version:
- Open GROMACS Wizard > Settings, enable Use a different GROMACS version, and specify the paths to your GROMACS executable and force fields.
- In the same Settings window, you can specify Additional performance parameters that will be passed to
gmx mdrun. For example:-nb gpu— run short-range nonbonded calculations on the GPU.-pme gpu— run PME calculations on the GPU.-gpu_id 0— select GPU 0.
- You can then run your simulations locally with GPU acceleration.
Note that GROMACS built with GPU/CUDA support can also automatically detect and use compatible GPUs, so explicitly specifying these parameters is not always necessary. However,
-nb gpuis useful if you want to explicitly request GPU usage.You can find more information here:
- GROMACS Wizard — Custom GROMACS versions and performance settings
- GROMACS — Getting good performance from mdrun
These settings apply to local computations. For Cloud computations, GROMACS Wizard uses a GROMACS version built for the selected computing machine, i.e., if you select a machine with a GPU, then it will use it.
Thank you again for the suggestion! We will keep in mind the possibility of making CPU/GPU selection more straightforward in the interface.
-
-
-
Hi Aditya,
Great! Thank you for reporting this!Could you please write here what parameters you supplied? Maybe it will be helpful to other users.
-
Hi ,
I will happily share the parameter,
how I got GPU acceleration working! I managed to boost my performance from about 34 ns/day (using the default CPU version) to an incredible 210 ns/day on an RTX 1650 Ti.Here is the exact setup and the parameters I used:
The GROMACS Build: Because SAMSON runs on Windows, I couldn't easily use my WSL/Linux CUDA build (felt miserable). Instead, I downloaded a precompiled native Windows CUDA build of GROMACS 2026.2 from GitHub (Arifmaulanaazis/Gromacs-Prebuild-Windows).
keep in mind: Make sure you download the build that matches your GPU's architecture (e.g., I used the CUDA 13.0 build without AVX-512 for compatibility).
Important: Extract it to a simple, local path (like C:\gromacs-2026.2-cuda). Do not put it in OneDrive or a path with spaces, as SAMSON/GROMACS will throw a "not a GROMACS program" error (well I did this exactly and it was showing error again and again lol).
SAMSON GROMACS Wizard Settings
In the GROMACS Wizard Settings: Checked Use a different GROMACS version.
Program file: C:\gromacs-2026.2-cuda\bin\gmx.exe
Force fields folder: C:\gromacs-2026.2-cuda\share\gromacs\top
Set threads to roughly half your logical cores (I used 10 on a 6-core/12-thread CPU).At the bottom of the settings window in the box "Provide parameters for gmx mdrun", the parameters you need to use change depending on the step of the simulation:
For Energy Minimization (EM): You must leave this box blank or just use -nb gpu. If you add -pme gpu here, GROMACS will crash with a "Non-dynamical integrator" error because PME cannot run on the GPU during minimization (tried and tested).
For Equilibration (NVT/NPT) and Production MD: Use these parameters to offload everything to the GPU:
-nb gpu -pme gpu -bonded gpuHope this helps
Thankyou -
Thank you very much for sharing this!
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login