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:36:45 +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>

We wanted to get rid off that stat command. It is time to do it. Before we do
so, please try with the attached patch.

Thanks,

Nathalie

On Sep 25, 15:31, Pierre RAMET wrote:
> It works, and I no longer need to set HWLOC_CFLAGS and HWLOC_LIBS :)
> Now I still have a small problem with the "stat" command during the "Make
> all in doc" :
>
> Making all in doc
> stat: illegal option -- -
> usage: stat [-FlLnqrsx] [-f format] [-t timefmt] [file ...]
> stat: illegal option -- -
> usage: stat [-FlLnqrsx] [-f format] [-t timefmt] [file ...]
> stat: illegal option -- -
> usage: stat [-FlLnqrsx] [-f format] [-t timefmt] [file ...]
> ….
>
> Thanks,
> Pierre.
>
>
> Le 25 sept. 2012 à 15:22, Nathalie Furmento <nathalie.furmento@labri.fr> a
> écrit :
>
> > 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.
> >>>>
>
> -----------------------------------------------------------------------------
> Pierre Ramet LaBRI, INRIA Bordeaux-SO
> Email: ramet@labri.fr Universite Bordeaux 1
> Fax: +33 5 24 57 40 38 351 cours de la Liberation
> Tel: +33 5 24 57 40 39 33405 Talence Cedex, France
> Url: http://www.labri.fr/~ramet
> -----------------------------------------------------------------------------
>

--
----------------------------------------------------------------------------
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
----------------------------------------------------------------------------

Attachment: patch.doc
Description: MS-Word document




Archives gérées par MHonArc 2.6.19+.

Haut de le page