Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] Weird error with HWLOC

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] Weird error with HWLOC


Chronologique Discussions 
  • From: Samuel Thibault <samuel.thibault@inria.fr>
  • To: "Hoque, Reazul" <rhoque@vols.utk.edu>
  • Cc: "starpu-devel@lists.gforge.inria.fr" <starpu-devel@lists.gforge.inria.fr>
  • Subject: Re: [Starpu-devel] Weird error with HWLOC
  • Date: Wed, 5 Apr 2017 10:53:43 +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>
  • Organization: I am not organized

Hello,

Hoque, Reazul, on mar. 04 avril 2017 21:57:37 +0000, wrote:
> echo $PKG_CONFIG
> /cm/shared/apps/hwloc/1.9.1/lib/pkgconfig/

pkg-config does not read a PKG_CONFIG variable, only PKG_CONFIG_PATH

> echo $PKG_CONFIG_PATH
> /cm/shared/apps/hwloc/1.9.1/lib/pkgconfig/

Is this variable really exported? Check for instance

printenv | grep PKG_CONFIG_PATH

And does /cm/shared/apps/hwloc/1.9.1/lib/pkgconfig/ contain hwloc.pc?

> The help of the ./configure does not specify how we are supposed to point to
> the hwloc directory.

The help can not cover every bits of detail of configuration, it would
then be thousands of lines long. It has to be a quick reminder only.

> How is a normal user supposed to know which env_variable
> to set?

Either the distribution or the module environment already provides the
correct environment variables (but it has to do so properly of course),
or the user uses --with-hwloc=... as you did, but again hwloc has to
have been installed properly of course.

> What is the actual problem here?

Apparently /cm/shared/apps/hwloc/1.9.1/lib/pkgconfig/ just does not
contain hwloc.pc, i.e. a problem in your system.

> I succeeded before with version 1.2.0.

Does it still work with 1.2.0 nowadays?
We have not changed the hwloc detection between 1.2.0 and the current
1.2 branch.

Samuel




Archives gérées par MHonArc 2.6.19+.

Haut de le page