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: "Lucas M. Schnorr" <schnorr@inf.ufrgs.br>
- To: Nathalie Furmento <nathalie.furmento@labri.fr>
- 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 05:21:11 +0200
- Authentication-results: mail2-smtp-roc.national.inria.fr; spf=None smtp.pra=schnorr@inf.ufrgs.br; spf=Pass smtp.mailfrom=schnorr@inf.ufrgs.br; spf=None smtp.helo=postmaster@smtp.inf.ufrgs.br
- Ironport-phdr: 9a23:maqr8xG+cDLc7oOqSkCDdJ1GYnF86YWxBRYc798ds5kLTJ74ps2wAkXT6L1XgUPTWs2DsrQf2rOQ6furBjZIoc7Y9itTKNoUD15NoP5VtjRoONSCB0z/IayiRA0BN+MGamVY+WqmO1NeAsf0ag6aiHSz6TkPBke3blItdazLE4Lfx/66y/q1s8WKJV4Z3XznOvgtdl329VyX7ZhOx9M6a+4Y8VjgmjNwYeNYxGdldxq4vi3XwYOOxqNl6DlaoPk79sRNAu3QdqU8SqFEXnx9azhmrOWijxTITBOO630ASS1W10MQW0mWpC39C7H4rivzsutwkAeHJ8j7S6wzEWCk5rtrQRvphWEJKiQ8/WfLjeR0hahBoVSvvUos7ZTTZdTfEOd1d7iVWJVSfmFBWMFLTWYJVpi3b40IFfApPOBW6ZTzvVQV6xGkU1r/TNjzwyNF0yellZYx1P4sRESfhFQt
- 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>
Hello Nathalie,
On 08/18/2016 01:55 AM, Nathalie Furmento wrote:
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
Sure, here it goes (hwloc.pc).
Let me know (on which version/trunk) when it is done so I can test again.
Thanks
Lucas
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 withHere are the contents:
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
?
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
----------------------------------------------------------------------------
--
Lucas M. Schnorr, UFRGS
http://www.inf.ufrgs.br/~schnorr/
prefix=/home/lschnorr/spack-orion/opt/spack/linux-x86_64/gcc-6.1.0/hwloc-1.11.3-j3wlufl4afo5kvid3vv4rutn55ljz2nx
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include
Name: hwloc
Description: Hardware locality detection and management library
Version: 1.11.3
Requires.private:
Cflags: -I${includedir}
Libs: -L${libdir} -lhwloc
Libs.private: -lm -lnuma -lOpenCL -lpthread
- [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+.