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: Nathalie Furmento <nathalie.furmento@labri.fr>
- To: "Lucas M. Schnorr" <schnorr@inf.ufrgs.br>
- Cc: 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 01:55:13 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=nathalie.furmento@labri.fr; spf=None smtp.mailfrom=nathalie.furmento@labri.fr; spf=None smtp.helo=postmaster@v-zimmta02.u-bordeaux.fr
- Ironport-phdr: 9a23:P3w1+xOda35Elhs+A0kl6mtUPXoX/o7sNwtQ0KIMzox0Kf36rarrMEGX3/hxlliBBdydsKMdzbCN+PqxESxYuNDa4ShEKMQNHzY+yuwu1zQ6B8CEDUCpZNXLVAcdWPp4aVl+4nugOlJUEsutL3fbo3m18CJAUk6nbVk9GO35F8bogtit0KjqotuIMlwO3mH2O+I6bE3v616A7o9O2coqA51y4yOBmmFPdeVSyDEgDnOotDG42P2N+oV++T9bofMr+p0Ie6z7e6MlUe4QV2x+YCgdrffmvhjbTAaJ+mBUEiBPykIJUED560Sweor6uzCyk6w14yKaO8rsV/p8DS+p76FsUgXAiSEJcSM36m7MzMZq2vF1uhWk8jp2347dZICYfNRjZKbQe88dDT5HV9pRXihAD8WycpEKAuwdOs5cpoPnph0At03tVkGXGOrzx2oQ1TfN1qog3rFkSFme0Q==
- 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>
Ok, it seems that hwloc has been compiled with OpenCL. Here the error when
configure checks the availability of the hwloc library.
configure:35295: /home/lschnorr/spack-orion/lib/spack/env/gcc/gcc -o conftest
-O3 -g -O2 -gdwarf-2 -g3 -D_GNU_SOURCE
-I/home/lschnorr/spack-orion/opt/spack/linux-x86_64/gcc-6.1.0/hwloc-1.11.3-j3wlufl4afo5kvid3vv4rutn55ljz2nx/include
-gdwarf-2 -g3
-L/home/lschnorr/spack-orion/opt/spack/linux-x86_64/gcc-6.1.0/hwloc-1.11.3-j3wlufl4afo5kvid3vv4rutn55ljz2nx/lib
conftest.c -lhwloc -lrt -lm -lpthread >&5
/home/lschnorr/spack-orion/opt/spack/linux-x86_64/gcc-6.1.0/hwloc-1.11.3-j3wlufl4afo5kvid3vv4rutn55ljz2nx/lib/libhwloc.so:
undefined reference to `clGetPlatformIDs@OPENCL_1.0'
/home/lschnorr/spack-orion/opt/spack/linux-x86_64/gcc-6.1.0/hwloc-1.11.3-j3wlufl4afo5kvid3vv4rutn55ljz2nx/lib/libhwloc.so:
undefined reference to `clGetDeviceIDs@OPENCL_1.0'
/home/lschnorr/spack-orion/opt/spack/linux-x86_64/gcc-6.1.0/hwloc-1.11.3-j3wlufl4afo5kvid3vv4rutn55ljz2nx/lib/libhwloc.so:
undefined reference to `clGetPlatformInfo@OPENCL_1.0'
/home/lschnorr/spack-orion/opt/spack/linux-x86_64/gcc-6.1.0/hwloc-1.11.3-j3wlufl4afo5kvid3vv4rutn55ljz2nx/lib/libhwloc.so:
undefined reference to `clGetDeviceInfo@OPENCL_1.0'
The dirty fix would be to modify configure.ac and add the proper -l and -L
options for OpenCL. Or better, set LDFLAGS with the appropriate value.
A better way would be to use pkgconfig to get the correct flags to use when
compiling/linking with hwloc. Could you please send me the contents of the
file
/home/lschnorr/spack-orion/opt/spack/linux-x86_64/gcc-6.1.0/hwloc-1.11.3-j3wlufl4afo5kvid3vv4rutn55ljz2nx/lib/pkgconfig/hwloc.pc
I will see how to modify configure.ac to use pkgconfig.
Thanks,
Nathalie
On Aug 17, 17:02, Lucas M. Schnorr wrote:
> Hi Nathalie,
>
> On 08/17/2016 04:02 PM, Nathalie Furmento wrote:
> > Could you also please send the config.log file of StarPU?
>
> Attached to this e-mail.
>
> > configure.ac checks the availability of the library with
> >
> > LDFLAGS="${SAVED_LDFLAGS} -L$hwloc_dir/lib"
> > AC_HAVE_LIBRARY([hwloc],[have_valid_hwloc=yes],[have_valid_hwloc=no])
> >
> > Could you check the contents of the directory
> > /home/lschnorr/spack-orion/opt/spack/linux-x86_64/gcc-6.1.0/hwloc-1.11.3-j3wlufl4afo5kvid3vv4rutn55ljz2nx/lib
> > ?
>
> Here are the contents:
>
> lschnorr@orion-4:~/spack-orion$ find
> /home/lschnorr/spack-orion/opt/spack/linux-x86_64/gcc-6.1.0/hwloc-1.11.3-j3wlufl4afo5kvid3vv4rutn55ljz2nx/lib
> /home/lschnorr/spack-orion/opt/spack/linux-x86_64/gcc-6.1.0/hwloc-1.11.3-j3wlufl4afo5kvid3vv4rutn55ljz2nx/lib
> /home/lschnorr/spack-orion/opt/spack/linux-x86_64/gcc-6.1.0/hwloc-1.11.3-j3wlufl4afo5kvid3vv4rutn55ljz2nx/lib/libhwloc.so
> /home/lschnorr/spack-orion/opt/spack/linux-x86_64/gcc-6.1.0/hwloc-1.11.3-j3wlufl4afo5kvid3vv4rutn55ljz2nx/lib/libhwloc.la
> /home/lschnorr/spack-orion/opt/spack/linux-x86_64/gcc-6.1.0/hwloc-1.11.3-j3wlufl4afo5kvid3vv4rutn55ljz2nx/lib/pkgconfig
> /home/lschnorr/spack-orion/opt/spack/linux-x86_64/gcc-6.1.0/hwloc-1.11.3-j3wlufl4afo5kvid3vv4rutn55ljz2nx/lib/pkgconfig/hwloc.pc
> /home/lschnorr/spack-orion/opt/spack/linux-x86_64/gcc-6.1.0/hwloc-1.11.3-j3wlufl4afo5kvid3vv4rutn55ljz2nx/lib/libhwloc.so.5
> /home/lschnorr/spack-orion/opt/spack/linux-x86_64/gcc-6.1.0/hwloc-1.11.3-j3wlufl4afo5kvid3vv4rutn55ljz2nx/lib/libhwloc.so.5.7.0
>
> A+
> Lucas
>
> --
> Lucas M. Schnorr, UFRGS
> http://www.inf.ufrgs.br/~schnorr/
--
----------------------------------------------------------------------------
Dr Nathalie Furmento Ingénieur de recherche CNRS
Centre de Recherche INRIA Bordeaux Sud-Ouest http://www.labri.fr/~furmento/
200 avenue de la vieille Tour Tel: +33 (0)5 24 57 41 20
33405 Talence cedex, FRANCE Fax: +33 (0)5 24 57 40 41
----------------------------------------------------------------------------
- [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+.