Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] StarPU Configuration error

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] StarPU Configuration error


Chronologique Discussions 
  • From: Samuel Thibault <samuel.thibault@inria.fr>
  • To: Wafa Nafti <wafa_nafti@yahoo.fr>
  • Cc: "starpu-devel@lists.gforge.inria.fr" <starpu-devel@lists.gforge.inria.fr>
  • Subject: Re: [Starpu-devel] StarPU Configuration error
  • Date: Wed, 6 Apr 2016 13:19:08 +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>

Wafa Nafti, on Wed 06 Apr 2016 11:06:12 +0000, wrote:
> ls: cannot access /usr/lib/pkgconfig/hwloc.pc: No such file or directory
> /usr/lib/x86_64-linux-gnu/pkgconfig/hwloc.pc
>
> But if I added the directory of the location of the file hwloc.pc to the
> PKG_CONFIG_PATH environment variable, as Nathalie said, the configuration
> and
> the installation are successful.

Ok, but you shouldn't have had to do that, there seems to be something
wrong with your system: pkg-config should already be looking in
/usr/lib/x86_64-linux-gnu/pkgconfig , you should not have had to specify
it.

> However I have this error when I try to compile an example :
>
> ~/StarPU/examples/basic_examples$ gcc `pkg-config starpu-1.1 --cflags`
> block.c
> \ -fplugin=`pkg-config starpu-1.1 --variable=gccplugin` \ `pkg-config
> starpu-1.1 --libs`

Do not type the \ as they are, they are there only to indicate that the
line is to be continued.

Also, did the summary at the end of ./configure notify that the gcc
plugin infrastructure was built? This is required for getting the gcc
pluging way of using StarPU working.

All that being said, the example you use (block.c) does *not* use the
gcc plugin for C extension, so you can just skip the related part, i.e.

-fplugin=`pkg-config starpu-1.1 --variable=gccplugin`

and thus only keep the cflags and the libs parts.

Samuel




Archives gérées par MHonArc 2.6.19+.

Haut de le page