[gmx-users] OpenCL compile error

Geert Konijnendijk geert at konijnendijk.info
Mon Feb 22 18:31:09 CET 2016

Dear GMX users,

When I try to run a simulation, I get the following error:

Selecting kernel for AMD
The OpenCL compilation log has been saved in "nbnxn_ocl_kernels.cl.FAILED"

Program:     gmx mdrun, version 2016-dev-20160222-29943fe
Source file: src\gromacs\mdlib\nbnxn_ocl\nbnxn_ocl_jit_support.cpp (line

Fatal error:
Failed to compile NBNXN kernels for GPU #Hawaii: /M3l

For more information and tips for troubleshooting, please check the GROMACS
website at http://www.gromacs.org/Documentation/Errors

The log file contains the following: 

Compilation of source file failed! 
-- Used build options: -DWARP_SIZE_TEST=64 -D_AMD_SOURCE_
--------------LOG START---------------
C:\Users\Geert\AppData\Local\Temp\\OCL5788T8.cl:59:10: fatal error:
'nbnxn_ocl_kernels_fastgen_add_twincut.clh' file not found
C:\Users\Geert\AppData\Local\Temp\\OCL5788T8.cl:45:36: note: expanded from

error: Clang front-end compilation failed!
Frontend phase failed compilation.
Error: Compiling CL to IR
---------------LOG END----------------

When I try to compile the kernel in AMD CodeXL with the same build options
as listed in the log above, it fails with the same error for most GPU
architectures, but it succeeds for some. 

I am running on Windows 10, with the OpenCL library from the AMD App SDK

Is this a known problem and is there a simple solution, or could this be a
bug in the AMD OpenCL compiler or the gromacs OpenCL code?

Thanks in advance!


More information about the gromacs.org_gmx-users mailing list