<div>The problem has been solved by installing ocl-icd-opencl-dev. I think this package should be mentioned in the installation guide.</div><div> </div><div>19.12.2019, 01:20, "Mark Abraham" &lt;mark.j.abraham@gmail.com&gt;:</div><blockquote><p>Hi,<br /><br />If you use -DOpenCL_LIBRARY then it has to indicate the location of<br />libOpenCL.so because you've short-circuited any attempt to find the<br />library. Check out the advice at<br /><a href="http://manual.gromacs.org/documentation/2019/install-guide/index.html#opencl-gpu-acceleration">http://manual.gromacs.org/documentation/2019/install-guide/index.html#opencl-gpu-acceleration</a>.<br />If you've installed system packages for e.lg. amdgpu-pro then you probably<br />have no need of handling -DOpenCL_*, and particularly not to set them to<br />values that are in paths that are searched by default. Give an instruction<br />when you absolutely know what the instruction needs to be, otherwise let<br />the automation do its job.<br /><br />Mark<br /><br />On Wed, 18 Dec 2019 at 09:28, SkyTo &lt;<a href="mailto:skytolya@ya.ru">skytolya@ya.ru</a>&gt; wrote:<br /> </p><blockquote><br /><br /> -------- Пересылаемое сообщение --------<br /> 18.12.2019, 22:06, "SkyTo" &lt;<a href="mailto:skytolya@ya.ru">skytolya@ya.ru</a>&gt;:<br /><br /> Hello!<br /><br /> I can't install Gromacs with OpenCL support. I use Ubuntu 18.04.3 and<br /> Radeon RX550. Commands<br /><br /> cmake .. -DGMX_BUILD_OWN_FFTW=ON -DGMX_GPU=on -DGMX_USE_OPENCL=on<br /> -DOpenCL_LIBRARY=/usr/lib/libOpenCL.so.1.0.0<br /> -DOpenCL_INCLUDE_DIR=/usr/include/CL<br /> make<br /><br /> lead to<br /><br /> [100%] Building CXX object src/gromacs/CMakeFiles/libgromacs.dir/mimic/MimicCommunicator.cpp.o<br /> [100%] Building CXX object src/gromacs/CMakeFiles/libgromacs.dir/mimic/MimicUtils.cpp.o<br /> [100%] Building CXX object src/gromacs/CMakeFiles/libgromacs.dir/utility/baseversion-gen.cpp.o<br /> make[2]: *** No rule to make target «/usr/lib/libOpenCL.so», required for «lib/libgromacs.so.4.0.0».Stop.<br /> CMakeFiles/Makefile2:2768: recipe for target 'src/gromacs/CMakeFiles/libgromacs.dir/all' failed<br /> make[1]: *** [src/gromacs/CMakeFiles/libgromacs.dir/all] Error 2<br /> Makefile:162: recipe for target 'all' failed<br /> make: *** [all] Error 2<br /><br /> What have i tried:<br /> installed opencl-headers and ocl-icd-libopencl1<br /> installed amdgpu-pro (as in manual)<br /> installed fglrx (as in manual)<br /><br /> May there be something else?<br /><br /> -------- Конец пересылаемого сообщения --------<br /><br /> </blockquote>--<br />Gromacs Users mailing list</blockquote>