# Error installation GPU OPENCL gromacs, Please help

**URL:** <https://gromacs.bioexcel.eu/t/error-installation-gpu-opencl-gromacs-please-help/7666>\
**Category:** User discussions\
**Tags:** mdrun, installation-error\
**Created:** [November 18, 2023, 8:35am UTC](https://gromacs.bioexcel.eu/t/error-installation-gpu-opencl-gromacs-please-help/7666 "2023-11-18T08:35:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Benaouda](https://avatars.discourse-cdn.com/v4/letter/b/439d5e/32.png) [@Benaouda](https://gromacs.bioexcel.eu/u/Benaouda)\
**Post date:** [November 18, 2023, 8:35am UTC](https://gromacs.bioexcel.eu/t/error-installation-gpu-opencl-gromacs-please-help/7666/1 "2023-11-18T08:35:03Z")

</div>

i get this error when i install gromacs  
ben@ben-System-Product-Name:~/gromacs-2023.3/build$ cmake … -DGMX\_BUILD\_OWN\_FFTW=ON -DREGRESSIONTEST\_DOWNLOAD=ON  
– GPU support with OpenCL is deprecated. It is still fully supported (and recommended for AMD, Intel, and Apple GPUs). It may be replaced by different approaches in future releases of GROMACS.  
CMake Error at cmake/gmxManageOpenCL.cmake:51 (message):  
OpenCL is not supported. OpenCL version 1.2 or newer is required.  
Call Stack (most recent call first):  
CMakeLists.txt:665 (include)

– Configuring incomplete, errors occurred!  
See also “/home/ben/gromacs-2023.3/build/CMakeFiles/CMakeOutput.log”.  
See also “/home/ben/gromacs-2023.3/build/CMakeFiles/CMakeError.log”  
i had installed rocm and opencl  
ben@ben-System-Product-Name:~$ clinfo  
Number of platforms 1  
Platform Name AMD Accelerated Parallel Processing  
Platform Vendor Advanced Micro Devices, Inc.  
Platform Version OpenCL 2.1 AMD-APP (3590.0)  
Platform Profile FULL\_PROFILE  
Platform Extensions cl\_khr\_icd cl\_amd\_event\_callback  
Platform Extensions function suffix AMD  
Platform Host timer resolution 1ns

Platform Name AMD Accelerated Parallel Processing  
Number of devices 1  
Device Name gfx1010:xnack-  
Device Vendor Advanced Micro Devices, Inc.  
Device Vendor ID 0x1002  
Device Version OpenCL 2.0  
Driver Version 3590.0 (HSA1.1,LC)  
Device OpenCL C Version OpenCL C 2.0  
Device Type GPU  
Device Board Name (AMD) AMD Radeon RX 5600 XT  
Device PCI-e ID (AMD) 0x731f  
Device Topology (AMD) PCI-E, 0000:0a:00.0  
Device Profile FULL\_PROFILE  
Device Available Yes  
Compiler Available Yes  
Linker Available Yes  
Max compute units 18  
SIMD per compute unit (AMD) 4  
SIMD width (AMD) 32  
SIMD instruction width (AMD) 1  
Max clock frequency 1780MHz  
Graphics IP (AMD) 10.1  
Device Partition (core)  
Max number of sub-devices 18  
Supported partition types None  
Supported affinity domains (n/a)  
Max work item dimensions 3  
Max work item sizes 1024x1024x1024  
Max work group size 256  
Preferred work group size (AMD) 256  
Max work group size (AMD) 1024  
Preferred work group size multiple (kernel) 32  
Wavefront width (AMD) 32  
Preferred / native vector sizes  
char 4 / 4  
short 2 / 2  
int 1 / 1  
long 1 / 1  
half 1 / 1 (cl\_khr\_fp16)  
float 1 / 1  
double 1 / 1 (cl\_khr\_fp64)  
Half-precision Floating-point support (cl\_khr\_fp16)  
Denormals Yes  
Infinity and NANs Yes  
Round to nearest Yes  
Round to zero Yes  
Round to infinity Yes  
IEEE754-2008 fused multiply-add Yes  
Support is emulated in software No  
Single-precision Floating-point support (core)  
Denormals Yes  
Infinity and NANs Yes  
Round to nearest Yes  
Round to zero Yes  
Round to infinity Yes  
IEEE754-2008 fused multiply-add Yes  
Support is emulated in software No  
Correctly-rounded divide and sqrt operations Yes  
Double-precision Floating-point support (cl\_khr\_fp64)  
Denormals Yes  
Infinity and NANs Yes  
Round to nearest Yes  
Round to zero Yes  
Round to infinity Yes  
IEEE754-2008 fused multiply-add Yes  
Support is emulated in software No  
Address bits 64, Little-Endian  
Global memory size 6425673728 (5.984GiB)  
Global free memory (AMD) 6100992 (5.818GiB) 6100992 (5.818GiB)  
Global memory channels (AMD) 6  
Global memory banks per channel (AMD) 4  
Global memory bank width (AMD) 256 bytes  
Error Correction support No  
Max memory allocation 5461822664 (5.087GiB)  
Unified memory for Host and Device No  
Shared Virtual Memory (SVM) capabilities (core)  
Coarse-grained buffer sharing Yes  
Fine-grained buffer sharing Yes  
Fine-grained system sharing No  
Atomics No  
Minimum alignment for any data type 128 bytes  
Alignment of base address 1024 bits (128 bytes)  
Preferred alignment for atomics  
SVM 0 bytes  
Global 0 bytes  
Local 0 bytes  
Max size for global variable 5461822664 (5.087GiB)  
Preferred total size of global vars 6425673728 (5.984GiB)  
Global Memory cache type Read/Write  
Global Memory cache size 16384 (16KiB)  
Global Memory cache line size 64 bytes  
Image support Yes  
Max number of samplers per kernel 16  
Max size for 1D images from buffer 134217728 pixels  
Max 1D or 2D image array size 8192 images  
Base address alignment for 2D image buffers 256 bytes  
Pitch alignment for 2D image buffers 256 pixels  
Max 2D image size 16384x16384 pixels  
Max 3D image size 16384x16384x8192 pixels  
Max number of read image args 128  
Max number of write image args 8  
Max number of read/write image args 64  
Max number of pipe args 16  
Max active pipe reservations 16  
Max pipe packet size 1166855368 (1.087GiB)  
Local memory type Local  
Local memory size 65536 (64KiB)  
Local memory size per CU (AMD) 65536 (64KiB)  
Local memory banks (AMD) 32  
Max number of constant args 8  
Max constant buffer size 5461822664 (5.087GiB)  
Preferred constant buffer size (AMD) 16384 (16KiB)  
Max size of kernel argument 1024  
Queue properties (on host)  
Out-of-order execution No  
Profiling Yes  
Queue properties (on device)  
Out-of-order execution Yes  
Profiling Yes  
Preferred size 262144 (256KiB)  
Max size 8388608 (8MiB)  
Max queues on device 1  
Max events on device 1024  
Prefer user sync for interop Yes  
Number of P2P devices (AMD) 0  
Profiling timer resolution 1ns  
Profiling timer offset since Epoch (AMD) 0ns (Thu Jan 1 00:00:00 1970)  
Execution capabilities  
Run OpenCL kernels Yes  
Run native kernels No  
Thread trace supported (AMD) No  
Number of async queues (AMD) 8  
Max real-time compute queues (AMD) 8  
Max real-time compute units (AMD) 18  
printf() buffer size 4194304 (4MiB)  
Built-in kernels (n/a)  
Device Extensions cl\_khr\_fp64 cl\_khr\_global\_int32\_base\_atomics cl\_khr\_global\_int32\_extended\_atomics cl\_khr\_local\_int32\_base\_atomics cl\_khr\_local\_int32\_extended\_atomics cl\_khr\_int64\_base\_atomics cl\_khr\_int64\_extended\_atomics cl\_khr\_3d\_image\_writes cl\_khr\_byte\_addressable\_store cl\_khr\_fp16 cl\_khr\_gl\_sharing cl\_amd\_device\_attribute\_query cl\_amd\_media\_ops cl\_amd\_media\_ops2 cl\_khr\_image2d\_from\_buffer cl\_khr\_subgroups cl\_khr\_depth\_images cl\_amd\_copy\_buffer\_p2p cl\_amd\_assembly\_program

NULL platform behavior  
clGetPlatformInfo(NULL, CL\_PLATFORM\_NAME, …) No platform  
clGetDeviceIDs(NULL, CL\_DEVICE\_TYPE\_ALL, …) No platform  
clCreateContext(NULL, …) [default] No platform  
clCreateContext(NULL, …) [other] Success [AMD]  
clCreateContextFromType(NULL, CL\_DEVICE\_TYPE\_DEFAULT) Success (1)  
Platform Name AMD Accelerated Parallel Processing  
Device Name gfx1010:xnack-  
clCreateContextFromType(NULL, CL\_DEVICE\_TYPE\_CPU) No devices found in platform  
clCreateContextFromType(NULL, CL\_DEVICE\_TYPE\_GPU) Success (1)  
Platform Name AMD Accelerated Parallel Processing  
Device Name gfx1010:xnack-  
clCreateContextFromType(NULL, CL\_DEVICE\_TYPE\_ACCELERATOR) No devices found in platform  
clCreateContextFromType(NULL, CL\_DEVICE\_TYPE\_CUSTOM) No devices found in platform  
clCreateContextFromType(NULL, CL\_DEVICE\_TYPE\_ALL) Success (1)  
Platform Name AMD Accelerated Parallel Processing  
Device Name gfx1010:xnack-

what is solution please

---

<div class="post-metadata">

**Author:** ![Benaouda](https://avatars.discourse-cdn.com/v4/letter/b/439d5e/32.png) [@Benaouda](https://gromacs.bioexcel.eu/u/Benaouda)\
**Post date:** [November 18, 2023, 10:37am UTC](https://gromacs.bioexcel.eu/t/error-installation-gpu-opencl-gromacs-please-help/7666/2 "2023-11-18T10:37:24Z")

</div>

problem solved after updating opencl and removing gromacs then reinstalling its have done
