On 03-06-2015 16:37, Wagner, Mathias wrote:
Hi,
I am trying to build hwloc to use with cuda applications.
I have cuda installed on my system but it is not detected by configure.
I included the pkgconfig directory from CUDA in the PKG_CONFIG_PATH on my
system and pkg-config called separately detects cuda 6.5.
However, when I run configure the checks for cuda return no. I tried with and
without the —enable-cuda option.
Any ideas what I can do?
Hello,
Try this before './configure --option-x --option-y --enable-cuda' :
export CPPFLAGS="-I/cuda/include/dir"
export LD_FLAGS="-L/cuda/libs/dir -lcudart"
[ ]'s