Le 04/06/2015 01:17, Fabricio Cannini a écrit : > On 03-06-2015 20:10, Brice Goglin wrote: >> Le 04/06/2015 01:02, Fabricio Cannini a écrit : >>> LDFLAGS = -L/usr/local/cuda-6.5/lib64 -lcudart -L/usr/lib64/nvidia >>> -lnvidia-ml >> >> Does this line come from your environment? hwloc isn't supposed to set >> LDFLAGS unless it comes from the environment. I guess that's where your >> problems comes from. > > Yes, I did set LDFLAGS and CPPFLAGS because otherwise './configure' > does not finds cuda headers and libraries. Is there another way that > I'm not aware of ?
Did you try putting -L/usr/local/cuda-6.5/lib64 -L/usr/lib64/nvidia in LDFLAGS without -lcudart -lnvidia-ml ? Brice