Em 07-07-2017 18:44, Brice Goglin escreveu:
Does "ldd /path/to/libhwloc.so" say that it depends on libcuda?

Check the end of the configure output, you should see "CUDA" on the
"probe/display I/O devices" line:

-----------------------------------------------------------------------------
Hwloc optional build support status (more details can be found above):

Probe / display I/O devices: PCI(pciaccess+linux) LinuxIO OpenCL CUDA NVML GL
Graphical output (Cairo):    yes
XML input / output:          full
Netloc functionality:        yes (with scotch: no)
Plugin support:              no
-----------------------------------------------------------------------------

If not, go above and look for CUDA checks:

checking for cuda.h... yes
checking if CUDA_VERSION >= 3020... yes
checking for cuInit in -lcuda... yes
checking cuda_runtime_api.h usability... yes
checking cuda_runtime_api.h presence... yes
checking for cuda_runtime_api.h... yes
checking if CUDART_VERSION >= 3020... yes
checking for cudaGetDeviceProperties in -lcudart... yes

Brice

Hi David

Try exporting LDFLAGS='-L/usr/local/cuda-8.0/lib64 -L/usr/lib64/nvidia' CPPFLAGS='-I/usr/local/cuda-8.0/include' before running './configure'


HIH,
Fabricio
_______________________________________________
hwloc-users mailing list
hwloc-users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/hwloc-users

Reply via email to