Objet : Developers list for StarPU
Archives de la liste
Re: [Starpu-devel] hwloc detection problem when configuring starpu-svn-trunk and starpu-1.2.0rc5
Chronologique Discussions
- From: Florent Pruvost <florent.pruvost@inria.fr>
- To: starpu-devel@lists.gforge.inria.fr
- Subject: Re: [Starpu-devel] hwloc detection problem when configuring starpu-svn-trunk and starpu-1.2.0rc5
- Date: Thu, 18 Aug 2016 15:28:05 +0200
- List-archive: <http://lists.gforge.inria.fr/pipermail/starpu-devel/>
- List-id: "Developers list. For discussion of new features, code changes, etc." <starpu-devel.lists.gforge.inria.fr>
Le 18/08/2016 14:17, Nathalie Furmento a écrit :
It's likely you need to add in your LD_LIBRARY_PATH the
path to the OpenCL library.
In spack, the LD_LIBRARY_PATH is unset to avoid being polluted by the external environment.
What I'm wondering here is how hwloc detects libOpenCL.so on the system here?
It looks certainly into system paths, e.g. /usr/lib/x86_64-linux-gnu/libOpenCL.so so that the linker should not require LD_LIBRARY_PATH to find it right?
On my system, Ubuntu 15.10, I don't have any problem to install starpu linked with hwloc 1.11.3 which is linked to opencl.
My LD_LIBRARY_PATH is empty and still a ldd on hwloc finds opencl:
pruvost@hp9470m:~/spack_dir$ ldd /home/pruvost/work/gitwc/spack-fpruvost/opt/spack/linux-x86_64/gcc-5.2.1/hwloc-1.11.3-gxs3in4vyhgc3omvgfe4yunepple2rbm/lib/libhwloc.so
linux-vdso.so.1 => (0x00007ffcdbffa000)
libnuma.so.1 => /usr/lib/x86_64-linux-gnu/libnuma.so.1 (0x00007fdc0a70a000)
libpciaccess.so.0 => /usr/lib/x86_64-linux-gnu/libpciaccess.so.0 (0x00007fdc0a4ff000)
libOpenCL.so.1 => /usr/lib/x86_64-linux-gnu/libOpenCL.so.1 (0x00007fdc0a2f4000)
libcudart.so.6.5 => /usr/lib/x86_64-linux-gnu/libcudart.so.6.5 (0x00007fdc0a0a4000)
libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2 (0x00007fdc09ceb000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fdc09921000)
/lib64/ld-linux-x86-64.so.2 (0x00005620ca705000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fdc09707000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fdc09502000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fdc092e4000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fdc090dc000)
libicuuc.so.55 => /usr/lib/x86_64-linux-gnu/libicuuc.so.55 (0x00007fdc08d47000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fdc08a3f000)
libicudata.so.55 => /usr/lib/x86_64-linux-gnu/libicudata.so.55 (0x00007fdc06f87000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fdc06c05000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fdc069ee000)
So Lucas can you try to figure out how hwloc was able to detect opencl on your system and understand why your linker is not able to retreive it?
It seems your libOpenCL.so is not located in some standard system paths so check the output files build.env and build.out into the .spack/ sub-directory of your hwloc installation, maybe you can get some intel on how hwloc found opencl?!
Best,
Florent
- [Starpu-devel] hwloc detection problem when configuring starpu-svn-trunk and starpu-1.2.0rc5, Lucas M. Schnorr, 17/08/2016
- Re: [Starpu-devel] hwloc detection problem when configuring starpu-svn-trunk and starpu-1.2.0rc5, Nathalie Furmento, 17/08/2016
- Re: [Starpu-devel] hwloc detection problem when configuring starpu-svn-trunk and starpu-1.2.0rc5, Lucas M. Schnorr, 17/08/2016
- Re: [Starpu-devel] hwloc detection problem when configuring starpu-svn-trunk and starpu-1.2.0rc5, Nathalie Furmento, 18/08/2016
- Re: [Starpu-devel] hwloc detection problem when configuring starpu-svn-trunk and starpu-1.2.0rc5, Lucas M. Schnorr, 18/08/2016
- Re: [Starpu-devel] hwloc detection problem when configuring starpu-svn-trunk and starpu-1.2.0rc5, Brice Goglin, 18/08/2016
- Re: [Starpu-devel] hwloc detection problem when configuring starpu-svn-trunk and starpu-1.2.0rc5, Nathalie Furmento, 18/08/2016
- Re: [Starpu-devel] hwloc detection problem when configuring starpu-svn-trunk and starpu-1.2.0rc5, Samuel Thibault, 18/08/2016
- Re: [Starpu-devel] hwloc detection problem when configuring starpu-svn-trunk and starpu-1.2.0rc5, Florent Pruvost, 18/08/2016
- Re: [Starpu-devel] hwloc detection problem when configuring starpu-svn-trunk and starpu-1.2.0rc5, Samuel Thibault, 18/08/2016
- Re: [Starpu-devel] hwloc detection problem when configuring starpu-svn-trunk and starpu-1.2.0rc5, Florent Pruvost, 18/08/2016
- Re: [Starpu-devel] hwloc detection problem when configuring starpu-svn-trunk and starpu-1.2.0rc5, Samuel Thibault, 18/08/2016
- Re: [Starpu-devel] hwloc detection problem when configuring starpu-svn-trunk and starpu-1.2.0rc5, Nathalie Furmento, 18/08/2016
- Re: [Starpu-devel] hwloc detection problem when configuring starpu-svn-trunk and starpu-1.2.0rc5, Lucas M. Schnorr, 18/08/2016
- Re: [Starpu-devel] hwloc detection problem when configuring starpu-svn-trunk and starpu-1.2.0rc5, Brice Goglin, 18/08/2016
- Re: [Starpu-devel] hwloc detection problem when configuring starpu-svn-trunk and starpu-1.2.0rc5, Lucas M. Schnorr, 18/08/2016
- Re: [Starpu-devel] hwloc detection problem when configuring starpu-svn-trunk and starpu-1.2.0rc5, Nathalie Furmento, 18/08/2016
- Re: [Starpu-devel] hwloc detection problem when configuring starpu-svn-trunk and starpu-1.2.0rc5, Lucas M. Schnorr, 17/08/2016
- Re: [Starpu-devel] hwloc detection problem when configuring starpu-svn-trunk and starpu-1.2.0rc5, Nathalie Furmento, 17/08/2016
Archives gérées par MHonArc 2.6.19+.