# GROMACS 2024.2 cannot use RTX 5050 Laptop GPU under WSL

**URL:** <https://gromacs.bioexcel.eu/t/gromacs-2024-2-cannot-use-rtx-5050-laptop-gpu-under-wsl/13354>\
**Category:** User discussions\
**Created:** [April 1, 2026, 4:05pm UTC](https://gromacs.bioexcel.eu/t/gromacs-2024-2-cannot-use-rtx-5050-laptop-gpu-under-wsl/13354 "2026-04-01T16:05:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rudhra](https://avatars.discourse-cdn.com/v4/letter/r/958977/32.png) [@Rudhra](https://gromacs.bioexcel.eu/u/Rudhra)\
**Post date:** [April 1, 2026, 4:05pm UTC](https://gromacs.bioexcel.eu/t/gromacs-2024-2-cannot-use-rtx-5050-laptop-gpu-under-wsl/13354/1 "2026-04-01T16:05:03Z")

</div>

Hi,

System:

- GROMACS 2024.2

- CUDA toolkit 12.8

- NVIDIA driver 581.66

- GPU: NVIDIA GeForce RTX 5050 Laptop GPU

- WSL Ubuntu 24.04

- GCC 12.4

I compiled GROMACS with:

CC=/usr/bin/gcc-12 CXX=/usr/bin/g+±12 cmake ..  
-DGMX\_BUILD\_OWN\_FFTW=ON  
-DGMX\_MPI=ON  
-DGMX\_GPU=CUDA  
-DGMX\_CUDA\_TARGET\_SM=89  
-DCMAKE\_CUDA\_HOST\_COMPILER=/usr/bin/g+±12  
-DCMAKE\_CUDA\_FLAGS=“–allow-unsupported-compiler --generate-code arch=compute\_89,code=compute\_89”  
-DCMAKE\_INSTALL\_PREFIX=/usr/local/gromacs

Compilation succeeds, and gmx\_mpi --version reports CUDA support.

However, running:

gmx\_mpi mdrun -s production.tpr -deffnm production -nb gpu

fails with:

WARNING: An error occurred while sanity checking device #0.  
CUDA error #209 (cudaErrorNoKernelImageForDevice): no kernel image is available for execution on the device.

Then GROMACS aborts with:  
“Cannot run short-ranged nonbonded interactions on a GPU because no GPU is detected.”

I also attempted:  
-DGMX\_CUDA\_TARGET\_SM=120

with CUDA 12.8, but compilation fails during ptxas with:  
“Value of threads per SM … is out of range”

Is RTX 5050 / Blackwell support expected in a newer GROMACS release, or is there a recommended workaround?

---

<div class="post-metadata">

**Author:** ![al42and](https://dub1.discourse-cdn.com/flex017/user_avatar/gromacs.bioexcel.eu/al42and/32/1393_2.png) [@al42and](https://gromacs.bioexcel.eu/u/al42and)\
**Post date:** [April 1, 2026, 5:44pm UTC](https://gromacs.bioexcel.eu/t/gromacs-2024-2-cannot-use-rtx-5050-laptop-gpu-under-wsl/13354/2 "2026-04-01T17:44:18Z")

</div>

Hi,

> [@Rudhra](#):
>
> CUDA error #209 (cudaErrorNoKernelImageForDevice): no kernel image is available for execution on the device.

That’s expected when compiling for sm\_89 – that’s _only_ for RTX40xx-series cards, and you have RTX50xx.

> [@Rudhra](#):
>
> Is RTX 5050 / Blackwell support expected in a newer GROMACS release, or is there a recommended workaround?

GROMACS supports consumer Blackwell GPUs since [2024.6](https://manual.gromacs.org/2024.6/release-notes/2024/2024.6.html#fixes-that-affect-portability) and in all 2025.x and 2026.x releases.

Unless you really must use an older GROMACS version, the latest 2025.4 or 2026.1 release is better since they are still supported and have all the bug fixes.
