Hello All,
I'm trying to include the OpenCL thorns to try and get WaveToyOpenCL to run. When compiling, I run into the following errors.
COMPILING arrangements/CactusUtils/OpenCLRunTime/src/kernel-info.cc
"/home/ram0311/Cactus/arrangements/Carpet/CarpetLib/src/typeprops.hh", line 62: warning:
statement is unreachable
return -1;
^
"/home/ram0311/Cactus/arrangements/Carpet/CarpetLib/src/typeprops.hh", line 73: warning:
statement is unreachable
return -1;
^
"/home/ram0311/Cactus/arrangements/Carpet/CarpetLib/src/typeprops.hh", line 84: warning:
statement is unreachable
return -1;
^
"/home/ram0311/Cactus/arrangements/CactusUtils/OpenCLRunTime/src/device.hh", line 19: catastrophic error:
cannot open source file "CL/opencl.h"
# include <CL/opencl.h>
^
1 catastrophic error detected in the compilation of "/home/ram0311/Cactus/configs/opencl/build/OpenCLRunTime/kernel-info.cc".
Compilation terminated.
make[3]: *** [kernel-info.cc.o] Error 2
make[2]: *** [make.checked] Error 2
make[1]: *** [/home/ram0311/Cactus/configs/opencl/lib/libthorn_OpenCLRunTime.a] Error 2
I've removed the comments from the einsteintoolkit manifest to update to include everything in the thorns. I had the same error when compiling the OpenCL thorn as well.