Closed psteinb closed 6 years ago
Have you tried using
export CMAKE_PREFIX_PATH=/home/steinbac/software/clfft/2.12.2/:/sw/apps/boost/1.63.0/:$CMAKE_PREFIX_PATH
CMAKE_PREFIX_PATH is the preferred way for setting up cmake environments. ax3l drew my attention to that here.
What I am confused about is that the OpenCL Version 1.2 is found, but right on the next line it complains about missing OpenCL library. Maybe you can check with ccmake
, if OpenCL_Library is empty. If so, you have to provide the OpenCL path to cmake as well.
my variables look like this (copied from ccmake .
in the build dir):
...
OpenCL_INCLUDE_DIR /sw/taurus/libraries/cuda/8.0.61/include
OpenCL_LIBRARY /usr/lib64/libOpenCL.so
OpenCL and clFFT are now also supported in spack builds :) https://github.com/spack/spack/pull/6441
@psteinb can we close this issue? With the cmake refactorization this become obsolete. spack will be another part, I'll update it when we release 0.4.0.
yes. let's proceed.
with 48e9da1bd1befb0d15143e815f0954818a004817 I see problems in the cmake setup to find OpenCL and/or CLFFT.
I checked with cmake 3.5.2, 3.7.2 and 3.9.2 and the problem prevails.