Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] Informationn de starpu avec hwloc mais sans pkgconfig

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] Informationn de starpu avec hwloc mais sans pkgconfig


Chronologique Discussions 
  • From: Nathalie Furmento <nathalie.furmento@labri.fr>
  • To: Pierre RAMET <ramet@labri.fr>
  • Cc: Cedric Castagnede <cedric.castagnede@inria.fr>, Samuel Thibault <samuel.thibault@ens-lyon.org>, starpu-devel@lists.gforge.inria.fr
  • Subject: Re: [Starpu-devel] Informationn de starpu avec hwloc mais sans pkgconfig
  • Date: Tue, 25 Sep 2012 15:22:41 +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>

Pierre,

I think the problem comes from the fact that configure.ac expects a
directory with the option --with-hwloc.

Could you please try again by calling

./configure --with-hwloc=<directory where hwloc is installed>

Thanks,

Nathalie

On Sep 25, 15:12, Pierre RAMET wrote:
> I also try with the last trunk of StarPU, I got the same results…
> In configure.log, the following line is suspicious :
> configure:27417: gcc -c -O3 -g -O2 -gdwarf-2 -g3 -D_GNU_SOURCE
> -Iyes/include conftest.c >&5
>


>
>
> Pierre.
>
>
> Le 25 sept. 2012 à 09:23, Nathalie Furmento <nathalie.furmento@labri.fr> a
> écrit :
>
> > configure.ac already has cases for packages which are found with or
> > without pkg-config. You cannot assume all libraries we are using are
> > provided with a pc file.
> >
> > It is clear that if end-users want their packages to be detected
> > through pkg-config, then they need to make sure pkg-config is
> > available.
> >
> > But here, it is requested to have hwloc detected through environment
> > variables, that needs to be allowed.
> >
> > Cheers,
> >
> > Nathalie
> >
> > On Sep 25, 00:05, Cyril Roelandt wrote:
> >> On 09/24/2012 11:59 PM, Samuel Thibault wrote:
> >>> Samuel Thibault, le Mon 24 Sep 2012 23:57:42 +0200, a écrit :
> >>>> Cedric Castagnede, le Mon 24 Sep 2012 17:23:37 +0200, a écrit :
> >>>>> export HWLOC_LIBS="-L/Users/ramet/Work/hwloc/lib -lhwloc"
> >>>>> export HWLOC_CFLAGS="-I/Users/ramet/Work/hwloc/include"
> >>>>>
> >>>>> puis : ./configure --prefix=/Users/ramet/Work/starpu/install
> >>>>> --with-hwloc
> >>>>>
> >>>>> WARNING: hwloc was not enabled. If the target machine is
> >>>>> hyperthreaded the
> >>>>> performance may be impacted a lot. It is strongly recommended to
> >>>>> install
> >>>>> hwloc
> >>>>
> >>>> I don't have such issue, provided that both HWLOC_LIBS and HWLOC_CFLAGS
> >>>> are set. Could you also post config.log?
> >>>
> >>> Just in case, could you also try the latest trunk?
> >>>
> >>
> >>
> >> Ludovic and I started investigating this issue. It happens when
> >> pkg-config is not available on the machine. I think the easiest way
> >> to fix this is to make pkg-config mandatory, since it seems quite
> >> standard nowadays. Or we could make configure.ac look even worse.
> >>
> >>
> >> Cyril.
> >>





Archives gérées par MHonArc 2.6.19+.

Haut de le page